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/platform/agents-overview.md
+68-50Lines changed: 68 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,91 +7,109 @@ ms.subservice:
7
7
ms.topic: conceptual
8
8
author: bwren
9
9
ms.author: bwren
10
-
ms.date: 11/15/2019
10
+
ms.date: 02/14/2020
11
11
---
12
12
13
13
14
-
# Overview of the Azure Monitor agents
15
-
Compute resources such as virtual machines generate data to monitor their performance and availability just like [other cloud resources](../insights/monitor-azure-resource.md). Compute resources though also have a guest operating system and workloads that need to be monitored. Collecting this monitoring data from inside the resource requires an agent. This article describes the agents used by Azure Monitor and helps you determine which you need to meet the requirements for your particular environment.
16
-
17
-
## Summary of agents
14
+
# Overview of Azure Monitor agents
15
+
Virtual machines and other compute resources require an agent to collect monitoring data to measure the performance and availability of their guest operating system and workloads. This article describes the agents used by Azure Monitor and helps you determine which you need to meet the requirements for your particular environment.
18
16
19
17
> [!NOTE]
20
-
> Azure Monitor currently has multiple agents because of recent consolidation of Azure Monitor and Log Analytics. Both agents share some capabilities while other features are unique to a particular agent. Depending on your requirements, you may need one of the agents or both.
18
+
> Azure Monitor currently has multiple agents because of recent consolidation of Azure Monitor and Log Analytics. While there may be overlap in their features, each has unique capabilities. Depending on your requirements, you may need one or more of the agents on your virtual machines.
21
19
22
-
Azure Monitor has three agents that each provide specific functionality. Depending on your requirements, you may install a single agent or multiple on your virtual machines and other compute resources.
20
+
You may have a specific set of requirements that can't be completely met with a single agent for a particular virtual machine. For example, you may want to use metric alerts which requires Azure diagnostics extension but also want to leverage the functionality of Azure Monitor for VMs which requires the Log Analytics agent and the Dependency agent. In cases such as this, you can use multiple agents, and this is a common scenario for customers who require functionality from each.
The following tables provide a quick comparison of the Azure Monitor agents for Windows and Linux. Further detail on each is provided in the section below.
27
24
28
-
The following table provides a quick comparison of the different agents. See the rest of this article for details on each.
| Data collected | Syslog<br>Performance | Performance | Syslog<br>Performance| Process details and dependencies<br>Network connection metrics |
42
+
| Data sent to | Azure Storage<br>Event Hub | Azure Monitor Metrics | Azure Monitor Logs | Azure Monitor Logs |
43
+
44
+
## Log Analytics agent
45
+
The [Log Analytics agent](log-analytics-agent.md) collects monitoring data from the guest operating system and workloads of virtual machines in Azure, other cloud providers, and on-premises. It collects data into a Log Analytics workspace. The Log Analytics agent is the same agent used by System Center Operations Manager, and you can multihome agent computers to communicate with your management group and Azure Monitor simultaneously. This agent is also required by certain insights and solutions in Azure Monitor.
39
46
40
-
## Azure Diagnostic extension
41
-
The [Azure Diagnostics extension](../../azure-monitor/platform/diagnostics-extension-overview.md) collects monitoring data from the guest operating system and workloads of Azure compute resources. It primarily collects data into Azure Storage. You can configure Azure Monitor to copy the data from storage to a Log Analytics workspace. You can also collect guest performance data into Azure Monitor Metrics.
42
47
43
-
Azure Diagnostic Extension is often referred to as the Windows Azure Diagnostic (WAD) or Linux Azure Diagnostic (LAD) extension.
48
+
> [!NOTE]
49
+
> The Log Analytics agent for Windows is often referred to as Microsoft Management Agent (MMA). The Log Analytics agent for Linux is often referred to as OMS agent.
44
50
45
51
46
-
### Scenarios supported
47
52
48
-
Scenarios supported by the Azure Diagnostics extension include the following:
53
+
Use the Log Analytics agent if you need to:
49
54
50
-
* Collect logs and performance data from Azure compute resources.
51
-
* Archive logs and performance data from the guest operating system to Azure storage.
52
-
* View monitoring data in storage using a tool such as [Azure Storage Explorer](../../vs-azure-tools-storage-manage-with-storage-explorer.md).
53
-
* Collect performance data in a metrics database to take advantage of features supported by [Azure Monitor Metrics](data-platform-metrics.md) such as near real-time [metric alerts](../../azure-monitor/platform/alerts-metric-overview.md) and [autoscale](autoscale-overview.md).
54
-
* Collect monitoring data from [storage to a Log Analytics workspace](azure-storage-iis-table.md) to take advantage of features supported by [Azure Monitor Logs](data-platform-logs.md#what-can-you-do-with-azure-monitor-logs) such as [log queries](../log-query/log-query-overview.md).
55
-
* Send monitoring data to third-party tools using [Azure Event Hubs](diagnostics-extension-stream-event-hubs.md).
56
-
* Investigate VM boot issues with [Boot Diagnostics](../../virtual-machines/troubleshooting/boot-diagnostics.md).
57
-
* Copy data from applications running in your VM [to Application Insights](diagnostics-extension-to-application-insights.md) to integrate with other application monitoring.
55
+
* Collect logs and performance data from virtual or physical machines outside of Azure.
56
+
* Send data to a Log Analytics workspace to take advantage of features supported by [Azure Monitor Logs](data-platform-logs.md#what-can-you-do-with-azure-monitor-logs) such as [log queries](../log-query/log-query-overview.md).
57
+
* Use [Azure Monitor for VMs](../insights/vminsights-overview.md) which allows you to monitor your virtual machines at scale and monitors their processes and dependencies on other resources and external processes..
58
+
* Manage the security of your virtual machines using [Azure Security Center](../../security-center/security-center-intro.md) or [Azure Sentinel](../../sentinel/overview.md).
59
+
* Use [Azure Automation Update management](../../automation/automation-update-management.md), [Azure Automation State Configuration](../../automation/automation-dsc-overview.md), or [Azure Automation Change Tracking and Inventory](../../automation/change-tracking.md) to deliver comprehensive management of your Azure VMs
60
+
* Use different [solutions](../monitor-reference.md#insights-and-core-solutions) to monitor a particular service or application.
58
61
59
-
## Log Analytics agent
60
-
The [Log Analytics agent](log-analytics-agent.md) collects monitoring data from the guest operating system and workloads of virtual machines in Azure, other cloud providers, and on-premises. It collects data into a Log Analytics workspace.
62
+
Limitations of the Log Analytics agent include:
63
+
64
+
- Cannot send data to Azure Monitor Metrics, Azure Storage, or Azure Event Hubs.
65
+
66
+
## Azure diagnostics extension
67
+
The [Azure Diagnostics extension](diagnostics-extension-overview.md) collects monitoring data from the guest operating system and workloads of Azure virtual machines and other compute resources. It primarily collects data into Azure Storage but also allows you to define data sinks to also send data to other destinations such as Azure Monitor Metrics and Azure Event Hubs.
61
68
62
-
The Log Analytics agent is the same agent used by System Center Operations Manager, and multihome agent computers to communicate with your management group and Azure Monitor simultaneously. This agent is also required by certain solutions in Azure Monitor.
69
+
Use Azure diagnostic extension if you need to:
63
70
64
-
The Log Analytics agent for Windows is often referred to as Microsoft Management Agent (MMA). The Log Analytics agent for Linux is often referred to as OMS agent.
71
+
- Send data to Azure Storage for archiving or to analyze it with tools such as [Azure Storage Explorer](../../vs-azure-tools-storage-manage-with-storage-explorer.md).
72
+
- Send data to [Azure Monitor Metrics](data-platform-metrics.md) to analyze it with [metrics explorer](metrics-getting-started.md) and to take advantage of features such as near real-time [metric alerts](../../azure-monitor/platform/alerts-metric-overview.md) and [autoscale](autoscale-overview.md) (Windows only).
73
+
- Send data to third-party tools using [Azure Event Hubs](diagnostics-extension-stream-event-hubs.md).
74
+
- Collect [Boot Diagnostics](../../virtual-machines/troubleshooting/boot-diagnostics.md) to investigate VM boot issues.
65
75
76
+
Limitations of Azure diagnostics extension include:
66
77
67
-
### Scenarios supported
78
+
- Can only be used with Azure resources.
79
+
- Limited ability to send data to Azure Monitor Logs.
80
+
81
+
82
+
83
+
## Telegraf agent
84
+
The [InfluxData Telegraf agent](collect-custom-metrics-linux-telegraf.md) is used to collect performance data from Linux computers to Azure Monitor Metrics.
85
+
86
+
Use Telegraf agent if you need to:
87
+
88
+
* Send data to [Azure Monitor Metrics](data-platform-metrics.md) to analyze it with [metrics explorer](metrics-getting-started.md) and to take advantage of features such as near real-time [metric alerts](../../azure-monitor/platform/alerts-metric-overview.md) and [autoscale](autoscale-overview.md) (Linux only).
68
89
69
-
Scenarios supported by the Log Analytics agent include the following:
70
90
71
-
* Collect logs and performance data from virtual machines in Azure, other cloud providers, and on-premises.
72
-
* Collect monitoring data to a Log Analytics workspace to take advantage of features supported by [Azure Monitor Logs](data-platform-logs.md#what-can-you-do-with-azure-monitor-logs) such as [log queries](../log-query/log-query-overview.md).
73
-
* Use Azure Monitor monitoring solutions such as [Azure Monitor for VMs](../insights/vminsights-overview.md), [Azure Monitor for containers](../insights/container-insights-overview.md), etc.
74
-
* Manage the security of your virtual machines using [Azure Sentinel](../../sentinel/overview.md) which requires the Log Analytics agent.
75
-
* Manage the security of your virtual machines using [Azure Security Center](../../security-center/security-center-intro.md) which requires the Log Analytics agent.
76
-
* Use features of [Azure Automation](../../automation/automation-intro.md) to deliver comprehensive management of your Azure VMs through their lifecycle. Examples of these features that require the Log Analytics agent include:
77
-
*[Azure Automation Update management](../../automation/automation-update-management.md) of operating system updates.
78
-
*[Azure Automation State Configuration](../../automation/automation-dsc-overview.md) to maintain consistent configuration state.
79
-
* Track configuration changes with [Azure Automation Change Tracking and Inventory](../../automation/change-tracking.md).
80
91
81
92
## Dependency agent
82
-
The Dependency agent collects discovered data about processes running on the virtual machine and external process dependencies. This agent is required for [Service Map](../insights/service-map.md) and the Map feature [Azure Monitor for VMs](../insights/vminsights-overview.md). The Dependency agent requires the Log Analytics agent and writes data to a Log Analytics workspace in Azure Monitor.
93
+
The Dependency agent collects discovered data about processes running on the virtual machine and external process dependencies.
83
94
95
+
Use the Dependency agent if you need to:
84
96
85
-
## Using multiple agents
86
-
You may have specific requirements to use either the Azure Diagnostic Extension or Log Analytics agent for a particular virtual machine. For example, you may want to use metric alerts which requires Azure Diagnostic Extension. But you may also want to use the Map feature of Azure Monitor for VMs which requires the Dependency agent and the Log Analytics agent. In this case, you can use multiple agents, and this is a common scenario for customers who require functionality from each.
97
+
* Use the Map feature [Azure Monitor for VMs](../insights/vminsights-overview.md) or the [Service Map](../insights/service-map.md) solution.
87
98
88
-
### Considerations
99
+
100
+
Consider the following when using the Dependency agent:
89
101
90
102
- The Dependency agent requires the Log Analytics agent to be installed on the same virtual machine.
91
103
- On Linux VMs, the Log Analytics agent must be installed before the Azure Diagnostic Extension.
92
104
93
105
94
-
## Next steps
106
+
## Extensions compared to agents
107
+
The Log Analytics extension for [Windows](../../virtual-machines/extensions/oms-windows.md) and [Linux](../../virtual-machines/extensions/oms-linux.md) install the Log Analytics agent on Azure virtual machines. The Azure Monitor Dependency extension for [Windows](../../virtual-machines/extensions/agent-dependency-windows.md) and [Linux](../../virtual-machines/extensions/agent-dependency-linux.md) install the Dependency agent on Azure virtual machines. These are the same agents described above but allow you to manage them through [virtual machine extensions](../../virtual-machines/extensions/overview.md). You should use extensions to install and manage the agents whenever possible.
95
108
96
-
- See [Overview of the Log Analytics agent](../../azure-monitor/platform/log-analytics-agent.md) to review requirements and supported methods to deploy the agent to machines hosted in Azure, in your datacenter, or other cloud environment.
97
109
110
+
## Next steps
111
+
Get more details on each of the agents at the following:
112
+
113
+
-[Overview of the Log Analytics agent](log-analytics-agent.md)
0 commit comments