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
# Network Watcher Agent virtual machine extension for Linux
14
+
# Manage Network Watcher Agent virtual machine extension for Linux
15
15
16
16
> [!CAUTION]
17
17
> This article references CentOS, a Linux distribution that is nearing End Of Life (EOL) status. Please consider your use and planning accordingly. For more information, see the [CentOS End Of Life guidance](~/articles/virtual-machines/workloads/centos/centos-end-of-life.md).
18
18
19
19
[Azure Network Watcher](../../network-watcher/network-watcher-monitoring-overview.md) is a network performance monitoring, diagnostic, and analytics service that allows monitoring for Azure networks. The Network Watcher Agent virtual machine extension is a requirement for some of the Network Watcher features on Azure virtual machines (VMs), such as capturing network traffic on demand, and other advanced functionality.
20
20
21
-
This article details the supported platforms and deployment options for the Network Watcher Agent VM extension for Linux. Installation of the agent doesn't disrupt, or require a reboot of the virtual machine. You can install the extension on virtual machines that you deploy. If the virtual machine is deployed by an Azure service, check the documentation for the service to determine whether or not it permits installing extensions in the virtual machine.
21
+
In this article, you learn about the supported platforms and deployment options for the Network Watcher Agent VM extension for Linux. Installation of the agent doesn't disrupt, or require a reboot of the virtual machine. You can install the extension on virtual machines that you deploy. If the virtual machine is deployed by an Azure service, check the documentation for the service to determine whether or not it permits installing extensions in the virtual machine.
22
22
23
23
> [!NOTE]
24
24
> Network Watcher Agent extension is not supported on AKS clusters.
25
25
26
26
## Prerequisites
27
27
28
-
### Operating system
28
+
#[**Portal**](#tab/portal)
29
29
30
-
The Network Watcher Agent extension can be configured for the following Linux distributions:
30
+
- An Azure Linux virtual machine (VM). For more information, see [Supported operating systems](#supported-operating-systems).
31
+
32
+
- Internet connectivity: some of the Network Watcher Agent functionality requires that the virtual machine is connected to the internet. For example, without the ability to establish outgoing connections, the Network Watcher Agent can't upload packet captures to your storage account. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
33
+
34
+
# [**PowerShell**](#tab/powershell)
35
+
36
+
- An Azure Linux virtual machine (VM). For more information, see [Supported operating systems](#supported-operating-systems).
37
+
38
+
- Internet connectivity: some of the Network Watcher Agent functionality requires that the virtual machine is connected to the internet. For example, without the ability to establish outgoing connections, the Network Watcher Agent can't upload packet captures to your storage account. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
39
+
40
+
- Azure Cloud Shell or Azure PowerShell.
41
+
42
+
The steps in this article run the Azure PowerShell cmdlets interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the commands in the Cloud Shell, select **Open Cloud Shell** at the upper-right corner of a code block. Select **Copy** to copy the code and then paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
43
+
44
+
You can also [install Azure PowerShell locally](/powershell/azure/install-azure-powershell) to run the cmdlets. This article requires the Azure PowerShell `Az` module. To find the installed version, run `Get-Module -ListAvailable Az`. If you run PowerShell locally, sign in to Azure using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
45
+
46
+
# [**Azure CLI**](#tab/cli)
47
+
48
+
- An Azure Linux virtual machine (VM). For more information, see [Supported operating systems](#supported-operating-systems).
49
+
50
+
- Internet connectivity: some of the Network Watcher Agent functionality requires that the virtual machine is connected to the internet. For example, without the ability to establish outgoing connections, the Network Watcher Agent can't upload packet captures to your storage account. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
51
+
52
+
- Azure Cloud Shell or Azure CLI.
53
+
54
+
The steps in this article run the Azure CLI commands interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the commands in the Cloud Shell, select **Open Cloud Shell** at the upper-right corner of a code block. Select **Copy** to copy the code, and paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
55
+
56
+
You can also [install Azure CLI locally](/cli/azure/install-azure-cli) to run the commands. If you run Azure CLI locally, sign in to Azure using the [az login](/cli/azure/reference-index#az-login) command.
57
+
58
+
# [**Resource Manager**](#tab/arm)
59
+
60
+
- An Azure Linux virtual machine (VM). For more information, see [Supported operating systems](#supported-operating-systems).
61
+
62
+
- Internet connectivity: some of the Network Watcher Agent functionality requires that the virtual machine is connected to the internet. For example, without the ability to establish outgoing connections, the Network Watcher Agent can't upload packet captures to your storage account. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
63
+
64
+
- Azure PowerShell or Azure CLI installed locally to deploy the template.
65
+
66
+
- You can [install Azure PowerShell locally](/powershell/azure/install-azure-powershell) to run the cmdlets. Use [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet to sign in to Azure.
67
+
68
+
- You can [install Azure CLI locally](/cli/azure/install-azure-cli) to run the commands. Use [az login](/cli/azure/reference-index#az-login) command to sign in to Azure.
69
+
70
+
---
71
+
72
+
## Supported operating systems
73
+
74
+
Network Watcher Agent extension for Linux can be installed on the following Linux distributions:
31
75
32
76
| Distribution | Version |
33
77
|---|---|
@@ -46,22 +90,18 @@ The Network Watcher Agent extension can be configured for the following Linux di
46
90
> - Red Hat Enterprise Linux 6.X and Oracle Linux 6.x have reached their end-of-life (EOL). RHEL 6.10 has available [extended life cycle (ELS) support](https://www.redhat.com/en/resources/els-datasheet) through [June 30, 2024](https://access.redhat.com/product-life-cycles/?product=Red%20Hat%20Enterprise%20Linux,OpenShift%20Container%20Platform%204).
47
91
> - Oracle Linux version 6.10 has available [ELS support](https://www.oracle.com/a/ocom/docs/linux/oracle-linux-extended-support-ds.pdf) through [July 1, 2024](https://www.oracle.com/a/ocom/docs/elsp-lifetime-069338.pdf).
48
92
49
-
### Internet connectivity
50
-
51
-
Some of the Network Watcher Agent functionality requires that the virtual machine is connected to the Internet. Without the ability to establish outgoing connections, some of the Network Watcher Agent features may malfunction, or become unavailable. For more information about Network Watcher functionality that requires the agent, see the [Network Watcher documentation](../../network-watcher/index.yml).
52
-
53
93
## Extension schema
54
94
55
95
The following JSON shows the schema for the Network Watcher Agent extension. The extension doesn't require, or support, any user-supplied settings. The extension relies on its default configuration.
The following example deploys the Network Watcher Agent VM extension to an existing VM deployed through the classic deployment model:
94
-
95
-
```console
96
-
azure config mode asm
97
-
azure vm extension set myVM1 NetworkWatcherAgentLinux Microsoft.Azure.NetworkWatcher 1.4
98
-
```
99
-
100
119
## Azure CLI deployment
101
120
102
121
The following example deploys the Network Watcher Agent VM extension to an existing VM deployed through Resource Manager:
@@ -105,9 +124,7 @@ The following example deploys the Network Watcher Agent VM extension to an exist
105
124
az vm extension set --resource-group myResourceGroup1 --vm-name myVM1 --name NetworkWatcherAgentLinux --publisher Microsoft.Azure.NetworkWatcher --version 1.4
106
125
```
107
126
108
-
## Troubleshooting and support
109
-
110
-
### Troubleshooting
127
+
## Troubleshooting
111
128
112
129
You can retrieve data about the state of extension deployments using either the Azure portal or Azure CLI.
0 commit comments