You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Enable monitoring with VM insights for Azure virtual machine
2
+
title: Enable monitoring with VM insights for an Azure virtual machine
3
3
description: Enable monitoring with VM insights in Azure Monitor to monitor an Azure virtual machine.
4
4
ms.service: azure-monitor
5
5
ms.topic: article
@@ -8,65 +8,55 @@ ms.date: 12/03/2022
8
8
ms.reviewer: Xema Pathak
9
9
---
10
10
11
-
# Tutorial: Enable monitoring with VM insights for Azure virtual machine
12
-
VM insights is a feature of Azure Monitor that quickly gets you started monitoring your virtual machines. You can view trends of performance data, running processes on individual machines, and dependencies between machines. VM insights installs the [Azure Monitor agent](../agents/azure-monitor-agent-overview.md) which is required to collect the guest operating system and prepares you to configure additional monitoring from your VMs according to your particular requirements.
11
+
# Tutorial: Enable monitoring with VM insights for an Azure virtual machine
12
+
VM insights is a feature of Azure Monitor that quickly gets you started monitoring your virtual machines. You can view trends of performance data, running processes on individual machines, and dependencies between machines. VM insights installs [Azure Monitor Agent](../agents/azure-monitor-agent-overview.md). It's required to collect the guest operating system and prepares you to configure more monitoring from your VMs according to your requirements.
13
13
14
14
In this tutorial, you learn how to:
15
15
16
16
> [!div class="checklist"]
17
-
> * Enable VM insights for a virtual machine which installs the Azure Monitor agent and begins data collection.
17
+
> * Enable VM insights for a virtual machine, which installs Azure Monitor Agent and begins data collection.
18
18
> * Enable optional collection of detailed process and telemetry to enable the Map feature of VM insights.
19
-
> * Inspect graphs analyzing performance data collected from the virtual machine.
20
-
> * Inspect map showing processes running on the virtual machine and dependencies with other systems.
21
-
19
+
> * Inspect graphs analyzing performance data collected from the virtual machine.
20
+
> * Inspect a map showing processes running on the virtual machine and dependencies with other systems.
22
21
23
22
## Prerequisites
24
-
To complete this tutorial, you need the following:
25
-
26
-
- An Azure virtual machine to monitor.
23
+
To complete this tutorial, you need an Azure virtual machine to monitor.
27
24
28
25
> [!NOTE]
29
-
> If you selected the option to **Enable virtual machine insights** when you created your virtual machine, then VM insights will already be enabled. If the machine was previously enabled for VM insights using Log Analytics agent, see [Enable VM insights in the Azure portal](vminsights-enable-portal.md) for upgrading to Azure Monitor agent.
30
-
31
-
26
+
> If you selected the option to **Enable virtual machine insights** when you created your virtual machine, VM insights is already enabled. If the machine was previously enabled for VM insights by using the Log Analytics agent, see [Enable VM insights in the Azure portal](vminsights-enable-portal.md) for upgrading to Azure Monitor Agent.
32
27
33
28
## Enable VM insights
34
-
Select **Insights** from your virtual machine's menu in the Azure portal. If VM insights hasn't been enabled, you should see a short description of it and an option to enable it. Click **Enable** to open the **Monitoring configuration** pane. Leave the default option of **Azure Monitor agent**.
35
-
36
-
In order to reduce cost for data collection, VM insights creates a default [data collection rule](../essentials/data-collection-rule-overview.md) that doesn't include collection of processes and dependencies. To enable this collection, click **Create new** to create a new data collection rule.
29
+
Select **Insights** from your virtual machine's menu in the Azure portal. If VM insights isn't enabled, you see a short description of it and an option to enable it. Select **Enable** to open the **Monitoring configuration** pane. Leave the default option of **Azure Monitor agent**.
37
30
38
-
:::image type="content" source="media/tutorial-monitor-vm/enable-vminsights.png" lightbox="media/tutorial-monitor-vm/enable-vminsights.png" alt-text="Screenshot for enabling VM insights with workspace":::
31
+
To reduce cost for data collection, VM insights creates a default [data collection rule](../essentials/data-collection-rule-overview.md) that doesn't include collection of processes and dependencies. To enable this collection, select **Create New** to create a new data collection rule.
39
32
40
-
Provide a **Data collection rule name** and then select **Enable processes and dependencies (Map)**. You can't disable collection of guest performance since this is required for VM insights.
33
+
:::image type="content" source="media/tutorial-monitor-vm/enable-vminsights.png" lightbox="media/tutorial-monitor-vm/enable-vminsights.png" alt-text="Screenshot that shows enabling VM insights with workspace.":::
41
34
42
-
Keep the default Log Analytics workspace for the subscription unless you have another workspace that you want to use. Click **Create** to create the new data collection rule. and then **Configure** to start VM insights configuration.
35
+
Provide a **Data collection rule name** and then select **Enable processes and dependencies (Map)**. You can't disable collection of guest performance because it's required for VM insights.
43
36
44
-
:::image type="content" source="media/tutorial-monitor-vm/enable-vminsights-create-new-rule.png" lightbox="media/tutorial-monitor-vm/enable-vminsights-create-new-rule.png" alt-text="Screenshot for configuring new data collection rule":::
45
-
46
-
47
-
You'll see a message saying that monitoring is being enabled. It may take several minutes for the agent to be installed and for data collection to begin.
37
+
Keep the default Log Analytics workspace for the subscription unless you have another workspace that you want to use. Select **Create** to create the new data collection rule. Select **Configure** to start VM insights configuration.
48
38
39
+
:::image type="content" source="media/tutorial-monitor-vm/enable-vminsights-create-new-rule.png" lightbox="media/tutorial-monitor-vm/enable-vminsights-create-new-rule.png" alt-text="Screenshot that shows configuring a new data collection rule.":::
49
40
41
+
A message says that monitoring is being enabled. It might take several minutes for the agent to be installed and for data collection to begin.
50
42
51
43
## View performance
52
-
When the deployment is complete, you'll see views in the **Performance** tab in VM insights with performance data for the machine. This shows you the values of key guest metrics over time.
44
+
When the deployment is finished, you see views on the **Performance** tab in VM insights with performance data for the machine. This data shows you the values of key guest metrics over time.
:::image type="content" source="media/tutorial-monitor-vm/performance.png" lightbox="media/tutorial-monitor-vm/performance.png" alt-text="Screenshot that shows the VM insights Performance view.":::
55
47
56
48
## View processes and dependencies
57
-
Select the **Maps** tab to view processes and dependencies for the virtual machine. The current machine is at the center of the view. View the processes running on it by expanding **Processes**.
58
-
59
-
:::image type="content" source="media/tutorial-monitor-vm/map-processes.png" lightbox="media/tutorial-monitor-vm/map-processes.png" alt-text="VM insights map view with processes":::
49
+
Select the **Map** tab to view processes and dependencies for the virtual machine. The current machine is at the center of the view. View the processes running on it by expanding **Processes**.
60
50
51
+
:::image type="content" source="media/tutorial-monitor-vm/map-processes.png" lightbox="media/tutorial-monitor-vm/map-processes.png" alt-text="Screenshot that shows the VM insights Map view with processes.":::
61
52
62
53
## View machine details
63
-
The **Maps** view provides different tabs with information collected about the virtual machine. Click through the tabs to see what's available.
54
+
The **Map** view provides different tabs with information collected about the virtual machine. Select the tabs to see what's available.
:::image type="content" source="media/tutorial-monitor-vm/map-details.png" lightbox="media/tutorial-monitor-vm/map-details.png" alt-text="Screenshot that shows the VM insights Map view with machine details.":::
66
57
67
58
## Next steps
68
-
VM insights collects performance data from the VM guest operating system, but it doesn't collect log data such as Windows event log or syslog. Now that you have the machine monitored with the Azure Monitor agent, you can create an additional data collection rule to perform this collection.
59
+
VM insights collects performance data from the VM guest operating system, but it doesn't collect log data such as Windows event log or Syslog. Now that you have the machine monitored with Azure Monitor Agent, you can create another data collection rule to perform this collection.
69
60
70
61
> [!div class="nextstepaction"]
71
62
> [Collect guest logs and metrics from Azure virtual machine](tutorial-monitor-vm-guest.md)
0 commit comments