Skip to content

Commit 45c5b1b

Browse files
authored
Merge pull request #186707 from shayoniseth/shseth/amamanage
Automatic Extension Upgrade, RFC changes to syslog, new install versions
2 parents cfe8a59 + 899d4d9 commit 45c5b1b

File tree

4 files changed

+53
-25
lines changed

4 files changed

+53
-25
lines changed

articles/azure-monitor/agents/azure-monitor-agent-manage.md

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ WE strongly recommended to update to generally available versions listed as foll
2828
|:---|:---|:---|:---|:---|
2929
| June 2021 | General availability announced. <ul><li>All features except metrics destination now generally available</li><li>Production quality, security and compliance</li><li>Availability in all public regions</li><li>Performance and scale improvements for higher EPS</li></ul> [Learn more](https://azure.microsoft.com/updates/azure-monitor-agent-and-data-collection-rules-now-generally-available/) | 1.0.12.0 | 1.9.1.0 |
3030
| July 2021 | <ul><li>Support for direct proxies</li><li>Support for Log Analytics gateway</li></ul> [Learn more](https://azure.microsoft.com/updates/general-availability-azure-monitor-agent-and-data-collection-rules-now-support-direct-proxies-and-log-analytics-gateway/) | 1.1.1.0 | 1.10.5.0 |
31-
| August 2021 | Fixed issue allowing Azure Monitor Metrics as the only destination | 1.1.2.0 | 1.10.9.0<sup>1</sup> |
32-
| September 2021 | <ul><li>Fixed issue causing data loss on restarting the agent</li><li>Addressed regression introduced in 1.1.3.1<sup>2</sup> for Arc Windows servers</li></ul> | 1.1.3.2 | 1.12.2.0 <sup>2</sup> |
33-
| December 2021 | Fixed issues impacting Linux Arc-enabled servers | N/A | 1.14.7.0<sup>3</sup> |
31+
| August 2021 | Fixed issue allowing Azure Monitor Metrics as the only destination | 1.1.2.0 | 1.10.9.0<sup>Hotfix</sup> |
32+
| September 2021 | <ul><li>Fixed issue causing data loss on restarting the agent</li><li>Fixed issue for Arc Windows servers</li></ul> | 1.1.3.2<sup>Hotfix</sup> | 1.12.2.0 <sup>1</sup> |
33+
| December 2021 | <ul><li>Fixed issues impacting Linux Arc-enabled servers</li><li>'Heartbeat' table > 'Category' column reports "Azure Monitor Agent" in Log Analytics for Windows</li></ul> | 1.1.4.0 | 1.14.7.0<sup>2</sup> |
34+
| January 2021 | <ul><li>Syslog RFC compliance for Linux</li><li>Fixed issue for Linux perf counters not flowing on restart</li><ul> | Not available yet | 1.15.2.0<sup>Hotfix</sup> |
3435

35-
<sup>1</sup> Do not use AMA Linux version 1.10.7.0
36-
<sup>2</sup> Known regression where it's not working on Arc-enabled servers
37-
<sup>3</sup> Bug identified wherein Linux performance counters data stops flowing on restarting/rebooting the machine(s). Fix underway and will be available in next monthly version update.
36+
<sup>Hotfix</sup> Do not use AMA Linux versions v1.10.7, v1.15.1 and AMA Windows v1.1.3.1. Please use hotfixed versions listed above.
37+
<sup>1</sup> Known issue: No data collected from Linux Arc-enabled servers
38+
<sup>2</sup> Known issue: Linux performance counters data stops flowing on restarting/rebooting the machine(s)
3839

3940

4041
## Prerequisites
@@ -59,7 +60,7 @@ To uninstall the Azure Monitor agent using the Azure portal, navigate to your vi
5960

6061
### Update
6162
To perform a **one time update** of the agent, you must first uninstall the existing agent version and then install the new version as described above.
62-
63+
The **recommendation** is to enable automatic update of the agent by enabling the [Automatic Extension Upgrade](../../virtual-machines/automatic-extension-upgrade.md) feature. Navigate to your virtual machine or scale set, select the **Extensions** tab and click on **AzureMonitorWindowsAgent** or **AzureMonitorLinuxAgent**. In the dialog that pops up, click **Enable automatic upgrade**.
6364

6465
## Using Resource Manager template
6566

@@ -111,7 +112,18 @@ Remove-AzVMExtension -Name AMALinux -ResourceGroupName <resource-group-name> -VM
111112
---
112113

113114
### Update on Azure virtual machines
114-
To perform a **one time update** of the agent, you must first uninstall the existing agent version and then install the new version as described above.
115+
To perform a **one time update** of the agent, you must first uninstall the existing agent version and then install the new version as described above.
116+
The **recommendation** is to enable automatic update of the agent by enabling the [Automatic Extension Upgrade](../../virtual-machines/automatic-extension-upgrade.md) feature, using the following PowerShell commands.
117+
# [Windows](#tab/PowerShellWindows)
118+
```powershell
119+
Set-AzVMExtension -ExtensionName AMAWindows -ResourceGroupName <resource-group-name> -VMName <virtual-machine-name> -Publisher Microsoft.Azure.Monitor -ExtensionType AzureMonitorWindowsAgent -TypeHandlerVersion <version-number> -Location <location> -EnableAutomaticUpgrade $true
120+
```
121+
# [Linux](#tab/PowerShellLinux)
122+
```powershell
123+
Set-AzVMExtension -ExtensionName AMALinux -ResourceGroupName <resource-group-name> -VMName <virtual-machine-name> -Publisher Microsoft.Azure.Monitor -ExtensionType AzureMonitorLinuxAgent -TypeHandlerVersion <version-number> -Location <location> -EnableAutomaticUpgrade $true
124+
```
125+
---
126+
115127

116128
### Install on Azure Arc-enabled servers
117129
Use the following PowerShell commands to install the Azure Monitor agent on Azure Arc-enabled servers.
@@ -192,7 +204,18 @@ az vm extension delete --resource-group <resource-group-name> --vm-name <virtual
192204
---
193205

194206
### Update on Azure virtual machines
195-
To perform a **one time update** of the agent, you must first uninstall the existing agent version and then install the new version as described above.
207+
To perform a **one time update** of the agent, you must first uninstall the existing agent version and then install the new version as described above.
208+
The **recommendation** is to enable automatic update of the agent by enabling the [Automatic Extension Upgrade](../../virtual-machines/automatic-extension-upgrade.md) feature, using the following CLI commands.
209+
# [Windows](#tab/CLIWindows)
210+
```azurecli
211+
az vm extension set -name AzureMonitorWindowsAgent --publisher Microsoft.Azure.Monitor --vm-name <virtual-machine-name> --resource-group <resource-group-name> --enable-auto-upgrade true
212+
```
213+
# [Linux](#tab/CLILinux)
214+
```azurecli
215+
az vm extension set -name AzureMonitorLinuxAgent --publisher Microsoft.Azure.Monitor --vm-name <virtual-machine-name> --resource-group <resource-group-name> --enable-auto-upgrade true
216+
```
217+
---
218+
196219

197220
### Install on Azure Arc-enabled servers
198221
Use the following CLI commands to install the Azure Monitor agent onAzure Azure Arc-enabled servers.

articles/azure-monitor/agents/azure-monitor-agent-overview.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The Azure Monitor agent replaces the following legacy agents that are currently
2121
In addition to consolidating this functionality into a single agent, the Azure Monitor agent provides the following benefits over the existing agents:
2222

2323
- **Scope of monitoring:** Centrally configure collection for different sets of data from different sets of VMs.
24-
- **Linux multi-homing:** Send data from Linux VMs to multiple workspaces.
24+
- **Linux multi-homing:** Send data from Windows and Linux VMs to multiple Log Analytics workspaces (i.e. "multi-homing") and/or other [supported destinations](#data-sources-and-destinations).
2525
- **Windows event filtering:** Use XPATH queries to filter which Windows events are collected.
2626
- **Improved extension management:** The Azure Monitor agent uses a new method of handling extensibility that's more transparent and controllable than management packs and Linux plug-ins in the current Log Analytics agents.
2727

@@ -67,6 +67,20 @@ Azure Monitor agent is available in all public regions that support Log Analytic
6767
## Supported operating systems
6868
For a list of the Windows and Linux operating system versions that are currently supported by the Azure Monitor agent, see [Supported operating systems](agents-overview.md#supported-operating-systems).
6969

70+
## Data sources and destinations
71+
The following table lists the types of data you can currently collect with the Azure Monitor agent by using data collection rules and where you can send that data. For a list of insights, solutions, and other solutions that use the Azure Monitor agent to collect other kinds of data, see [What is monitored by Azure Monitor?](../monitor-reference.md).
72+
73+
The Azure Monitor agent sends data to Azure Monitor Metrics (preview) or a Log Analytics workspace supporting Azure Monitor Logs.
74+
75+
| Data source | Destinations | Description |
76+
|:---|:---|:---|
77+
| Performance | Azure Monitor Metrics (preview)<sup>1</sup> - Insights.virtualmachine namespace<br>Log Analytics workspace - [Perf](/azure/azure-monitor/reference/tables/perf) table | Numerical values measuring performance of different aspects of operating system and workloads |
78+
| Windows event logs | Log Analytics workspace - [Event](/azure/azure-monitor/reference/tables/Event) table | Information sent to the Windows event logging system |
79+
| Syslog | Log Analytics workspace - [Syslog](/azure/azure-monitor/reference/tables/syslog)<sup>2</sup> table | Information sent to the Linux event logging system |
80+
81+
<sup>1</sup> [Click here](../essentials/metrics-custom-overview.md#quotas-and-limits) to review other limitations of using Azure Monitor Metrics. On Linux, using Azure Monitor Metrics as the only destination is supported in v1.10.9.0 or higher.
82+
<sup>2</sup> Azure Monitor Linux Agent v1.15.2 or higher supports syslog RFC formats including Cisco Meraki, Cisco ASA, Cisco FTD, Sophos XG, Juniper Networks, Corelight Zeek, CipherTrust, NXLog, McAfee and CEF (Common Event Format).
83+
7084
## Supported services and features
7185
The following table shows the current support for the Azure Monitor agent with other Azure services.
7286

@@ -101,18 +115,6 @@ As such, ensure you're not collecting the same data from both agents. If you are
101115
## Costs
102116
There's no cost for the Azure Monitor agent, but you might incur charges for the data ingested. For details on Log Analytics data collection and retention and for customer metrics, see [Azure Monitor pricing](https://azure.microsoft.com/pricing/details/monitor/).
103117

104-
## Data sources and destinations
105-
The following table lists the types of data you can currently collect with the Azure Monitor agent by using data collection rules and where you can send that data. For a list of insights, solutions, and other solutions that use the Azure Monitor agent to collect other kinds of data, see [What is monitored by Azure Monitor?](../monitor-reference.md).
106-
107-
The Azure Monitor agent sends data to Azure Monitor Metrics (preview) or a Log Analytics workspace supporting Azure Monitor Logs.
108-
109-
| Data source | Destinations | Description |
110-
|:---|:---|:---|
111-
| Performance | Azure Monitor Metrics (preview)<sup>1</sup><br>Log Analytics workspace | Numerical values measuring performance of different aspects of operating system and workloads |
112-
| Windows event logs | Log Analytics workspace | Information sent to the Windows event logging system |
113-
| Syslog | Log Analytics workspace | Information sent to the Linux event logging system |
114-
115-
<sup>1</sup> [Click here](../essentials/metrics-custom-overview.md#quotas-and-limits) to review other limitations of using Azure Monitor Metrics. On Linux, using Azure Monitor Metrics as the only destination is supported in v.1.10.9.0 or higher.
116118

117119
## Security
118120
The Azure Monitor agent doesn't require any keys but instead requires a [system-assigned managed identity](../../active-directory/managed-identities-azure-resources/qs-configure-portal-windows-vm.md#system-assigned-managed-identity). You must have a system-assigned managed identity enabled on each virtual machine before you deploy the agent.

articles/azure-monitor/agents/data-collection-rule-azure-monitor-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To specify other logs and performance counters from the [currently supported dat
6464

6565
[![Data source custom](media/data-collection-rule-azure-monitor-agent/data-collection-rule-data-source-custom-updated.png)](media/data-collection-rule-azure-monitor-agent/data-collection-rule-data-source-custom-updated.png#lightbox)
6666

67-
On the **Destination** tab, add one or more destinations for the data source. Windows event and Syslog data sources can only send to Azure Monitor Logs. Performance counters can send to both Azure Monitor Metrics and Azure Monitor Logs.
67+
On the **Destination** tab, add one or more destinations for the data source. You can select multiple destinations of same of different types, for instance multiple Log Analytics workspaces (i.e. "multi-homing"). Windows event and Syslog data sources can only send to Azure Monitor Logs. Performance counters can send to both Azure Monitor Metrics and Azure Monitor Logs.
6868

6969
[![Destination](media/data-collection-rule-azure-monitor-agent/data-collection-rule-destination.png)](media/data-collection-rule-azure-monitor-agent/data-collection-rule-destination.png#lightbox)
7070

articles/azure-monitor/faq.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,11 @@ sections:
198198
- question: |
199199
What's the difference between the Azure Monitor agents?
200200
answer: |
201-
Azure Diagnostic extension is for Azure virtual machines and collects data to Azure Monitor Metrics, Azure Storage, and Azure Event Hubs. The Log Analytics agent is for virtual machines in Azure, another cloud environment, or on-premises and collects data to Azure Monitor Logs. The Dependency agent requires the Log Analytics agent and collected process details and dependencies.
202-
The Azure Monitor Agent is the new, improved agent that will consolidate the features from all the above mentioned agents over time, whilst providing additional benefits like centralized data collection, filtering, multihoming and more. See [Overview of the Azure Monitor agents](agents/agents-overview.md).
201+
The Azure Monitor Agent is the new, improved agent that will consolidate the features from all the other legacy monitoring agents, whilst providing additional benefits like centralized data collection, filtering, multihoming and more. See [Overview of the Azure Monitor agents](agents/agents-overview.md).
202+
The legacy agents include:
203+
- Azure Diagnostic extension is for Azure virtual machines and collects data to Azure Monitor Metrics, Azure Storage, and Azure Event Hubs.
204+
- The Log Analytics agent is for virtual machines in Azure, another cloud environment, or on-premises and collects data to Azure Monitor Logs. These agents will be deprecated by August, 2024.
205+
- The Dependency agent requires the Log Analytics agent and collected process details and dependencies.
203206
204207
- question: |
205208
Does my agent traffic use my ExpressRoute connection?

0 commit comments

Comments
 (0)