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
Copy file name to clipboardExpand all lines: articles/virtual-machines/monitor-vm-reference.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ The VM availability metric is currently in public preview. This metric value ind
85
85
- If you have metrics with dimensions, use the following include and list the metrics with dimensions after the include. For an example, see https://learn.microsoft.com/azure/storage/common/monitor-storage-reference#metrics-dimensions. Questions: email [email protected]. -->
> This article provides basic information to help you get started with monitoring Azure Virtual Machines and Virtual Machine Scale Sets. For a complete guide to monitoring your entire environment of Azure and hybrid virtual machines (VMs), see the [Monitor virtual machines deployment guide](/azure/azure-monitor/vm/monitor-virtual-machine).
41
-
> -
39
+
>[!NOTE]
40
+
>This article provides basic information to help you get started with monitoring Azure Virtual Machines and Virtual Machine Scale Sets. For a complete guide to monitoring your entire environment of Azure and hybrid virtual machines (VMs), see the [Monitor virtual machines deployment guide](/azure/azure-monitor/vm/monitor-virtual-machine).
42
41
43
42
<!-- ## Insights. Optional section. If your service has insights, add the following include and information. -->
<!-- ## Custom metrics. Optional. If your service uses custom imported metrics, add the following include and information. -->
87
+
88
+
Azure Monitor starts automatically collecting metric data for your virtual machine host when you create the VM. However, to collect logs and performance data from the guest operating system of the VM, you must install the Azure Monitor agent. You can install the agent and configure collection by using VM insights or by creating a DCR.
To see how to retrieve the CPU usage for a Linux VM by using the Azure REST API, sees [Get Virtual Machine usage metrics using the REST API](linux/metrics-vm-usage-rest.md).
@@ -117,10 +119,6 @@ Add service-specific information about your imported logs here. -->
117
119
<!-- ## Other logs. Optional section.
118
120
If your service has other logs that aren't resource logs or in the activity log, add information that states what they are and what they cover here. You can describe how to route them in a later section. -->
119
121
120
-
## Azure Monitor agent
121
-
122
-
Azure Monitor starts automatically collecting metric data for your virtual machine host when you create the VM. However, to collect logs and performance data from the guest operating system of the VM, you must install the [Azure Monitor agent](/azure/azure-monitor/agents/azure-monitor-agent-overview). You can install the agent and configure collection by using VM insights or by creating a DCR.
123
-
124
122
<!-- LOGS SECTION END ------------------------------------->
Although platform metrics for the VM host are collected automatically, you must install the Azure Monitor agent and create a DCR to collect guest metrics.
137
-
138
-
### Analyze Virtual Machines logs
132
+
### Query logs from VM insights
139
133
140
134
VM insights stores the data it collects in Azure Monitor Logs, and the insights provide performance and map views that you can use to interactively analyze the data. You can work directly with this data to drill down further or perform custom analyses. For more information and to get sample queries for this data, see [How to query logs from VM insights](/azure/azure-monitor/vm/vminsights-log-query).
141
135
@@ -160,8 +154,7 @@ Add short information or links to specific articles that outline how to analyze
You can create a single multi-resource alert rule that applies to all VMs in a particular resource group or subscription within the same region. See [Create availability alert rule for Azure virtual machine (preview)](/azure/azure-monitor/vm/tutorial-monitor-vm-alert-availability.md) for a tutorial using the availability metric.
165
158
166
159
<!-- ONLY if your service (Azure VMs, AKS, or Log Analytics workspaces) offer out-of-the-box recommended alerts, add the following include. -->
@@ -181,8 +174,6 @@ To see common log alert rules in the Azure portal, go to the **Queries** pane in
181
174
182
175
For a list and description of common alert rules for Virtual Machines, see [Common alert rules](/azure/azure-monitor/vm/monitor-virtual-machine-alerts#common-alert-rules).
183
176
184
-
You can create a single multi-resource alert rule that applies to all VMs in a particular resource group or subscription within the same region. See [Create availability alert rule for Azure virtual machine (preview)](/azure/azure-monitor/vm/tutorial-monitor-vm-alert-availability.md) for a tutorial using the availability metric.
0 commit comments