All skills
microsoft avatar

/azure-diagnostics

@ae5e585
by microsoftmicrosoft/skills3.1k stars
351

Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, troubleshoot functions, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors, troubleshoot event hubs, troubleshoot service bus, messaging SDK error, AMQP connection failure, message lock lost, service bus dead letter.

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-diagnostics

This session only. Nothing lands on disk.

troubleshootingcomputereferencesnetwork-connectivity.md

≈651 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Network Connectivity Problems

Use when the VM is running but unreachable due to Azure network configuration: NSG, routing, NIC, public IP, or DNS.

Symptoms -> Solutions

Symptom OS Action Docs
no NSG allow for RDP/SSH Any Add inbound TCP 3389/22 from approved source RDP NSG
NIC and subnet NSGs conflict Any Traffic must pass both; inspect effective rules Traffic filter
UDR sends traffic to NVA Any Check effective routes and NVA forwarding Routing
no public IP Any Add public IP or use Bastion/private path Public IP
guest NIC disabled/down Windows/Linux Enable NIC via Run Command or Serial Console RDP NIC / SSH overview
static guest IP misconfig Windows/Linux Restore DHCP guest config Reset NIC / SSH overview
ghost NIC after disk swap/resize Windows Reset network interface Reset NIC
DNS failure Any Check DNS; Azure default is 168.63.129.16 DHCP

Quick Commands

az network nic list-effective-nsg --name <nic> -g <rg>
az network nic show-effective-route-table --name <nic> -g <rg> -o table
az vm list-ip-addresses --name <vm> -g <rg> -o table
az network watcher test-connectivity --source-resource <vm-resource-id> \
  --dest-address <ip> --dest-port <port> -g <rg>

Linux guest NIC commands use VM agent/extensions. Run Pre-Flight Safety Checks first.

az vm repair reset-nic --name <vm> -g <rg> --yes
az vm run-command invoke --name <vm> -g <rg> --command-id RunShellScript \
  --scripts "ip link show; ip addr show; ip link set eth0 up && dhclient eth0"

Source: SKILL.md on GitHub

1 warning15d4 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill is designed for Azure diagnostics and troubleshooting, providing a comprehensive set of guides and scripts that utilize standard tools like the Azure CLI and kubectl. It includes some security considerations, such as the ingestion of logs which provides a surface for indirect prompt injection, and the use of privileged debug pods for advanced diagnostics. These are used within the skill's intended functionality and are accompanied by appropriate guidance for user approval.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

  • Runlayer7mo

    4/4 files flagged

Signed by skilld at ae5e585. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
metadata
{
  "author": "Microsoft",
  "version": "1.2.6"
}

README badge

README badge for microsoft/skills/azure-diagnostics