Skill 5.1.6

Use Azure Network Watcher and Connection monitor

Key Concepts

Network Watcher is enabled automatically in each region with a VNet. Its diagnostic tools include IP flow verify (is a packet allowed, and by which rule), NSG diagnostics, next hop (where a packet is routed), effective security rules, connection troubleshoot (a one-time test between a source and destination), packet capture (records traffic on a VM or scale set with the Network Watcher extension) and VPN troubleshoot. Topology shows resources and their relationships. VNet flow logs record IP traffic through a VNet to a storage account and feed traffic analytics; new NSG flow logs cannot be created since 30 June 2025, and NSG flow logs retire on 30 September 2027.

Connection monitor runs periodic tests from sources (Azure VMs and scale sets with the Network Watcher extension, or on-premises machines with the Azure Monitor Agent) to destinations (VMs, URLs, IP addresses or FQDNs) over TCP, HTTP or ICMP. A test group combines sources, destinations and a test configuration with thresholds for checks failed and round-trip time. Results are stored in Log Analytics, shown with the hop-by-hop topology, and can trigger metric alerts.