Disable monitoring in VM insights - Azure Monitor (2024)

  • Article

After you enable monitoring of your virtual machines (VMs), you can later choose to disable monitoring in VM insights. This article shows how to disable monitoring for one or more VMs.

Currently, VM insights doesn't support selective disabling of VM monitoring. Your Log Analytics workspace might support VM insights and other solutions. It might also collect other monitoring data. If your Log Analytics workspace provides these services, you need to understand the effect and methods of disabling monitoring before you start.

VM insights relies on the following components to deliver its experience:

  • A Log Analytics workspace, which stores monitoring data from VMs and other sources.
  • A collection of performance counters configured in the workspace. The collection updates the monitoring configuration on all VMs connected to the workspace.
  • The VMInsights monitoring solution is configured in the workspace. This solution updates the monitoring configuration on all VMs connected to the workspace.
  • Azure VM extensions MicrosoftMonitoringAgent (for Windows) or OmsAgentForLinux (for Linux) and DependencyAgent. These extensions collect and send data to the workspace.

As you prepare to disable monitoring of your VMs, keep these considerations in mind:

  • If you evaluated with a single VM and used the preselected default Log Analytics workspace, you can disable monitoring by uninstalling the Dependency agent from the VM and disconnecting the Log Analytics agent from this workspace. This approach is appropriate if you intend to use the VM for other purposes and decide later to reconnect it to a different workspace.
  • If you selected a preexisting Log Analytics workspace that supports other monitoring solutions and data collection from other sources, you can remove solution components from the workspace without interrupting or affecting your workspace.

Note

After you remove the solution components from your workspace, you might continue to see performance and map data for your Azure VMs. Data eventually stops appearing in the Performance and Map views. The Enable option is available from the selected Azure VM so that you can reenable monitoring in the future.

Remove VM insights completely

If you still need the Log Analytics workspace, you can remove the VMInsights solution from the workspace.

  1. Sign in to the Azure portal.
  2. In the Azure portal, select All services. In the list of resources, enter Log Analytics. As you begin typing, the list filters suggestions based on your input. Select Log Analytics.
  3. In your list of Log Analytics workspaces, select the workspace you chose when you enabled VM insights.
  4. On the left, select Legacy solutions.
  5. In the list of solutions, select VMInsights(workspace name). On the Overview page for the solution, select Delete. When you're prompted to confirm, select Yes.

Disable monitoring and keep the workspace

If your Log Analytics workspace still needs to support monitoring from other sources, you can disable monitoring on the VM that you used to evaluate VM insights. For Azure VMs, you remove the dependency agent VM extension and the Log Analytics agent VM extension for Windows or Linux directly from the VM.

Note

Don't remove the Log Analytics agent if:

  • Azure Automation manages the VM to orchestrate processes or to manage configuration or updates.
  • Microsoft Defender for Cloud manages the VM for security and threat detection.

If you do remove the Log Analytics agent, you'll prevent those services and solutions from proactively managing your VM.

  1. Sign in to the Azure portal.
  2. In the Azure portal, select Virtual Machines.
  3. From the list, select a VM.
  4. On the left, select Extensions. On the Extensions page, select DependencyAgent.
  5. On the extension properties page, select Uninstall.
  6. On the Extensions page, select MicrosoftMonitoringAgent. On the extension properties page, select Uninstall.
Disable monitoring in VM insights - Azure Monitor (2024)

FAQs

How do I turn off monitoring in Azure VM? ›

Disable monitoring and keep the workspace
  1. Sign in to the Azure portal.
  2. In the Azure portal, select Virtual Machines.
  3. From the list, select a VM.
  4. On the left, select Extensions. ...
  5. On the extension properties page, select Uninstall.
  6. On the Extensions page, select MicrosoftMonitoringAgent.
Sep 28, 2023

How do I turn off Azure container insights? ›

Use the az aks disable-addons CLI command to disable Container insights on a cluster. The command removes the agent from the cluster nodes. It doesn't remove the data already collected and stored in the Log Analytics workspace for your cluster.

How do I remove monitoring agent from Azure? ›

In Programs and Features, select Microsoft Monitoring Agent > Uninstall > Yes.

What does Azure Monitor VM Insights provide? ›

It also monitors the performance of your virtual machines and virtual machine scale sets by collecting data on their running processes and dependencies on other resources. VM insights supports Windows and Linux operating systems on: Azure virtual machines. Azure virtual machine scale sets.

How do I disable application insights monitoring? ›

To disable it within Visual Studio, you may want to use the actual Visual Studio settings to disable it. To disable it go to “TOOLS –> Options –> Projects and Solutions –> Web Projects” and check “Disable local Application Insights for Asp.Net Core web projects.” Below is the image for disabling local App Insights.

How do I turn off Azure monitor alerts? ›

Select Monitoring, then Alerts in the left-hand pane of the Resource group window. Select Alert rules in the Alerts window. Consider the following options: To disable an alert: Make sure the Status is set to Enabled, select the alert, and then click Disable.

How do I delete Azure application insights data? ›

The only way to do that is to delete the entire Application Insights service configuration through the portal. And currently Application Insights has 7 days retention policy, so all data will be deleted automatically in 7 days.

What is the difference between Azure monitor and Prometheus? ›

With its seamless integration with Azure services, Azure Monitoring provides a unified monitoring experience across the Azure network. Prometheus is flexible but requires more manual configuration due to its extensive range of system integrations and support for multi-cloud scenarios.

How do I remove Azure log analytics? ›

From the Log Analytics workspace menu, select Tables. Search for the tables you want to delete by name, or by selecting Search results in the Type field. Select the table you want to delete, select the ellipsis ( ... ) to the right of the table, select Delete, and confirm the deletion by typing yes.

How do I disable Microsoft monitoring agent? ›

Sign in to a managed computer with an account that is a member of the administrators security group for the computer. In Control Panel, select Uninstall a program. In Programs and Features, select Microsoft Monitoring Agent, select Remove, and then select Yes.

How do I remove an agent from my VM? ›

Procedure
  1. From the left menu, select Environment > Applications. ...
  2. From the Manage Telegraf Agents page, select the VMs that are managed by the vCenter Server cloud account on which you want to uninstall the agent.
  3. From the Manage Telegraf Agents page, click the horizontal ellipsis, and then click Uninstall.
Sep 29, 2023

How do I uninstall advanced monitoring agent? ›

Manually Uninstall the Agent
  1. Log in to the computer.
  2. Go to Add/Remove Programs.
  3. Select Advanced Monitoring Agent.
  4. Uninstall to remove the Agent and all associated programs.

What is the difference between Azure Monitor and Azure Insights? ›

Pricing and Licensing: Azure Monitor is billed based on the volume of monitoring data ingested and stored, while Azure Application Insights offers different pricing options based on the number of data points collected per month.

How do I enable Azure Monitor insights? ›

From the Monitor menu in the Azure portal, select Virtual Machines > Overview > Monitored. Select Configure using Azure Monitor agent next to any machine that you want to enable. If a machine is currently running, you must start it to enable it.

How do I enable Azure VM insights? ›

To enable VM Insights on a machine with Azure Monitor Agent, associate a VM insights data collection rule (DCR) with the agent. VM Insights creates a default data collection rule if one doesn't already exist. Specifies whether to collect performance data from the guest operating system.

How do you turn off VMM? ›

You now made connection with the VMM server and you are ready to stop the virtual machine. Enter 'Stop-VM –VM <ComputerName> | out-null' to stop the virtual machine. That's all there is to stop your virtual machines.

How do I disable Hyper V VM monitor? ›

Disable Hyper-V in Control Panel
  1. In Control Panel, select Programs and Features.
  2. Select Turn Windows features on or off.
  3. Expand Hyper-V, expand Hyper-V Platform, and then clear the Hyper-V Hypervisor check box.
Dec 26, 2023

How do I enable monitoring for Azure virtual machine? ›

From the Monitor menu in the Azure portal, select Virtual Machines > Overview > Monitored. Select Configure using Azure Monitor agent next to any machine that you want to enable. If a machine is currently running, you must start it to enable it.

Top Articles
Latest Posts
Article information

Author: Saturnina Altenwerth DVM

Last Updated:

Views: 6295

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Saturnina Altenwerth DVM

Birthday: 1992-08-21

Address: Apt. 237 662 Haag Mills, East Verenaport, MO 57071-5493

Phone: +331850833384

Job: District Real-Estate Architect

Hobby: Skateboarding, Taxidermy, Air sports, Painting, Knife making, Letterboxing, Inline skating

Introduction: My name is Saturnina Altenwerth DVM, I am a witty, perfect, combative, beautiful, determined, fancy, determined person who loves writing and wants to share my knowledge and understanding with you.