Skip to content

Commit cbe81b1

Browse files
authored
Merge pull request #215815 from itechedit/four-network-watcher-articles
edit pass: four network-watcher articles
2 parents e82b535 + 18771c5 commit cbe81b1

5 files changed

+204
-175
lines changed
Lines changed: 36 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,73 @@
11
---
2-
title: Monitor Network Connectivity using Azure Monitor Agent
3-
description: This article describes how to monitor network connectivity in Connection Monitor using the Azure monitor agent.
2+
title: Monitor network connectivity by using Azure Monitor Agent
3+
description: This article describes how to monitor network connectivity in Connection Monitor by using Azure Monitor Agent.
44
services: network-watcher
55
author: v-ksreedevan
66
ms.service: network-watcher
77
ms.custom: ignite-2022
88
ms.topic: how-to
99
ms.date: 09/11/2022
1010
ms.author: v-ksreedevan
11-
#Customer intent: I need to monitor a connection using Azure Monitor agent.
11+
#Customer intent: I need to monitor a connection by using Azure Monitor Agent.
1212
---
1313

14-
# Monitor Network Connectivity using Azure Monitor Agent with Connection Monitor
14+
# Monitor network connectivity by using Azure Monitor Agent with Connection Monitor
1515

16-
Connection Monitor supports the Azure Monitor Agent extension, thereby eliminating the dependency on the legacy Log Analytics agent.
16+
Connection Monitor supports the Azure Monitor Agent extension, which eliminates any dependency on the legacy Log Analytics agent.
1717

18-
With Azure Monitor Agent, a single agent consolidates all the features necessary to address all connectivity logs and metrics data collection needs across Azure and On-premises machines compared to running various monitoring agents.
18+
With Azure Monitor Agent, a single agent consolidates all the features necessary to address all connectivity logs and metrics data collection needs across Azure and on-premises machines compared to running various monitoring agents.
1919

20-
The Azure Monitor Agent provides enhanced security and performance capabilities, effective cost savings with efficient data collection and ease of troubleshooting with simpler data collection management for Log Analytics agent.
20+
Azure Monitor Agent provides the following benefits:
21+
* Enhanced security and performance capabilities
22+
* Effective cost savings with efficient data collection
23+
* Ease of troubleshooting, with simpler data collection management for the Log Analytics agent
2124

22-
[Learn more](../azure-monitor/agents/agents-overview.md) about Azure Monitor Agent.
25+
[Learn more about Azure Monitor Agent](../azure-monitor/agents/agents-overview.md).
2326

2427
To start using Connection Monitor for monitoring, do the following:
2528
* Install monitoring agents
2629
* Create a connection monitor
2730
* Analyze monitoring data and set alerts
2831
* Diagnose issues in your network
2932

30-
The following sections provide details on the installation of Monitor Agents. For more information, see [Connection Monitor](connection-monitor-overview.md).
33+
The following sections provide details on the installation of monitoring agents. For more information, see [Monitor network connectivity by using Connection Monitor](connection-monitor-overview.md).
3134

32-
## Installing monitoring agents for Azure and Non-Azure resources
35+
## Install monitoring agents for Azure and non-Azure resources
3336

34-
The Connection Monitor relies on lightweight executable files to run connectivity checks. It supports connectivity checks from both Azure environments and on-premises environments. The executable file that you use depends on whether your VM is hosted on Azure or on-premises.
37+
Connection Monitor relies on lightweight executable files to run connectivity checks. It supports connectivity checks from both Azure and on-premises environments. The executable file that you use depends on whether your virtual machine (VM) is hosted on Azure or on-premises.
3538

3639
### Agents for Azure virtual machines and scale sets
3740

38-
Refer [here](connection-monitor-overview.md#agents-for-azure-virtual-machines-and-virtual-machine-scale-sets) to install agents for Azure virtual machines and scale sets.
41+
To install agents for Azure virtual machines and virtual machine scale sets, see the "Agents for Azure virtual machines and virtual machine scale sets" section of [Monitor network connectivity by using Connection Monitor](connection-monitor-overview.md#agents-for-azure-virtual-machines-and-virtual-machine-scale-sets).
3942

4043
### Agents for on-premises machines
4144

4245
To make Connection Monitor recognize your on-premises machines as sources for monitoring, do the following:
43-
* Enable your hybrid endpoints to [ARC Enabled Servers](../azure-arc/overview.md).
46+
47+
* Enable your hybrid endpoints to [Azure Arc-enabled servers](../azure-arc/overview.md).
48+
4449
* Connect hybrid machines by installing the [Azure Connected Machine agent](../azure-arc/servers/overview.md) on each machine.
45-
This agent doesn't deliver any other functionality, and it doesn't replace the Azure Monitor Agent. The Azure Connected Machine agent simply enables you to manage your Windows and Linux machines hosted outside of Azure on your corporate network or other cloud providers.
46-
* Install the [Azure Monitor Agent](../azure-monitor/agents/agents-overview.md) to enable the Network Watcher extension.
47-
* The agent collects monitoring logs and data from the hybrid sources and delivers it to Azure Monitor.
50+
51+
This agent doesn't deliver any other functionality, and it doesn't replace Azure Monitor Agent. The Azure Connected Machine agent simply enables you to manage the Windows and Linux machines that are hosted outside of Azure on your corporate network or other cloud providers.
52+
53+
* [Install Azure Monitor Agent](../azure-monitor/agents/agents-overview.md) to enable the Network Watcher extension.
54+
55+
The agent collects monitoring logs and data from the hybrid sources and delivers it to Azure Monitor.
4856

4957
## Coexistence with other agents
5058

51-
The Azure Monitor agent can coexist (run side by side on the same machine) with the legacy Log Analytics agents so that you can continue to use their existing functionality during evaluation or migration. While this allows you to begin the transition, given the limitations, you must review the following:
52-
* Ensure that you do not collect duplicate data because it could alter query results and affect downstream features like alerts, dashboards, or workbooks. For example, VM insights uses the Log Analytics agent to send performance data to a Log Analytics workspace. You might also have configured the workspace to collect Windows events and Syslog events from agents. If you install the Azure Monitor agent and create a data collection rule for these same events and performance data, it will result in duplicate data. So, ensure you're not collecting the same data from both agents. If you are, ensure they're collecting from different machines or going to separate destinations.
53-
* Besides data duplication, this would also generate more charges for data ingestion and retention.
54-
* Running two telemetry agents on the same machine would result in double the resource consumption, including but not limited to CPU, memory, storage space and network bandwidth.
59+
Azure Monitor Agent can coexist with, or run side by side on the same machine as, the legacy Log Analytics agents. You can continue to use their existing functionality during evaluation or migration.
60+
61+
Although this coexistence allows you to begin the transition, there are certain limitations. Keep in mind the following considerations:
62+
63+
* Do not collect duplicate data, because it could alter query results and affect downstream features such as alerts, dashboards, or workbooks.
64+
65+
For example, the VM insights feature uses the Log Analytics agent to send performance data to a Log Analytics workspace. You might also have configured the workspace to collect Windows events and Syslog events from agents. If you install Azure Monitor Agent and create a data collection rule for the same events and performance data, it will result in duplicate data. Ensure that you're not collecting the same data from both agents. If you are collecting duplicate data, make sure that it's coming from different machines or going to separate destinations.
66+
67+
* Data duplication would also generate more charges for data ingestion and retention.
68+
69+
* Running two telemetry agents on the same machine would result in double the resource consumption, including but not limited to CPU, memory, storage space, and network bandwidth.
5570

5671
## Next steps
5772

58-
- Install [Azure Connected machine agent](connection-monitor-connected-machine-agent.md).
73+
- [Install the Azure Connected Machine agent](connection-monitor-connected-machine-agent.md)
Lines changed: 40 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,60 @@
11
---
2-
title: Install agents for connection monitor
3-
description: This article describes how to install Azure Connected machine agent
2+
title: Install the Azure Connected Machine agent for Connection Monitor
3+
description: This article describes how to install Azure Connected Machine agent
44
services: network-watcher
55
author: v-ksreedevan
66
ms.service: network-watcher
77
ms.custom: ignite-2022
88
ms.topic: how-to
99
ms.date: 09/11/2022
1010
ms.author: v-ksreedevan
11-
#Customer intent: I need to monitor a connection using Azure Monitor agent.
11+
#Customer intent: I need to monitor a connection by using Azure Monitor Agent.
1212
---
1313

14-
# Install Azure Connected Machine agent to enable Arc
14+
# Install the Azure Connected Machine agent to enable Azure Arc
1515

16-
This article describes the procedure to install the Azure Connected Machine agent.
16+
This article describes how to install the Azure Connected Machine agent.
1717

1818
## Prerequisites
1919

20-
* An Azure account with an active subscription, else [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
21-
* Administrator permissions to install and configure the Connected Machine agent. On Linux, the installation and configuration is done using the root account, and on Windows, with an account that is a member of the Local Administrators group.
22-
* Register the Microsoft.HybridCompute, Microsoft.GuestConfiguration, and Microsoft.HybridConnectivity resource providers on your subscription. You can [register these resource providers](../azure-arc/servers/prerequisites.md#azure-resource-providers) ahead of time, or while completing the steps in this article.
23-
* Review the [agent prerequisites](../azure-arc/servers/prerequisites.md) and ensure the following:
20+
* An Azure account with an active subscription. If you don't already have an account, [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
21+
* Administrator permissions to install and configure the Connected Machine agent. On Linux, you install and configure it by using the root account, and on Windows, you use an account that's a member of the Local Administrators group.
22+
* Register the Microsoft.HybridCompute, Microsoft.GuestConfiguration, and Microsoft.HybridConnectivity resource providers on your subscription. You can [register these resource providers](../azure-arc/servers/prerequisites.md#azure-resource-providers) either ahead of time or as you're completing the steps in this article.
23+
* Review the [agent prerequisites](../azure-arc/servers/prerequisites.md), and ensure that:
2424
* Your target machine is running a supported [operating system](../azure-arc/servers/prerequisites.md#supported-operating-systems).
2525
* Your account has the [required Azure built-in roles](../azure-arc/servers/prerequisites.md#required-permissions).
2626
* The machine is in a [supported region](../azure-arc/overview.md).
27-
* If the machine connects through a firewall or proxy server to communicate over the Internet, make sure the listed [URLs](../azure-arc/servers/network-requirements.md#urls) aren't blocked.
27+
* If the machine connects through a firewall or proxy server to communicate over the internet, the listed URLs in [Connected Machine agent network requirements](../azure-arc/servers/network-requirements.md#urls) aren't blocked.
2828

29-
## Generate installation script
29+
## Generate an installation script
3030

31-
Use the Azure portal to create a script that automates the download and installation of the agent and establishes the connection with Azure Arc.
31+
Use the Azure portal to create a script that automates the downloading and installation of the agent and establishes the connection with Azure Arc.
3232

33-
1. In the Azure portal, search for **Servers - Azure Arc** and select it.
33+
1. In the [Azure portal](https://portal.azure.com), search for **Servers - Azure Arc**, and then select it in the results list.
3434

35-
1. On the **Servers - Azure Arc** page, select **Add**.
35+
1. On the **Servers - Azure Arc** page, select **Add**.
3636

37-
1. On the next screen, from the **Add a single server** tile, select **Generate script**.
37+
1. On the **Add a single server** tile, select **Generate script**.
3838

39-
1. Review the information on the **Prerequisites** page, then select **Next**.
39+
1. Review the information on the **Prerequisites** page, and then select **Next**.
4040

4141
1. On the **Resource details** page, provide the following:
4242

43-
1. Select the subscription and resource group where you want the machine to be managed within Azure.
44-
1. For **Region**, choose the Azure region in which the server's metadata will be stored.
45-
1. For **Operating system**, select the operating system of the server you want to connect.
46-
1. For **Connectivity method**, choose how the Azure Connected Machine agent should connect to the internet. If you select **Proxy server**, enter the proxy server IP address, or the name and port number that the machine will use in the format `http://<proxyURL>:<proxyport>`.
47-
1. Select **Next**.
43+
a. Select the subscription and resource group where you want the machine to be managed within Azure.
44+
b. For **Region**, select the Azure region in which the server's metadata will be stored.
45+
c. For **Operating system**, select the operating system of the server you want to connect.
46+
d. For **Connectivity method**, select how the Azure Connected Machine agent should connect to the internet. If you select **Proxy server**, enter the proxy server IP address, or enter the name and port number that the machine will use, in the format `http://<proxyURL>:<proxyport>`.
47+
e. Select **Next**.
4848

49-
1. On the **Tags** page, review the default **Physical location tags** suggested and enter a value, or specify one or more **Custom tags** to support your standards. Then select **Next**.
49+
1. On the **Tags** page, review the default **Physical location tags** suggested and either enter a value or specify one or more **Custom tags** to support your standards.
50+
51+
1. Select **Next**.
5052

5153
1. On the **Download and run script** page, select the **Register** button to register the required resource providers in your subscription, if you haven't already done so.
5254

5355
1. In the **Download or copy the following script** section, review the script. If you want to make any changes, use the **Previous** button to go back and update your selections. Otherwise, select **Download** to save the script file.
5456

55-
## Install the agent using the script
57+
## Install the agent by using the script
5658

5759
After you've generated the script, the next step is to run it on the server that you want to onboard to Azure Arc. The script will download the Connected Machine agent from the Microsoft Download Center, install the agent on the server, create the Azure Arc-enabled server resource, and associate it with the agent.
5860

@@ -62,19 +64,21 @@ Follow the steps corresponding to the operating system of your server.
6264

6365
1. Sign in to the server.
6466

65-
1. Open an elevated 64-bit PowerShell command prompt.
67+
1. Open an elevated 64-bit PowerShell Command Prompt window.
68+
69+
1. Change to the folder or share that you copied the script to, and then execute it on the server by running the `./OnboardingScript.ps1` script.
6670

67-
1. Change to the folder or share that you copied the script to, then execute it on the server by running the `./OnboardingScript.ps1` script.
71+
# [Linux agent](#tab/LinuxScript)
6872

69-
### [Linux agent](#tab/LinuxScript)
73+
To install the Linux agent, run one of the following commands:
7074

71-
1. To install the Linux agent on the target machine that can directly communicate to Azure, run the following command:
75+
* On the target machine that can directly communicate to Azure, run:
7276

7377
```bash
7478
bash ~/Install_linux_azcmagent.sh
7579
```
7680

77-
1. Alternately, if the target machine communicates through a proxy server, run the following command:
81+
* If the target machine communicates through a proxy server, run:
7882

7983
```bash
8084
bash ~/Install_linux_azcmagent.sh --proxy "{proxy-url}:{proxy-port}"
@@ -83,17 +87,20 @@ Follow the steps corresponding to the operating system of your server.
8387

8488
## Verify the connection with Azure Arc
8589

86-
After you install the agent and configure it to connect to Azure Arc-enabled servers, go to the Azure portal to verify that the server has successfully connected. View your machine in the [Azure portal](https://aka.ms/hybridmachineportal).
90+
After you install the agent and configure it to connect to Azure Arc-enabled servers, go to the Azure portal to verify that the server is successfully connected. View your machine in the [Azure portal](https://aka.ms/hybridmachineportal).
8791

8892
## Connect hybrid machines to Azure by using PowerShell
8993

90-
For servers enabled with Azure Arc, you can take manual steps mentioned above to enable them for one or more Windows or Linux machines in your environment. Alternatively, you can use the PowerShell cmdlet Connect-AzConnectedMachine to download the Connected Machine agent, install the agent, and register the machine with Azure Arc. The cmdlet downloads the Windows agent package (Windows Installer) from the Microsoft Download Center, and the Linux agent package from the Microsoft package repository.
91-
Refer to the linked document to discover the required steps to install the [Arc agent via PowerShell](../azure-arc/servers/onboard-powershell.md)
94+
For servers that are enabled with Azure Arc, you can take the previously mentioned manual steps to enable them for one or more Windows or Linux machines in your environment.
95+
96+
Alternatively, you can use the PowerShell cmdlet `Connect-AzConnectedMachine` to download the Azure Connected Machine agent, install the agent, and register the machine with Azure Arc. The cmdlet downloads the Windows agent package (Windows Installer) from the Microsoft Download Center, and it downloads the Linux agent package from the Microsoft package repository.
97+
98+
Refer to the linked document to discover the required steps to install the [Azure Arc agent via PowerShell](../azure-arc/servers/onboard-powershell.md).
9299

93100
## Connect hybrid machines to Azure from Windows Admin Center
94101

95-
You can enable Azure Arc-enabled servers for one or more Windows machines in your environment manually or use the Windows Admin Center to deploy the Connected Machine agent and register your on-premises servers without having to perform any steps outside of this tool. [Learn more](../azure-arc/servers/onboard-windows-admin-center.md) about installing Arc agent via the Windows Admin Center.
102+
You can enable Azure Arc-enabled servers for one or more Windows machines in your environment manually, or you can use the Windows Admin Center to deploy the Azure Connected Machine agent and register your on-premises servers without having to perform any steps outside of this tool. For more information about installing the Azure Arc agent via Windows Admin Center, see [Connect hybrid machines to Azure from Windows Admin Center](../azure-arc/servers/onboard-windows-admin-center.md).
96103

97104
## Next steps
98105

99-
- Install [Azure Monitor agent](connection-monitor-install-azure-monitor-agent.md).
106+
- [Install Azure Monitor Agent](connection-monitor-install-azure-monitor-agent.md)

0 commit comments

Comments
 (0)