Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- From your Log Analytics workspace in the Azure portal, select Legacy solutions from the left menu.
- In the list of solutions, select VMInsights(workspace name). On the Overview page for the solution, select Delete.
Related content
- Enable VM monitoring in Azure Monitor - Re-enable monitoring when needed
- Monitor virtual machines in Azure - Overview of VM monitoring capabilities
- Data collection rules in Azure Monitor - Understand data collection rules and associations
- Azure Monitor Agent overview - Learn about the Azure Monitor agent
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.