mcpField
A
azure-network-watcher

azure-network-watcher

github.com/microsoftdocsCloud & DevOps796184 installsUpdated 3d ago
Repository

About azure-network-watcher

azure-network-watcher is an Agent skill for people diagnosing, monitoring, and configuring Azure Network Watcher. It combines local reference material with remote documentation fetching on troubleshooting, security, migration, and automation.

Key features

  1. 01Connection and VPN troubleshooting
  2. 02Monitoring and flow log migration guidance
  3. 03Packet capture and limits
  4. 04RBAC and flow log security
  5. 05Flow log and monitoring configuration
  6. 06Terraform, KQL, and Functions integrations

Use cases

  1. 01Diagnosing outbound connectivity or VPN issues
  2. 02Migrating from NSG to VNet flow logs
  3. 03Configuring packet capture and access permissions
  4. 04Querying Traffic Analytics with KQL

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-network-watcher

After installing, type/azure-network-watcherin Claude Code to confirm it loaded.

Details

From the project README

Azure Network Watcher Skill

This skill provides expert guidance for Azure Network Watcher. Covers troubleshooting, decision making, limits & quotas, security, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.

How to Use This Skill

IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g., L35-L120), use read_file with the specified lines. For categories with file links (e.g., [security.md](security.md)), use read_file on the linked reference file

IMPORTANT for Agent: If metadata.generated_at is more than 3 months old, suggest the user pull the latest version from the repository. If mcp_microsoftdocs tools are not available, suggest the user install it: Installation Guide

This skill requires network access to fetch documentation content:

  • Preferred: Use mcp_microsoftdocs:microsoft_docs_fetch with query string from=learn-agent-skill. Returns Markdown.
  • Fallback: Use fetch_webpage with query string from=learn-agent-skill&accept=text/markdown. Returns Markdown.

Category Index

CategoryLinesDescription
TroubleshootingL34-L44Diagnosing and fixing outbound connectivity, NSG/admin rule issues, and VPN gateway/on-prem VPN problems, plus automating VPN monitoring with Azure Network Watcher.
Decision MakingL45-L51Guidance for migrating network monitoring: moving from classic Connection Monitor and Network Performance Monitor tests, and switching NSG flow logs to VNet flow logs.
Limits & QuotasL52-L56How to configure and run Network Watcher packet capture, storage and filtering options, and the key limits/quotas (size, duration, concurrency) that apply to captures
SecurityL57-L65Securing Network Watcher: RBAC and least-privilege setup, Zero Trust segmentation with Traffic Analytics, investigating security issues, and protecting VNet flow logs with managed identities.
ConfigurationL66-L81Configuring and managing Network Watcher agents and VNet/NSG flow logs, including schemas, filtering, Traffic Analytics, AKS monitoring, and deployment via ARM, Bicep, and Azure Policy
Integrations & Coding PatternsL82-L87Using Network Watcher programmatically: triggering packet captures from Functions alerts, querying Traffic Analytics with KQL, and provisioning VNet flow logs via Terraform.
Troubleshooting
TopicURL
Diagnose outbound connection issues with Network Watcherhttps://learn.microsoft.com/en-us/azure/network-watcher/connection-troubleshoot-manage
Troubleshoot NSG and admin rules with NSG diagnosticshttps://learn.microsoft.com/en-us/azure/network-watcher/diagnose-network-security-rules
Resolve common Azure Network Watcher issueshttps://learn.microsoft.com/en-us/azure/network-watcher/frequently-asked-questions
Diagnose on-premises VPN connectivity to Azure with Network Watcherhttps://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-diagnose-on-premises-connectivity
Automate VPN connectivity monitoring with Azure Automation and Network Watcherhttps://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-monitor-with-azure-automation
Troubleshoot VPN gateways and connections with Azure CLIhttps://learn.microsoft.com/en-us/azure/network-watcher/vpn-troubleshoot-cli
Troubleshoot VPN gateways and connections with PowerShellhttps://learn.microsoft.com/en-us/azure/network-watcher/vpn-troubleshoot-powershell
Decision Making
TopicURL
Migrate from Connection Monitor classic to new Connection Monitorhttps://learn.microsoft.com/en-us/azure/network-watcher/migrate-to-connection-monitor-from-connection-monitor-classic
Migrate tests from Network Performance Monitor to Connection Monitorhttps://learn.microsoft.com/en-us/azure/network-watcher/migrate-to-connection-monitor-from-network-performance-monitor
Migrate from NSG flow logs to VNet flow logshttps://learn.microsoft.com/en-us/azure/network-watcher/nsg-flow-logs-migrate
Limits & Quotas
TopicURL
Use Network Watcher packet capture and understand its limitshttps://learn.microsoft.com/en-us/azure/network-watcher/packet-capture-overview
Security
TopicURL
Configure RBAC permissions for Azure Network Watcherhttps://learn.microsoft.com/en-us/azure/network-watcher/rbac-permissions
Secure Azure Network Watcher deployment and data accesshttps://learn.microsoft.com/en-us/azure/network-watcher/secure-network-watcher
Investigate network security issues with Traffic Analytics promptshttps://learn.microsoft.com/en-us/azure/network-watcher/traffic-analytics-insights
Apply Zero Trust segmentation using Traffic Analyticshttps://learn.microsoft.com/en-us/azure/network-watcher/traffic-analytics-zero-trust
Secure VNet flow logs with managed identitieshttps://learn.microsoft.com/en-us/azure/network-watcher/vnet-flow-logs-managed-identity
Configuration
TopicURL
Install and manage Azure Monitor Agent on Arc servershttps://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-install-azure-monitor-agent
Understand Connection Monitor Log Analytics data schemashttps://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-schema
Configure and manage Network Watcher Agent VM extensionhttps://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-agent-manage
Configure and manage Azure NSG flow logshttps://learn.microsoft.com/en-us/azure/network-watcher/nsg-flow-logs-manage
Govern Traffic Analytics with Azure Policyhttps://learn.microsoft.com/en-us/azure/network-watcher/traffic-analytics-policy-portal
Understand Traffic Analytics schema and aggregationhttps://learn.microsoft.com/en-us/azure/network-watcher/traffic-analytics-schema
Configure AKS traffic monitoring with VNet flow logshttps://learn.microsoft.com/en-us/azure/network-watcher/vnet-flow-logs-aks-scenarios
Deploy Network Watcher flow logs with Bicephttps://learn.microsoft.com/en-us/azure/network-watcher/vnet-flow-logs-bicep
Configure filtering for Azure VNet flow logshttps://learn.microsoft.com/en-us/azure/network-watcher/vnet-flow-logs-filtering
Configure and manage Azure virtual network flow logshttps://learn.microsoft.com/en-us/azure/network-watcher/vnet-flow-logs-manage
Enforce VNet flow logs with Azure Policyhttps://learn.microsoft.com/en-us/azure/network-watcher/vnet-flow-logs-policy
Deploy Network Watcher flow logs via ARM templatehttps://learn.microsoft.com/en-us/azure/network-watcher/vnet-flow-logs-template
Integrations & Coding Patterns
TopicURL
Trigger Network Watcher packet captures from Azure Functions alertshttps://learn.microsoft.com/en-us/azure/network-watcher/packet-capture-alert-triggered
Analyze Traffic Analytics data with KQL querieshttps://learn.microsoft.com/en-us/azure/network-watcher/traffic-analytics-queries
Provision Azure VNet flow logs with Terraformhttps://learn.microsoft.com/en-us/azure/network-watcher/vnet-flow-logs-terraform

Comments

Markdown supported