Token导航 LogoToken导航TokenDH.com
云服务external-servicegithub未标认证来源可访问许可证需确认审计通过

azure-resource-health-diagnoseAzure resource health diagnose 问题管理

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

198,821

周安装

8,258

GitHub Stars

31,726

下载量

66,360
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:azure-resource-health-diagnose(Azure resource health diagnose 问题管理)
来源仓库:https://github.com/github/awesome-copilot
仓库路径:skills/azure-resource-health-diagnose
安装命令:
npx skills add https://github.com/github/awesome-copilot --skill azure-resource-health-diagnose
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/github/awesome-copilot --skill azure-resource-health-diagnose

简介

诊断 Azure 资源运行状况问题并生成优先修复计划。

  • 分析 8 种以上 Azure 服务类型(Web 应用程序、VM、Cosmos DB、存储、SQL 数据库、Application Insights、Key Vault、服务总线)的资源状态、日志和遥测
  • 针对 Log Analytics 和 Application Insights 执行有针对性的 KQL 查询,以识别错误、性能下降和异常
  • 按严重性(严重、高、中、低)对问题进行分类,并跨配置、资源、网络、应用程序和安全域执行根本原因分析
  • 生成分阶段的修复计划,其中包括立即采取的行动、短期修复、长期改进以及用于实施的特定 Azure CLI 命令

SKILL.md

Azure Resource Health & Issue Diagnosis

This workflow analyzes a specific Azure resource to assess its health status, diagnose potential issues using logs and telemetry data, and develop a comprehensive remediation plan for any problems discovered.

Prerequisites

  • Azure MCP server configured and authenticated
  • Target Azure resource identified (name and optionally resource group/subscription)
  • Resource must be deployed and running to generate logs/telemetry
  • Prefer Azure MCP tools (azmcp-*) over direct Azure CLI when available

Workflow Steps

Step 1: Get Azure Best Practices

Action: Retrieve diagnostic and troubleshooting best practices Tools: Azure MCP best practices tool Process:

  1. Load Best Practices:

- Execute Azure best practices tool to get diagnostic guidelines - Focus on health monitoring, log analysis, and issue resolution patterns - Use these practices to inform diagnostic approach and remediation recommendations

Step 2: Resource Discovery & Identification

Action: Locate and identify the target Azure resource Tools: Azure MCP tools + Azure CLI fallback Process:

  1. Resource Lookup:

- If only resource name provided: Search across subscriptions using azmcp-subscription-list - Use az resource list --name <resource-name> to find matching resources - If multiple matches found, prompt user to specify subscription/resource group - Gather detailed resource information: - Resource type and current status - Location, tags, and configuration - Associated services and dependencies

  1. Resource Type Detection:

- Identify resource type to determine appropriate diagnostic approach: - Web Apps/Function Apps: Application logs, performance metrics, dependency tracking - Virtual Machines: System logs, performance counters, boot diagnostics - Cosmos DB: Request metrics, throttling, partition statistics - Storage Accounts: Access logs, performance metrics, availability - SQL Database: Query performance, connection logs, resource utilization - Application Insights: Application telemetry, exceptions, dependencies - Key Vault: Access logs, certificate status, secret usage - Service Bus: Message metrics, dead letter queues, throughput

Step 3: Health Status Assessment

Action: Evaluate current resource health and availability Tools: Azure MCP monitoring tools + Azure CLI Process:

  1. Basic Health Check:

- Check resource provisioning state and operational status - Verify service availability and responsiveness - Review recent deployment or configuration changes - Assess current resource utilization (CPU, memory, storage, etc.)

  1. Service-Specific Health Indicators:

- Web Apps: HTTP response codes, response times, uptime - Databases: Connection success rate, query performance, deadlocks - Storage: Availability percentage, request success rate, latency - VMs: Boot diagnostics, guest OS metrics, network connectivity - Functions: Execution success rate, duration, error frequency

Step 4: Log & Telemetry Analysis

Action: Analyze logs and telemetry to identify issues and patterns Tools: Azure MCP monitoring tools for Log Analytics queries Process:

  1. Find Monitoring Sources:

- Use azmcp-monitor-workspace-list to identify Log Analytics workspaces - Locate Application Insights instances associated with the resource - Identify relevant log tables using azmcp-monitor-table-list

  1. Execute Diagnostic Queries: Use azmcp-monitor-log-query with targeted KQL queries based on resource type: General Error Analysis: // Recent errors and exceptions union isfuzzy=true AzureDiagnostics, AppServiceHTTPLogs, AppServiceAppLogs, AzureActivity | where TimeGenerated > ago(24h) | where Level == "Error" or ResultType!= "Success" | summarize ErrorCount=count() by Resource, ResultType, bin(TimeGenerated, 1h) | order by TimeGenerated desc Performance Analysis: // Performance degradation patterns Perf | where TimeGenerated > ago(7d) | where ObjectName == "Processor" and CounterName == "% Processor Time" | summarize avg(CounterValue) by Computer, bin(TimeGenerated, 1h) | where avg_CounterValue > 80 Application-Specific Queries: // Application Insights - Failed requests requests | where timestamp > ago(24h) | where success == false | summarize FailureCount=count() by resultCode, bin(timestamp, 1h) | order by timestamp desc // Database - Connection failures AzureDiagnostics | where ResourceProvider == "MICROSOFT.SQL" | where Category == "SQLSecurityAuditEvents" | where action_name_s == "CONNECTION_FAILED" | summarize ConnectionFailures=count() by bin(TimeGenerated, 1h)
  2. Pattern Recognition:

- Identify recurring error patterns or anomalies - Correlate errors with deployment times or configuration changes - Analyze performance trends and degradation patterns - Look for dependency failures or external service issues

Step 5: Issue Classification & Root Cause Analysis

Action: Categorize identified issues and determine root causes Process:

  1. Issue Classification:

- Critical: Service unavailable, data loss, security breaches - High: Performance degradation, intermittent failures, high error rates - Medium: Warnings, suboptimal configuration, minor performance issues - Low: Informational alerts, optimization opportunities

  1. Root Cause Analysis:

- Configuration Issues: Incorrect settings, missing dependencies - Resource Constraints: CPU/memory/disk limitations, throttling - Network Issues: Connectivity problems, DNS resolution, firewall rules - Application Issues: Code bugs, memory leaks, inefficient queries - External Dependencies: Third-party service failures, API limits - Security Issues: Authentication failures, certificate expiration

  1. Impact Assessment:

- Determine business impact and affected users/systems - Evaluate data integrity and security implications - Assess recovery time objectives and priorities

Step 6: Generate Remediation Plan

Action: Create a comprehensive plan to address identified issues Process:

  1. Immediate Actions (Critical issues):

- Emergency fixes to restore service availability - Temporary workarounds to mitigate impact - Escalation procedures for complex issues

  1. Short-term Fixes (High/Medium issues):

- Configuration adjustments and resource scaling - Application updates and patches - Monitoring and alerting improvements

  1. Long-term Improvements (All issues):

- Architectural changes for better resilience - Preventive measures and monitoring enhancements - Documentation and process improvements

  1. Implementation Steps:

- Prioritized action items with specific Azure CLI commands - Testing and validation procedures - Rollback plans for each change - Monitoring to verify issue resolution

Step 7: User Confirmation & Report Generation

Action: Present findings and get approval for remediation actions Process:

  1. Display Health Assessment Summary: 🏥 Azure Resource Health Assessment 📊 Resource Overview: • Resource: [Name] ([Type]) • Status: [Healthy/Warning/Critical] • Location: [Region] • Last Analyzed: [Timestamp] 🚨 Issues Identified: • Critical: X issues requiring immediate attention • High: Y issues affecting performance/reliability • Medium: Z issues for optimization • Low: N informational items 🔍 Top Issues: 1. [Issue Type]: [Description] - Impact: [High/Medium/Low] 2. [Issue Type]: [Description] - Impact: [High/Medium/Low] 3. [Issue Type]: [Description] - Impact: [High/Medium/Low] 🛠️ Remediation Plan: • Immediate Actions: X items • Short-term Fixes: Y items • Long-term Improvements: Z items • Estimated Resolution Time: [Timeline] ❓ Proceed with detailed remediation plan? (y/n)
  2. Generate Detailed Report: ``` # Azure Resource Health Report: [Resource Name] **Generated**: [Timestamp] **Resource**: [Full Resource ID] **Overall Health**: [Status with color indicator] ## 🔍 Executive Summary [Brief overview of health status and key findings] ## 📊 Health Metrics - **Availability**: X% over last 24h - **Performance**: [Average response time/throughput] - **Error Rate**: X% over last 24h - **Resource Utilization**: [CPU/Memory/Storage percentages] ## 🚨 Issues Identified ### Critical Issues - **[Issue 1]**: [Description] - **Root Cause**: [Analysis] - **Impact**: [Business impact] - **Immediate Action**: [Required steps] ### High Priority Issues - **[Issue 2]**: [Description] - **Root Cause**: [Analysis] - **Impact**: [Performance/reliability impact] - **Recommended Fix**: [Solution steps] ## 🛠️ Remediation Plan ### Phase 1: Immediate Actions (0-2 hours) `bash # Critical fixes to restore service [Azure CLI commands with explanations] `` Phase 2: Short-term Fixes (2-24 hours) # Performance and reliability improvements [Azure CLI commands with explanations] Phase 3: Long-term Improvements (1-4 weeks) # Architectural and preventive measures [Azure CLI commands and configuration changes] 📈 Monitoring Recommendations ✅ Validation Steps 📝 Prevention Measures `

- Alerts to Configure: [List of recommended alerts] - Dashboards to Create: [Monitoring dashboard suggestions] - Regular Health Checks: [Recommended frequency and scope] - Verify issue resolution through logs - Confirm performance improvements - Test application functionality - Update monitoring and alerting - Document lessons learned - [Recommendations to prevent similar issues] - [Process improvements] - [Monitoring enhancements]

Error Handling

  • Resource Not Found: Provide guidance on resource name/location specification
  • Authentication Issues: Guide user through Azure authentication setup
  • Insufficient Permissions: List required RBAC roles for resource access
  • No Logs Available: Suggest enabling diagnostic settings and waiting for data
  • Query Timeouts: Break down analysis into smaller time windows
  • Service-Specific Issues: Provide generic health assessment with limitations noted

Success Criteria

  • ✅ Resource health status accurately assessed
  • ✅ All significant issues identified and categorized
  • ✅ Root cause analysis completed for major problems
  • ✅ Actionable remediation plan with specific steps provided
  • ✅ Monitoring and prevention recommendations included
  • ✅ Clear prioritization of issues by business impact
  • ✅ Implementation steps include validation and rollback procedures

适合场景

01

Azure 资源规划

02

云服务升级

03

基础设施检查

04

企业云环境自动化

能力概览

能力 1

整理 Azure 服务操作流程

能力 2

提示 CLI/MCP 前置条件

能力 3

辅助云资源检查和规划

能力 4

保留官方服务来源线索

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.45%
按下载量换算24,188

Claude

28.04%
按下载量换算18,607

Cursor

18.66%
按下载量换算12,383

Gemini CLI

8.19%
按下载量换算5,435

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills