Edit

Share via


Disable monitoring of virtual machines in Azure Monitor

This article describes how to disable monitoring for a virtual machine in Azure Monitor. This may be to remove monitoring entirely or to disable collection of certain data.

Remove DCR associations

As described in Enable VM monitoring in Azure Monitor, data collection is enabled by an association between the VM and a data collection rule (DCR). You can stop data collection from one or more DCRs by removing their association with the VM. While multiple machines can use a common DCR, each has a separate DCR association.

See View and modify associations for a DCR in the Azure portal for details on how to remove a DCR association with the Azure portal. Use the preview DCR experience to list the DCR associations for the VM and remove the association for any DCRs that you want to disable for the VM.

Remove agents

Only remove the Azure Monitor agent if you're no longer using it for any other monitoring purposes. Removing the agent completely disables all monitoring of the client operating system and workloads. Remove the Dependency agent from the VM if you're no longer using the deprecated Map feature.

Remove VM insights solution

VM insights using the Log Analytics agent (deprecated) required a solution added to the Log Analytics workspace. This solution is no longer required for Azure Monitor agent. Remove this solution if you no longer use the deprecated agent. If you never used the Log Analytics agent, this solution won't exist in your workspace.

  1. From your Log Analytics workspace in the Azure portal, select Legacy solutions from the left menu.
  2. In the list of solutions, select VMInsights(workspace name). On the Overview page for the solution, select Delete.

Solution engineer on weekly call asking for assistance with large power customer going all in on Azure, including monitoring. Follow up call to initiate relationship and discussed potential opportunities.