Skip to content

Commit 4de7233

Browse files
authored
Merge pull request #214145 from MicrosoftDocs/fix-network-watcher
[ASK MODE] Reverting Network Watcher
2 parents 30a441e + d77c3a3 commit 4de7233

8 files changed

+46
-111
lines changed

articles/network-watcher/network-watcher-connectivity-overview.md

Lines changed: 13 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,60 +2,22 @@
22
title: Introduction to Azure Network Watcher Connection Troubleshoot | Microsoft Docs
33
description: This page provides an overview of the Network Watcher connection troubleshooting capability
44
services: network-watcher
5-
author: shijaiswal
5+
documentationcenter: na
6+
author: damendo
67
ms.service: network-watcher
78
ms.topic: article
89
ms.tgt_pltfrm: na
9-
ms.custom: ignite-2022
1010
ms.workload: infrastructure-services
11-
ms.date: 10/12/2022
12-
ms.author: shijaiswal
11+
ms.date: 07/11/2017
12+
ms.author: damendo
1313
---
1414

1515
# Introduction to connection troubleshoot in Azure Network Watcher
1616

17-
With the increase in sophisticated and high-performance workloads into Azure, there's a critical need for increased visibility and control over the operational state of complex networks running these workloads. With limited visibility, diagnosis of issues such as connectivity issues becomes difficult as there is minimum control.
18-
19-
The Connection troubleshoot feature of Network Watcher provides the capability to check a direct TCP connection from a virtual machine to a virtual machine (VM), fully qualified domain name (FQDN), URI, or IPv4 address. Network scenarios are complex, they're implemented using network security groups, firewalls, user-defined routes, and resources provided by Azure. Complex configurations make troubleshooting connectivity issues challenging. Network Watcher helps reduce the amount of time to find and detect connectivity issues. The results returned can provide insights into whether a connectivity issue is due to a platform or a user configuration issue. Connectivity can be checked with the [Azure portal](network-watcher-connectivity-portal.md), [PowerShell](network-watcher-connectivity-powershell.md), [Azure CLI](network-watcher-connectivity-cli.md), and [REST API](network-watcher-connectivity-rest.md).
20-
21-
The current capabilities of Connection troubleshoot entail the following:
22-
- Check connectivity between source (VM) and destination (VM, URI, FQDN, IP Address).
23-
- Identify configuration issues that impact reachability.
24-
- Provide all possible hop by hop paths from the source to destination.
25-
- Hop by hop latency.
26-
- Latency - minimum, maximum, and average between source and destination.
27-
- A topology (graphical) view from your source to destination.
28-
- Number of packets dropped during the connection troubleshoot check.
29-
30-
:::image type="content" source="./media/network-watcher-connectivity-portal/network-watcher-graph-view.png" alt-text="Screenshot of graph view of Connection troubleshoot capabilities.":::
31-
32-
Connection troubleshoot can detect the following types of issues that can impact connectivity:
33-
34-
- High VM CPU utilization
35-
- High VM memory utilization
36-
- Virtual machine (guest) firewall rules blocking traffic
37-
- DNS resolution failures
38-
- Misconfigured or missing routes
39-
- NSG rules that are blocking traffic
40-
- Inability to open a socket at the specified source port
41-
- Missing address resolution protocol entries for Azure Express Route circuits
42-
- No servers listening on designated destination ports
43-
44-
Microsoft Azure Network Watcher provides numerous specialized standalone tools to diagnose and troubleshoot connectivity cases such as
45-
- *[IP Flow Verify](network-watcher-ip-flow-verify-overview.md)* to detect blocked traffic due to NSG rules restriction.
46-
- *[Next Hop](network-watcher-next-hop-overview.md)* to determine intended traffic as per the rules of the effective route.
47-
- *Port Scanner* to determine any port that is blocking traffic.
48-
However, there was no mechanism to perform all the connectivity checks in a single location.
49-
50-
The enhanced Connection troubleshoot feature brings all the above functionality in one place as a comprehensive method of performing all major checks, specifically issues pertaining to NSG, UDR, and blocked ports and reduces the Mean Time To Resolution (MTTR). It also provides actionable insights where a step-by-step guide or corresponding documentation is provided for faster resolution.
17+
The connection troubleshoot feature of Network Watcher provides the capability to check a direct TCP connection from a virtual machine to a virtual machine (VM), fully qualified domain name (FQDN), URI, or IPv4 address. Network scenarios are complex, they are implemented using network security groups, firewalls, user-defined routes, and resources provided by Azure. Complex configurations make troubleshooting connectivity issues challenging. Network Watcher helps reduce the amount of time to find and detect connectivity issues. The results returned can provide insights into whether a connectivity issue is due to a platform or a user configuration issue. Connectivity can be checked with [PowerShell](network-watcher-connectivity-powershell.md), [Azure CLI](network-watcher-connectivity-cli.md), and [REST API](network-watcher-connectivity-rest.md).
5118

5219
> [!IMPORTANT]
53-
>
54-
> Ensure that the `AzureNetworkWatcherExtension` VM extension is installed on the VM that you troubleshoot from.
55-
> - To install the extension on a Windows VM, see [Azure Network Watcher Agent virtual machine extension for Windows](../virtual-machines/extensions/network-watcher-windows.md?toc=%2fazure%2fnetwork-watcher%2ftoc.json)
56-
> - To install the extension on a Linux VM, see [Azure Network Watcher Agent virtual machine extension for Linux](../virtual-machines/extensions/network-watcher-linux.md?toc=%2fazure%2fnetwork-watcher%2ftoc.json).
57-
>
58-
> The extension isn't required on the destination endpoint.
20+
> Connection troubleshoot requires that the VM you troubleshoot from has the `AzureNetworkWatcherExtension` VM extension installed. For installing the extension on a Windows VM visit [Azure Network Watcher Agent virtual machine extension for Windows](../virtual-machines/extensions/network-watcher-windows.md?toc=%2fazure%2fnetwork-watcher%2ftoc.json) and for Linux VM visit [Azure Network Watcher Agent virtual machine extension for Linux](../virtual-machines/extensions/network-watcher-linux.md?toc=%2fazure%2fnetwork-watcher%2ftoc.json). The extension is not required on the destination endpoint.
5921
6022
## Response
6123

@@ -64,16 +26,16 @@ The following table shows the properties returned when connection troubleshoot h
6426
|Property |Description |
6527
|---------|---------|
6628
|ConnectionStatus | The status of the connectivity check. Possible results are **Reachable** and **Unreachable**. |
67-
|AvgLatencyInMs | Average latency during the connectivity check, in milliseconds. (Only shown if check status is reachable) |
68-
|MinLatencyInMs | Minimum latency during the connectivity check, in milliseconds. (Only shown if check status is reachable) |
69-
|MaxLatencyInMs | Maximum latency during the connectivity check, in milliseconds. (Only shown if check status is reachable) |
29+
|AvgLatencyInMs | Average latency during the connectivity check in milliseconds. (Only shown if check status is reachable) |
30+
|MinLatencyInMs | Minimum latency during the connectivity check in milliseconds. (Only shown if check status is reachable) |
31+
|MaxLatencyInMs | Maximum latency during the connectivity check in milliseconds. (Only shown if check status is reachable) |
7032
|ProbesSent | Number of probes sent during the check. Max value is 100. |
7133
|ProbesFailed | Number of probes that failed during the check. Max value is 100. |
7234
|Hops | Hop by hop path from source to destination. |
7335
|Hops[].Type | Type of resource. Possible values are **Source**, **VirtualAppliance**, **VnetLocal**, and **Internet**. |
7436
|Hops[].Id | Unique identifier of the hop.|
7537
|Hops[].Address | IP address of the hop.|
76-
|Hops[].ResourceId | ResourceID of the hop if the hop is an Azure resource. If it's an internet resource, ResourceID is **Internet**. |
38+
|Hops[].ResourceId | ResourceID of the hop if the hop is an Azure resource. If it is an internet resource, ResourceID is **Internet**. |
7739
|Hops[].NextHopIds | The unique identifier of the next hop taken.|
7840
|Hops[].Issues | A collection of issues that were encountered during the check at that hop. If there were no issues, the value is blank.|
7941
|Hops[].Issues[].Origin | At the current hop, where issue occurred. Possible values are:<br/> **Inbound** - Issue is on the link from the previous hop to the current hop<br/>**Outbound** - Issue is on the link from the current hop to the next hop<br/>**Local** - Issue is on the current hop.|
@@ -83,7 +45,7 @@ The following table shows the properties returned when connection troubleshoot h
8345
|Hops[].Issues[].Context[].key |Key of the key value pair returned.|
8446
|Hops[].Issues[].Context[].value |Value of the key value pair returned.|
8547

86-
The following is an example of an issue found on a Hop.
48+
The following is an example of an issue found on a hop.
8749

8850
```json
8951
"Issues": [
@@ -102,7 +64,7 @@ The following is an example of an issue found on a Hop.
10264
```
10365
## Fault types
10466

105-
The Connection troubleshoot feature returns fault types about the connection. The following table lists the current fault types returned.
67+
Connection troubleshoot returns fault types about the connection. The following table provides a list of the current fault types returned.
10668

10769
|Type |Description |
10870
|---------|---------|
@@ -115,4 +77,4 @@ The Connection troubleshoot feature returns fault types about the connection. Th
11577

11678
### Next steps
11779

118-
Learn how to troubleshoot connections using the [Azure portal](network-watcher-connectivity-portal.md), [PowerShell](network-watcher-connectivity-powershell.md), the [Azure CLI](network-watcher-connectivity-cli.md), or [REST API](network-watcher-connectivity-rest.md).
80+
Learn how to troubleshoot connections using the [Azure portal](network-watcher-connectivity-portal.md), [PowerShell](network-watcher-connectivity-powershell.md), the [Azure CLI](network-watcher-connectivity-cli.md), or [REST API](network-watcher-connectivity-rest.md).

articles/network-watcher/network-watcher-connectivity-portal.md

Lines changed: 27 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -3,83 +3,57 @@ title: Troubleshoot connections - Azure portal
33
titleSuffix: Azure Network Watcher
44
description: Learn how to use the connection troubleshoot capability of Azure Network Watcher using the Azure portal.
55
services: network-watcher
6-
author: shijaiswal
6+
documentationcenter: na
7+
author: damendo
78
ms.service: network-watcher
89
ms.topic: troubleshooting
10+
ms.tgt_pltfrm: na
911
ms.workload: infrastructure-services
10-
ms.custom: ignite-2022
11-
ms.date: 10/12/2022
12-
ms.author: shijaiswal
12+
ms.date: 01/04/2021
13+
ms.author: damendo
1314
---
1415

1516
# Troubleshoot connections with Azure Network Watcher using the Azure portal
1617

17-
This article describes the procedure to use Connection troubleshoot to verify whether a direct connection from a virtual machine to a destination can be established.
18+
> [!div class="op_single_selector"]
19+
> - [Portal](network-watcher-connectivity-portal.md)
20+
> - [PowerShell](network-watcher-connectivity-powershell.md)
21+
> - [Azure CLI](network-watcher-connectivity-cli.md)
22+
> - [Azure REST API](network-watcher-connectivity-rest.md)
1823
19-
## Prerequisites
24+
Learn how to use connection troubleshoot to verify whether a direct TCP connection from a virtual machine to a given endpoint can be established.
2025

21-
Ensure that you have the following:
26+
## Before you begin
27+
28+
This article assumes you have the following resources:
2229

2330
* An instance of Network Watcher in the region you want to troubleshoot a connection.
2431
* Virtual machines to troubleshoot connections with.
2532

2633
> [!IMPORTANT]
27-
>
28-
> Ensure that the `AzureNetworkWatcherExtension` VM extension is installed on the VM that you troubleshoot from.
29-
> - To install the extension on a Windows VM, see [Azure Network Watcher Agent virtual machine extension for Windows](../virtual-machines/extensions/network-watcher-windows.md)
30-
> - To install the extension on a Linux VM, see [Azure Network Watcher Agent virtual machine extension for Linux](../virtual-machines/extensions/network-watcher-linux.md).
31-
>
32-
> The extension isn't required on the destination endpoint.
34+
> Connection troubleshoot requires that the VM you troubleshoot from has the `AzureNetworkWatcherExtension` VM extension installed. For installing the extension on a Windows VM visit [Azure Network Watcher Agent virtual machine extension for Windows](../virtual-machines/extensions/network-watcher-windows.md?toc=%2fazure%2fnetwork-watcher%2ftoc.json) and for Linux VM visit [Azure Network Watcher Agent virtual machine extension for Linux](../virtual-machines/extensions/network-watcher-linux.md?toc=%2fazure%2fnetwork-watcher%2ftoc.json). The extension is not required on the destination endpoint.
3335
3436
## Check connectivity to a virtual machine
3537

36-
To check the connectivity to a destination virtual machine over port 80 follow these steps:
37-
38-
1. In Network Watcher, select **Connection troubleshoot**.
39-
2. In the **Source** section, enter the details of the virtual machine that you want to check connectivity from:
40-
1. Select the **Subscription** to which the VM belongs.
41-
2. Select the **Resource group** within the subscription.
42-
3. Select the type of the source machine from the **Source type** drop-down. The source can be a Virtual machine, Application Gateway, or a Bastion host.
43-
3. In the **Destination** section,
44-
1. Select the **Destination type** as **Virtual machine**.
45-
2. Select the **Resource group** to which the destination machine belongs.
46-
3. The **Virtual machine** drop-down lists the virtual machines belonging to the same resource group as the source VM. Select the destination virtual machine from the drop-down list.
47-
4. Provide the Probe information in the **Probe Settings** section.
48-
1. Select the **Preferred IP version** to be used. You can choose IPv4, IPv6, or both.
49-
2. Select the probing **Protocol**.
50-
1. If you chose **TCP**, enter the value of the **Destination port**.
51-
2. Enter the value of the **Source port**. This is an optional field.
52-
3. Select **Test connection**.
53-
4. If you chose **ICMP**, select **Test connection**.
54-
55-
Connection troubleshoot checks the connectivity between the virtual machines on the specified port.
56-
The results of the connectivity test are available in the [**Connection troubleshoot Result**](#connection-troubleshoot-result) section.
57-
58-
:::image type="content" source="./media/network-watcher-connectivity-portal/network-watcher-tcp-selection.png" alt-text="Screenshot of Connection troubleshoot screen with values selected.":::
38+
This example checks connectivity to a destination virtual machine over port 80.
5939

60-
## Check remote endpoint connectivity
40+
Navigate to your Network Watcher and click **Connection troubleshoot**. Select the virtual machine to check connectivity from. In the **Destination** section choose **Select a virtual machine** and choose the correct virtual machine and port to test.
6141

62-
To check the connectivity and latency to a remote endpoint, follow these steps:
42+
Once you click **Check**, connectivity between the virtual machines on the port specified is checked. In the example, the destination VM is unreachable, a listing of hops are shown.
6343

64-
1. In Network Watcher, select **Connection troubleshoot**.
65-
2. In the **Source** section, enter the details of the virtual machine that you want to check connectivity from:
66-
1. Select the **Subscription** to which the VM belongs.
67-
2. Select the **Resource group** within the subscription.
68-
3. Select the type of the source machine from the **Source type** drop-down. The source can be a Virtual machine, Application Gateway, or a Bastion host..
69-
3. Choose **Specify manually** in the **Destination type** section.
70-
4. Enter the URI, FQDN, or IP address and select **Test connection**.
44+
![Check connectivity results for a virtual machine][1]
7145

72-
This method of checking connectivity is used for remote endpoints like websites and storage endpoints. The results of the connectivity test are available in the [**Connection troubleshoot Result**](#connection-troubleshoot-result) section.
46+
## Check remote endpoint connectivity
7347

74-
## Connection troubleshoot result
48+
To check the connectivity and latency to a remote endpoint, choose the **Specify manually** radio button in the **Destination** section, input the url and the port and click **Check**. This is used for remote endpoints like websites and storage endpoints.
7549

76-
This section provides actionable insights with a step-by-step guide to resolve issues. It also shows the status of the connection and provides details such as latency, hops, details of tests performed, their status, and the steps to mitigate the issues.
50+
![Check connectivity results for a web site][2]
7751

78-
For each test with a *Failed* or *Warning* status, the **Connection troubleshoot Result** table provides links to specific articles in the documentation to assist the users in resolving issues.
52+
## Next steps
7953

80-
:::image type="content" source="./media/network-watcher-connectivity-portal/network-watcher-unsuccessful.png" alt-text="Screenshot of Results table for unsuccessful connection.":::
54+
Learn how to automate packet captures with Virtual machine alerts by viewing [Create an alert triggered packet capture](network-watcher-alert-triggered-packet-capture.md)
8155

82-
## Next steps
56+
Find if certain traffic is allowed in or out of your VM by visiting [Check IP flow verify](diagnose-vm-network-traffic-filtering-problem.md)
8357

84-
- Automate packet captures with Virtual machine alerts using [Create an alert triggered packet capture](network-watcher-alert-triggered-packet-capture.md).
85-
- Check the type of traffic that is allowed in or out of your VM using [Check IP flow verify](diagnose-vm-network-traffic-filtering-problem.md).
58+
[1]: ./media/network-watcher-connectivity-portal/figure1.png
59+
[2]: ./media/network-watcher-connectivity-portal/figure2.png

0 commit comments

Comments
 (0)