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/azure-monitor/vm/vminsights-enable-overview.md
+50-49Lines changed: 50 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,48 +11,48 @@ ms.custom: references_regions
11
11
12
12
# Enable VM insights overview
13
13
14
-
This article provides an overview of the options available to enable VM insights to monitor health and performance of the following:
14
+
This article provides an overview of the options available to enable VM insights to monitor the health and performance of:
15
15
16
-
- Azure virtual machines
17
-
- Azure virtual machine scale sets
18
-
- Hybrid virtual machines connected with Azure Arc
19
-
- On-premises virtual machines
20
-
- Virtual machines hosted in another cloud environment.
16
+
- Azure virtual machines.
17
+
- Azure virtual machine scale sets.
18
+
- Hybrid virtual machines connected with Azure Arc.
19
+
- On-premises virtual machines.
20
+
- Virtual machines hosted in another cloud environment.
21
21
22
22
## Installation options and supported machines
23
+
23
24
The following table shows the installation methods available for enabling VM insights on supported machines.
24
25
25
26
| Method | Scope |
26
27
|:---|:---|
27
28
|[Azure portal](vminsights-enable-portal.md)| Enable individual machines with the Azure portal. |
28
29
|[Azure Policy](vminsights-enable-policy.md)| Create policy to automatically enable when a supported machine is created. |
29
-
|[Resource Manager templates](../vm/vminsights-enable-resource-manager.md)| Enable multiple machines using any of the supported methods to deploy a Resource Manager template such as CLI and PowerShell. |
30
+
|[Azure Resource Manager templates](../vm/vminsights-enable-resource-manager.md)| Enable multiple machines by using any of the supported methods to deploy a Resource Manager template, such as the Azure CLI and PowerShell. |
30
31
|[PowerShell](vminsights-enable-powershell.md)| Use a PowerShell script to enable multiple machines. Log Analytics agent only. |
31
-
|[Manual install](vminsights-enable-hybrid.md)| Virtual machines or physical computers on-premises other cloud environments. Log Analytics agent only |
32
-
32
+
|[Manual install](vminsights-enable-hybrid.md)| Virtual machines or physical computers on-premises with other cloud environments. Log Analytics agent only. |
33
33
34
34
## Supported Azure Arc machines
35
+
35
36
VM insights is available for Azure Arc-enabled servers in regions where the Arc extension service is available. You must be running version 0.9 or above of the Arc Agent.
36
37
37
38
## Supported operating systems
38
39
39
-
VM insights supports any operating system that supports the Dependency agent and either the Azure Monitor agent (preview) or Log Analytics agent. See [Overview of Azure Monitor agents
40
-
](../agents/agents-overview.md#supported-operating-systems) for a complete list.
40
+
VM insights supports any operating system that supports the Dependency agent and either the Azure Monitor agent (preview) or Log Analytics agent. For a complete list, see [Azure Monitor agent overview](../agents/agents-overview.md#supported-operating-systems).
41
41
42
42
> [!IMPORTANT]
43
-
> If the ethernet device for your virtual machine has more than nine characters, then it won’t be recognized by VM insights and data won’t be sent to the InsightsMetrics table. The agent will collect data from [other sources](../agents/agent-data-sources.md).
44
-
43
+
> If the Ethernet device for your virtual machine has more than nine characters, it won't be recognized by VM insights and data won't be sent to the InsightsMetrics table. The agent will collect data from [other sources](../agents/agent-data-sources.md).
45
44
46
45
### Linux considerations
46
+
47
47
See the following list of considerations on Linux support of the Dependency agent that supports VM insights:
48
48
49
49
- Only default and SMP Linux kernel releases are supported.
50
-
- Nonstandard kernel releases, such as Physical Address Extension (PAE) and Xen, aren't supported for any Linux distribution. For example, a system with the release string of *2.6.16.21-0.8-xen* isn't supported.
50
+
- Nonstandard kernel releases, such as physical address extension (PAE) and Xen, aren't supported for any Linux distribution. For example, a system with the release string of *2.6.16.21-0.8-xen* isn't supported.
51
51
- Custom kernels, including recompilations of standard kernels, aren't supported.
52
-
- For Debian distros other than version 9.4, the map feature isn't supported, and the Performance feature is available only from the Azure Monitor menu. It isn't available directly from the left pane of the Azure VM.
52
+
- For Debian distros other than version 9.4, the Map feature isn't supported. The Performance feature is available only from the Azure Monitor menu. It isn't available directly from the left pane of the Azure VM.
53
53
- CentOSPlus kernel is supported.
54
54
55
-
The Linux kernel must be patched for the Spectre and Meltdown vulnerabilities. Please consult your Linux distribution vendor for more details. Run the following command to check for available if Spectre/Meltdown has been mitigated:
55
+
The Linux kernel must be patched for the Spectre and Meltdown vulnerabilities. For more information, consult your Linux distribution vendor. Run the following command to check for availability if Spectre/Meltdown has been mitigated:
VM insights requires a Log Analytics workspace. See [Configure Log Analytics workspace for VM insights](vminsights-configure-workspace.md) for details and requirements of this workspace.
70
+
71
+
VM insights requires a Log Analytics workspace. For requirements of this workspace, see [Configure Log Analytics workspace for VM insights](vminsights-configure-workspace.md).
72
72
73
73
> [!NOTE]
74
-
> VM Insights does not support sending data to more than one Log Analytics workspace (multi-homing).
75
-
>
74
+
> VM Insights doesn't support sending data to more than one Log Analytics workspace (multi-homing).
75
+
>
76
76
77
77
## Network requirements
78
78
79
-
-See [Network requirements](../agents/log-analytics-agent.md#network-requirements) for the network requirements for the Log Analytics agent.
80
-
- The dependency agent requires a connection from the virtual machine to the address 169.254.169.254. This is the Azure metadata service endpoint. Ensure that firewall settings allow connections to this endpoint.
79
+
-For the network requirements for the Log Analytics agent, see [Network requirements](../agents/log-analytics-agent.md#network-requirements).
80
+
- The Dependency agent requires a connection from the virtual machine to the address 169.254.169.254. This address identifies the Azure metadata service endpoint. Ensure that firewall settings allow connections to this endpoint.
81
81
82
82
## Agents
83
-
When you enable VM insights for a machine, the following agents are installed. See [Network requirements](../agents/log-analytics-agent.md#network-requirements) for the network requirements for these agents.
83
+
84
+
When you enable VM insights for a machine, the following agents are installed. For the network requirements for these agents, see [Network requirements](../agents/log-analytics-agent.md#network-requirements).
84
85
85
86
> [!IMPORTANT]
86
-
> VM insights support for Azure Monitor agent is currently in public preview. Azure Monitor agent includes several advantages over Log Analytics agent, and is the preferred agent for virtual machines and virtual machine scale sets. See [Migrate to Azure Monitor agent from Log Analytics agent](../agents/azure-monitor-agent-migration.md) for comparison of the agent and information on migrating.
87
+
> VM insights support for Azure Monitor agent is currently in public preview. The Azure Monitor agent includes several advantages over the Log Analytics agent. It's the preferred agent for virtual machines and virtual machine scale sets. For a comparison of the agent and information on migrating, see [Migrate to Azure Monitor agent from Log Analytics agent](../agents/azure-monitor-agent-migration.md).
87
88
88
-
-[Azure Monitor agent](../agents/azure-monitor-agent-overview.md)or[Log Analytics agent](../agents/log-analytics-agent.md). Collects data from the virtual machine or virtual machine scale set and delivers it to the Log Analytics workspace.
89
-
- Dependency agent. Collects discovered data about processes running on the virtual machine and external process dependencies, which are used by the [Map feature in VM insights](../vm/vminsights-maps.md). The Dependency agent relies on the Azure Monitor agent or Log Analytics agent to deliver its data to Azure Monitor.
89
+
-[Azure Monitor agent](../agents/azure-monitor-agent-overview.md)**or**[Log Analytics agent](../agents/log-analytics-agent.md)**:** Collects data from the virtual machine or virtual machine scale set and delivers it to the Log Analytics workspace.
90
+
-**Dependency agent**: Collects discovered data about processes running on the virtual machine and external process dependencies, which are used by the [Map feature in VM insights](../vm/vminsights-maps.md). The Dependency agent relies on the Azure Monitor agent or Log Analytics agent to deliver its data to Azure Monitor.
90
91
91
92
## Changes for Azure Monitor agent
92
-
There are several changes in the process for enabling VM insights when using the Azure Monitor agent.
93
-
94
-
**Workspace configuration.** You no longer need to [enable VM insights on the Log Analytics workspace](vminsights-configure-workspace.md) since the VMinsights management pack isn't used by Azure Monitor agent.
95
93
96
-
**Data collection rule.** Azure Monitor agent uses [data collection rules](../essentials/data-collection-rule-overview.md) to configure its data collection. VM insights creates a data collection rule that is automtically deployed if you enable your machine using the Azure portal. If you use other methods to onboard your machines, then you may need to install the data collection rule first.
97
-
98
-
**Agent deployment.** There are minor changes to the the process for onboarding virtual machines and virtual machine scale sets to VM insights in the Azure portal. You must now select which agent you want to use, and you must select a data collection rule for Azure Monitor agent. See [Enable VM insights in the Azure portal](vminsights-enable-portal.md) for details.
94
+
There are several changes in the process for enabling VM insights when you use the Azure Monitor agent:
99
95
96
+
-**Workspace configuration:** You no longer need to [enable VM insights on the Log Analytics workspace](vminsights-configure-workspace.md) because the VM insights management pack isn't used by Azure Monitor agent.
97
+
-**Data collection rule:** Azure Monitor agent uses [data collection rules](../essentials/data-collection-rule-overview.md) to configure its data collection. VM insights creates a data collection rule that is automtically deployed if you enable your machine using the Azure portal. If you use other methods to onboard your machines, you might need to install the data collection rule first.
98
+
-**Agent deployment:** There are minor changes to the process for onboarding virtual machines and virtual machine scale sets to VM insights in the Azure portal. You must now select which agent you want to use, and you must select a data collection rule for Azure Monitor agent. For more information, see [Enable VM insights in the Azure portal](vminsights-enable-portal.md).
100
99
101
100
## Data collection rule (Azure Monitor agent)
102
-
When you enable VM insights on a machine with the Azure Monitor agent you must specify a [data collection rule (DCR)](../essentials/data-collection-rule-overview.md) to use. The DCR specifies the data to collect and the workspace to use. VM insights creates a default DCR if one doesn't already exist. See [Enable VM insights for Azure Monitor agent
103
-
](vminsights-enable-portal.md#enable-vm-insights-for-azure-monitor-agent) for more information on creating and editing the VM insights data collection rule.
101
+
102
+
When you enable VM insights on a machine with the Azure Monitor agent, you must specify a [data collection rule (DCR)](../essentials/data-collection-rule-overview.md) to use. The DCR specifies the data to collect and the workspace to use. VM insights creates a default DCR if one doesn't already exist. For more information on how to create and edit the VM insights DCR, see [Enable VM insights for Azure Monitor agent
> It's not recommended to create your own DCR to support VM insights. The DCR created by VM insights includes a special data stream required for its operation. While you can edit this DCR to collect additional data such as Windows and Syslog events, you should create additional DCRs and associate with the machine.
106
+
> Don't create your own DCR to support VM insights. The DCR created by VM insights includes a special data stream required for its operation. You can edit this DCR to collect more data, such as Windows and Syslog events, but you should create more DCRs and associate them with the machine.
107
107
108
-
The DCR is defined by the options in the following table.
108
+
The DCR is defined by the options in the following table.
109
109
110
110
| Option | Description |
111
111
|:---|:---|
112
-
| Guest performance | Specifies whether to collect performance data from the guest operating system. This is required for all machines. |
113
-
| Processes and dependencies |Collected details about processes running on the virtual machine and dependencies between machines. This enables the [map feature in VM insights](vminsights-maps.md). This is optional and enables the [VM insights map feature](vminsights-maps.md) for the machine. |
114
-
| Log Analytics workspace | Workspace to store the data. Only workspaces with VM insights will be listed. |
112
+
| Guest performance | Specifies whether to collect performance data from the guest operating system. This option is required for all machines. |
113
+
| Processes and dependencies |Collects information about processes running on the virtual machine and dependencies between machines. This information enables the [Map feature in VM insights](vminsights-maps.md). This is optional and enables the [VM insights Map feature](vminsights-maps.md) for the machine. |
114
+
| Log Analytics workspace | Workspace to store the data. Only workspaces with VM insights are listed. |
115
115
116
116
## Management packs (Log Analytics agent)
117
-
When a Log Analytics workspace is configured for VM insights, two management packs are forwarded to all the Windows computers connected to that workspace. The management packs are named *Microsoft.IntelligencePacks.ApplicationDependencyMonitor* and *Microsoft.IntelligencePacks.VMInsights* and are written to *%Programfiles%\Microsoft Monitoring Agent\Agent\Health Service State\Management Packs*.
117
+
118
+
When a Log Analytics workspace is configured for VM insights, two management packs are forwarded to all the Windows computers connected to that workspace. The management packs are named *Microsoft.IntelligencePacks.ApplicationDependencyMonitor* and *Microsoft.IntelligencePacks.VMInsights*. They're written to *%Programfiles%\Microsoft Monitoring Agent\Agent\Health Service State\Management Packs*.
118
119
119
120
The data source used by the *ApplicationDependencyMonitor* management pack is **%Program files%\Microsoft Monitoring Agent\Agent\Health Service State\Resources\<AutoGeneratedID>\Microsoft.EnterpriseManagement.Advisor.ApplicationDependencyMonitorDataSource.dll*. The data source used by the *VMInsights* management pack is *%Program files%\Microsoft Monitoring Agent\Agent\Health Service State\Resources\<AutoGeneratedID>\ Microsoft.VirtualMachineMonitoringModule.dll*.
120
121
121
122
## Migrate from Log Analytics agent
122
-
The Azure Monitor agent and the Log Analytics agent can both be installed on the same machine during migration. You should be careful that running both agents may lead to duplication of data and increased cost. If a machine has both agents installed, you'll have a warning in the Azure portal that you may be collecting duplicate data.
123
+
124
+
The Azure Monitor agent and the Log Analytics agent can both be installed on the same machine during migration. Running both agents might lead to duplication of data and increased cost. If a machine has both agents installed, you'll see a warning in the Azure portal that you might be collecting duplicate data.
123
125
124
126
> [!WARNING]
125
127
> Collecting duplicate data from a single machine with both the Azure Monitor agent and Log Analytics agent can result in the following consequences:
126
128
>
127
-
> -Additional ingestion cost from sending duplicate data to the Log Analytics workspace.
128
-
> - The map feature of VM insights may be inaccurate since it does not check for duplicate data.
129
+
> -Extra ingestion cost from sending duplicate data to the Log Analytics workspace.
130
+
> - The Map feature of VM insights might be inaccurate because it doesn't check for duplicate data.
:::image type="content" source="media/vminsights-enable-portal/both-agents-installed.png" lightbox="media/vminsights-enable-portal/both-agents-installed.png" alt-text="Screenshot that shows both agents installed.":::
131
133
132
-
You must remove the Log Analytics agent yourself from any machines that are using it. Before you do this, ensure that the machine is not relying any other solutions that require the Log Analytics agent. See [Migrate to Azure Monitor agent from Log Analytics agent](../agents/azure-monitor-agent-migration.md) for details.
134
+
You must remove the Log Analytics agent yourself from any machines that are using it. Before you do this step, ensure that the machine isn't relying on any other solutions that require the Log Analytics agent. For more information, see [Migrate to Azure Monitor agent from Log Analytics agent](../agents/azure-monitor-agent-migration.md).
133
135
134
-
After you verify that no Log Analytics agents are still connected to your Log Analytics workspace, you can [remove the VMInsights solution from the workspace](vminsights-configure-workspace.md#remove-vminsights-solution-from-workspace) which is no longer needed.
136
+
After you verify that no Log Analytics agents are still connected to your Log Analytics workspace, you can [remove the VMInsights solution from the workspace](vminsights-configure-workspace.md#remove-vminsights-solution-from-workspace), which is no longer needed.
135
137
136
138
> [!NOTE]
137
-
> To check if you have any machines with both agents sending data to your Log Analytics workspace, run the following [log query](../logs/log-query-overview.md) in [Log Analytics](../logs/log-analytics-overview.md). This will show the last heartbeat for each computer. If a computer has both agents, then it will return two records each with a different `category`. The Azure Monitor agent will have a `category` of *Azure Monitor Agent*. The Log Analytics agent will have a `category` of *Direct Agent*.
139
+
> To check if you have any machines with both agents sending data to your Log Analytics workspace, run the following [log query](../logs/log-query-overview.md) in [Log Analytics](../logs/log-analytics-overview.md). This query will show the last heartbeat for each computer. If a computer has both agents, it will return two records each with a different `category`. The Azure Monitor agent will have a `category` of *Azure Monitor Agent*. The Log Analytics agent will have a `category` of *Direct Agent*.
138
140
>
139
141
> ```KQL
140
142
> Heartbeat
141
143
> | summarize max(TimeGenerated) by Computer, Category
142
144
> | sort by Computer
143
145
> ```
144
146
145
-
146
147
## Diagnostic and usage data
147
148
148
-
Microsoft automatically collects usage and performance data through your use of the Azure Monitor service. Microsoft uses this data to improve the quality, security, and integrity of the service.
149
+
Microsoft automatically collects usage and performance data through your use of Azure Monitor. Microsoft uses this data to improve the quality, security, and integrity of the service.
149
150
150
151
To provide accurate and efficient troubleshooting capabilities, the Map feature includes data about the configuration of your software. The data provides information such as the operating system and version, IP address, DNS name, and workstation name. Microsoft doesn't collect names, addresses, or other contact information.
0 commit comments