Skip to content

Commit bdfd21a

Browse files
committed
draft for review with toc changes
1 parent 496592f commit bdfd21a

File tree

3 files changed

+44
-60
lines changed

3 files changed

+44
-60
lines changed

articles/virtual-machines/TOC.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@
858858
- name: Windows
859859
displayName: Log Analytics, extension
860860
href: ./extensions/oms-windows.md
861-
- name: Azure Monitor for VMs
861+
- name: VM insights
862862
items:
863863
- name: Linux Dependency agent
864864
displayName: Azure Monitor
@@ -1695,9 +1695,9 @@
16951695
displayName: Monitoring Overview, monitoring
16961696
href: ../azure-monitor/vm/monitor-vm-azure.md?context=%2fazure%2fvirtual-machines%2fcontext%2fcontext
16971697
- name: Monitor virtual machines
1698-
href: monitor-vm.md
1698+
href: monitor-vm.md?context=%2fazure%2fvirtual-machines%2fcontext%2fcontext
16991699
- name: Monitor virtual machine reference
1700-
href: monitor-vm-reference.md
1700+
href: monitor-vm-reference.md?context=%2fazure%2fvirtual-machines%2fcontext%2fcontext
17011701
- name: Tutorials
17021702
items:
17031703
- name: Enable monitoring
@@ -1775,16 +1775,16 @@
17751775
href: ../azure-monitor/visualize/vmext-troubleshoot.md?context=%2fazure%2fvirtual-machines%2fcontext%2fcontext
17761776
- name: Log Analytics Linux agent
17771777
href: ../azure-monitor/agents/agent-linux-troubleshoot.md?context=/azure/virtual-machines/context/context
1778-
- name: Azure Monitor for VMs
1778+
- name: VM insights
17791779
items:
17801780
- name: Overview
1781-
displayName: Azure monitor for VMs
1781+
displayName: VM insights
17821782
href: ../azure-monitor/vm/vminsights-overview.md?context=%2fazure%2fvirtual-machines%2fcontext%2fcontext
17831783
- name: General Availability FAQ
1784-
displayName: Azure monitor for VMs
1784+
displayName: VM insights
17851785
href: ../azure-monitor/vm/vminsights-ga-release-faq.yml?context=%2fazure%2fvirtual-machines%2fcontext%2fcontext
17861786
- name: FAQ
1787-
displayName: Azure monitor for VMs
1787+
displayName: VM insights
17881788
href: ../azure-monitor/faq.yml?context=%2fazure%2fvirtual-machines%2fcontext%2fcontext
17891789
- name: Enable monitoring
17901790
items:

articles/virtual-machines/monitor-vm-reference.md

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ See [Monitoring Azure virtual machines](monitor-vm.md) for details on collecting
1313

1414
## Metrics
1515

16-
This section lists all the automatically collected platform metrics collected for AKS.
16+
This section lists all the automatically collected platform metrics collected for Azure virtual machines.
1717

1818
|Metric Type | Resource Provider / Type Namespace<br/> and link to individual metrics |
1919
|-------|-----|
@@ -25,8 +25,9 @@ This section lists all the automatically collected platform metrics collected fo
2525
| Namespace | Description | Requirement |
2626
|:---|:---|:---|
2727
| Virtual Machine Host | Host metrics automatically collected for all Azure virtual machines. Detailed list of metrics at [Microsoft.Compute/virtualMachines](../azure-monitor/essentials/metrics-supported.md#microsoftcomputevirtualmachines). | Collected automatically with no configuration required. |
28-
| Guest (classic) | Limited set of guest operating system and application performance data. Available in metrics explorer but not other Azure Monitor features such as metric alerts. | [Diagnostic extension](../azure-monitor/agents/diagnostics-extension-overview.md) installed. Data is read from Azure storage. |
2928
| Virtual Machine Guest | Guest operating system and application performance data available to all Azure Monitor features using metrics. | For Windows, [diagnostic extension installed](../azure-monitor/agents/diagnostics-extension-overview.md) installed with Azure Monitor sink enabled. For Linux, [Telegraf agent installed](../azure-monitor/essentials/collect-custom-metrics-linux-telegraf.md). |
29+
| Guest (classic) | Limited set of guest operating system and application performance data. Available in metrics explorer but not other Azure Monitor features such as metric alerts. | [Diagnostic extension](../azure-monitor/agents/diagnostics-extension-overview.md) installed. Data is read from Azure storage. |
30+
3031

3132

3233

@@ -36,22 +37,13 @@ For more information, see a list of [all platform metrics supported in Azure Mon
3637

3738
For more information on what metric dimensions are, see [Multi-dimensional metrics](/azure/azure-monitor/platform/data-platform-metrics#multi-dimensional-metrics).
3839

39-
<!-- listed here /azure/azure-monitor/essentials/metrics-supported#microsoftcontainerservicemanagedclusters-->
4040

41-
AKS has the following dimensions associated with its metrics.
41+
Azure virtual machines have the following dimensions associated with its metrics.
4242

4343
| Dimension Name | Description |
4444
| ------------------- | ----------------- |
4545
| LUN | Logical Unit Number |
46-
| VMName | Used by metrics such as *Statuses for various node conditions*, *Number of pods in Ready state* to split by condition type. |
47-
| status | Used by metrics such as *Statuses for various node conditions* to split by status of the condition. |
48-
| status2 | Used by metrics such as *Statuses for various node conditions* to split by status of the condition. |
49-
| node | Used by metrics such as *CPU Usage Millicores* to split by the name of the node. |
50-
| phase | Used by metrics such as *Number of pods by phase* to split by the phase of the pod. |
51-
| namespace | Used by metrics such as *Number of pods by phase* to split by the namespace of the pod. |
52-
| pod | Used by metrics such as *Number of pods by phase* to split by the name of the pod. |
53-
| nodepool | Used by metrics such as *Disk Used Bytes* to split by the name of the nodepool. |
54-
| device | Used by metrics such as *Disk Used Bytes* to split by the name of the device. |
46+
| VMName | Used with virtual machine scale sets. |
5547

5648
## Azure Monitor Logs tables
5749

@@ -70,26 +62,22 @@ The following table lists a few example operations related to virtual machines t
7062

7163
| Operation | Description |
7264
|:---|:---|
73-
| Microsoft.ContainerService/managedClusters/write | Create or Update Managed Cluster |
74-
| Microsoft.ContainerService/managedClusters/delete | Delete Managed Cluster |
75-
| Microsoft.ContainerService/managedClusters/listClusterMonitoringUserCredential/action | List clusterMonitoringUser credential |
76-
| Microsoft.ContainerService/managedClusters/listClusterAdminCredential/action | List clusterAdmin credential |
77-
| Microsoft.ContainerService/managedClusters/agentpools/write | Create or Update Agent Pool |
65+
| Microsoft.Compute/virtualMachines/start/action | Starts the virtual machine |
66+
| Microsoft.Compute/virtualMachines/restart/action | Delete Managed Cluster |
67+
| Microsoft.Compute/virtualMachines/write | Creates a new virtual machine or updates an existing virtual machine |
68+
| Microsoft.Compute/virtualMachines/deallocate/action | Powers off the virtual machine and releases the compute resources |
69+
| Microsoft.Compute/virtualMachines/extensions/write | Creates a new virtual machine extension or updates an existing one |
70+
| Microsoft.Compute/virtualMachines/start/action | Starts the virtual machine |
71+
| Microsoft.Compute/virtualMachines/restart/action | Delete Managed Cluster |
72+
| Microsoft.Compute/virtualMachineScaleSets/write | Starts the instances of the Virtual Machine Scale Set |
73+
| Microsoft.Compute/virtualMachines/deallocate/action | Powers off the virtual machine and releases the compute resources |
74+
| Microsoft.Compute/virtualMachines/extensions/write | Creates a new virtual machine extension or updates an existing one |
7875

7976
For a complete list of possible log entires, see [Microsoft.ContainerService Resource Provider options](/azure/role-based-access-control/resource-provider-operations#microsoftcontainerservice).
8077

8178
For more information on the schema of Activity Log entries, see [Activity Log schema](/azure/azure-monitor/essentials/activity-log-schema).
8279

83-
## Schemas
84-
<!-- REQUIRED. Please keep heading in this order -->
85-
86-
The following schemas are in use by AKS
87-
88-
resource log schemas
89-
90-
<!-- List the schema and their usage. This can be for resource logs, alerts, event hub formats, etc depending on what you think is important. -->
9180

9281
## See Also
9382

94-
- See [Monitoring Azure AKS](../aks/monitor-aks.md) for a description of monitoring Azure AKS.
95-
- See [Monitoring Azure resources with Azure Monitor](/azure/azure-monitor/insights/monitor-azure-resources) for details on monitoring Azure resources.
83+
- See [Monitoring Azure virtual machines](../virtual-machines/monitor-vm.md) for a description of monitoring Azure virtual machines.

articles/virtual-machines/monitor-vm.md

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 11/15/2021
1212
When you have critical applications and business processes relying on Azure resources, you want to monitor those resources for their availability, performance, and operation. This article describes the monitoring data generated by Azure virtual machines and how you can use the features of [Azure Monitor](/azure/azure-monitor/overview) to analyze and alert on this data.
1313

1414
> [!NOTE]
15-
> This article provides basic information for getting started monitoring an Azure virtual machine. For a complete guide to monitoring your complete environment of Azure and hybrid virtual machines, see [Monitor virtual machines with Azure Monitor](../azure-monitor/vm/monitor-virtual-machine.md).
15+
> This article provides basic information for getting started monitoring an Azure virtual machine. For a complete guide to monitoring your entireenvironment of Azure and hybrid virtual machines, see [Monitor virtual machines with Azure Monitor](../azure-monitor/vm/monitor-virtual-machine.md).
1616
1717
## What is Azure Monitor?
1818
[Azure Monitor](/azure/azure-monitor/overview) is a full stack monitoring service that provides a complete set of features to monitor your Azure resources. You don't need to directly interact with Azure Monitor though to perform a variety of monitoring tasks since its features are integrated into the Azure portal for Azure services that it monitors. If you're interested in a general overview of how Azure Monitor works with Azure resources, see [Monitoring Azure resources with Azure Monitor](../azure-monitor/essentials/monitor-azure-resource.md).
@@ -31,13 +31,6 @@ The [Activity log](../azure-monitor/essentials/activity-log.md) shows you recent
3131

3232
:::image type="content" source="media/monitor-vm/activity-log.png" lightbox="media/monitor-vm/activity-log.png" alt-text="Activity log":::
3333

34-
35-
## Collect guest metrics and logs
36-
Azure Monitor starts collecting metric data for your virtual machine host automatically. To collect metrics from the guest operating system of the virtual machine though, you must install an agent. The Log Analytics agent installed when you enable [VM insights](#vm-insights) sends performance data to Azure Monitor Logs which allows you to create heartbeat alerts. See [Tutorial: Enable monitoring for Azure virtual machine](../azure-monitor/vm/tutorial-monitor-vm-enable.md) for a tutorial on enabling VM insights for a virtual machine.
37-
38-
Install the [Azure Monitor agent](../azure-monitor/agents/azure-monitor-agent-overview.md) to collect guest logs from your virtual machine and to send guest metrics to Azure Monitor Metrics. The simplest method to install and configure the Azure Monitor agent is to create a data collection rule that defines which data to collect and automatically installs the agent on any virtual machines that don't already have it. See [Tutorial: Collect guest logs and metrics from Azure virtual machine](../azure-monitor/vm/tutorial-monitor-vm-guest.md).
39-
40-
4134
## VM insights
4235
Some services in Azure have a customized monitoring experience in Azure Monitor that includes pre-built workbooks and other specialized features for that particular service. These experiences are called *insights*.
4336

@@ -56,6 +49,11 @@ VM insights is designed to monitor your entire set of virtual machines together
5649
5750
See [Enable Azure Monitor for single virtual machine or virtual machine scale set in the Azure portal](../azure-monitor/vm/vminsights-enable-portal.md) for quick steps to configure VM insights and enable monitoring for a virtual machine. See [Enable VM insights overview](../azure-monitor/vm/vminsights-enable-overview.md) for general information on enabling insights and different methods for onboarding virtual machines.
5851

52+
## Collect guest metrics and logs
53+
Azure Monitor starts collecting metric data for your virtual machine host automatically. To collect metrics from the guest operating system of the virtual machine though, you must install an agent. The Log Analytics agent installed when you enable [VM insights](#vm-insights) sends performance data to Azure Monitor Logs which allows you to create heartbeat alerts. See [Tutorial: Enable monitoring for Azure virtual machine](../azure-monitor/vm/tutorial-monitor-vm-enable.md) for a tutorial on enabling VM insights for a virtual machine.
54+
55+
Install the [Azure Monitor agent](../azure-monitor/agents/azure-monitor-agent-overview.md) to collect guest logs from your virtual machine and to send guest metrics to Azure Monitor Metrics. The simplest method to install and configure the Azure Monitor agent is to create a data collection rule that defines which data to collect and automatically installs the agent on any virtual machines that don't already have it. See [Tutorial: Collect guest logs and metrics from Azure virtual machine](../azure-monitor/vm/tutorial-monitor-vm-guest.md).
56+
5957
## Analyze metrics
6058
Metrics are numerical values that describe some aspect of a system at a particular point in time. Platform metrics for the virtual machine host are collected automatically. While the **Overview** page includes the most common metrics, you can access others using metrics explorer. This tool allows you to create charts from metric values and visually correlate trends. You can create also create a metric alert rule or pin a chart to an Azure dashboard.
6159

@@ -64,31 +62,32 @@ Metrics are numerical values that describe some aspect of a system at a particul
6462
See [Monitoring Azure virtual machines data reference](monitor-vm-reference.md#metrics) for a list of the metrics that are available. You must have the [Azure Monitor agent installed](#collect-guest-metrics-and-logs) to view guest metrics from the virtual machine.
6563

6664

67-
## Analyzing logs
68-
Data in Azure Monitor Logs is stored in a Log Analytics workspace where it's separated into tables that each has its own set of unique properties. Analyze log data using [log queries](../azure-monitor/logs/get-started-queries.md) in [Log Analytics](../azure-monitor/logs/log-analytics-tutorial.md).
65+
## Analyze logs
66+
Data in Azure Monitor Logs is stored in a Log Analytics workspace where it's separated into tables that each has its own set of unique properties.
67+
68+
VM insights stores the data it collects in Logs but provides performance and map views that allow you to interactively analyze its data. You can work direct with this data is you want to drill down further or perform custom analysis. See [How to query logs from VM insights](../azure-monitor/vm/vminsights-log-search.md) for details and sample queries for this data.
6969

70-
VM insights includes performance views that allow you to analyze guest performance data collected in Logs. See [How to query logs from VM insights](../azure-monitor/vm/vminsights-log-search.md) for details and sample queries for this data.
70+
To analyze other log data you collect from your virtual machines, use [log queries](../azure-monitor/logs/get-started-queries.md) in [Log Analytics](../azure-monitor/logs/log-analytics-tutorial.md). Several [built-in queries](../azure-monitor/logs/queries.md) for virtual machine are available to use, or you can create your own. You can either interactively work with the results of these queries, include them in a workbook to make them available to other users, or generate alerts based on their results.
7171

72+
:::image type="content" source="media/monitor-vm/log-analytics-query.png" lightbox="media/monitor-vm/log-analytics-query.png" alt-text="Log Analytics query":::
7273

7374
## Alerts
7475
Azure Monitor alerts proactively notify you when important conditions are found in your monitoring data. They allow you to identify and address issues in your system before your customers notice them. You can set alerts on [metrics](/azure/azure-monitor/platform/alerts-metric-overview), [logs](/azure/azure-monitor/platform/alerts-unified-log), and the [activity log](/azure/azure-monitor/platform/activity-log-alerts).
7576

76-
The following table lists common and recommended alert rules for AKS.
77+
The following sections identify common and recommended alert rules for Azure virtual machines. See [Monitor virtual machines with Azure Monitor: Alerts](../azure-monitor/vm/monitor-virtual-machine-alerts.md) for more detail and additional alerting conditions. Also, see [Monitor virtual machines with Azure Monitor: Workloads](../azure-monitor/vm/monitor-virtual-machine-workloads.md) for data you can collect from workloads running on virtual machines that you can leverage for alerting.
7778

7879
### Metric alert rules
79-
The following table lists common metric alerts used for virtual machines. If you're not familiar with creating metric alert rules, see [Tutorial: Create a metric alert in Azure Monitor](../azure-monitor/alerts/tutorial-metric-alert.md).
80+
If you're not familiar with creating metric alert rules, see [Tutorial: Create a metric alert in Azure Monitor](../azure-monitor/alerts/tutorial-metric-alert.md). The following table lists common metric alerts used for virtual machines.
8081

81-
| Type | Rule Name | Condition | Description |
82-
|:---|:---|:---|:---|
83-
| Processor utilization | Host | Percentage CPU |
84-
| Available memory | Guest | Windows | Memory % Committed Bytes in Use |
85-
| | Guest | Linux | mem/available_percent |
86-
| Available disk space | Guest | Windows | \Logical Disk(_Total)% Free Space |
87-
| | Guest | Linux | disk/free_percent |
82+
| Type | Description | Metric |
83+
|:---|:---|:---|
84+
| Host | Processor utilization | Percentage CPU |
85+
| Windows Guest | Available memory | Memory % Committed Bytes in Use |
86+
| Linux Guest | | mem/available_percent |
87+
| Windows Guest | Available disk space | \Logical Disk(_Total)% Free Space |
88+
| Linux Guest | | disk/free_percent |
8889

8990

90-
These alerts are also available as *Recommended alerts (Preview)* in the *Insights* area under *Monitoring* in the Azure portal.
91-
9291
### Log alert rules
9392
If you're not familiar with creating log query alert rules, see [Tutorial: Create a log query alert in Azure Monitor](../azure-monitor/alerts/tutorial-metric-alert.md).
9493

@@ -99,9 +98,6 @@ For common log alert rules, see the **Queries** in Log Analytics for **Resource
9998
- Members added to security groups
10099

101100

102-
103-
104-
105101
## Next steps
106102

107103
- See [Azure virtual machine monitoring data reference](monitor-vm-reference.md) for a reference of the logs and metrics created by Azure virtual machines.

0 commit comments

Comments
 (0)