HEALTH

Icon

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by jon-funk

Icon 2 Codecollection: rw-cli-codecollection


Checks VM Scale Set key metrics and returns a 1 when healthy, or 0 when not healthy.

Tasks:
  • Check Scale Set `${VMSCALESET}` Key Metrics In Resource Group `${AZ_RESOURCE_GROUP}`

Icon 1 3 Troubleshooting Commands

Icon 2 Contributed by jon-funk

Icon 2 Codecollection: rw-cli-codecollection


Runs diagnostic checks against virtual machine scaled sets and generates reports from key metrics.

Tasks:
  • Check Scale Set `VMSCALESET` Key Metrics In Resource Group `AZ_RESOURCE_GROUP`
  • Fetch VM Scale Set `VMSCALESET` Config In Resource Group `AZ_RESOURCE_GROUP`
  • Fetch Activities for VM Scale Set `VMSCALESET` In Resource Group `AZ_RESOURCE_GROUP`

Icon 1 6 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-cli-codecollection


Queries the health status of an App Service, and returns 0 when it's not healthy, and 1 when it is.

Tasks:
  • Check for Resource Health Issues Affecting App Service `${APP_SERVICE_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
  • Check App Service `${APP_SERVICE_NAME}` Health Check Metrics In Resource Group `${AZ_RESOURCE_GROUP}`
  • Check App Service `${APP_SERVICE_NAME}` Configuration Health In Resource Group `${AZ_RESOURCE_GROUP}`
  • Check Deployment Health of App Service `${APP_SERVICE_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
  • Fetch App Service `${APP_SERVICE_NAME}` Activities In Resource Group `${AZ_RESOURCE_GROUP}`
  • Generate App Service Health Score

Icon 1 8 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-cli-codecollection


Triages an Azure App Service and its workloads, checking its status and logs and verifying key metrics.

Tasks:
  • Check for Resource Health Issues Affecting App Service `APP_SERVICE_NAME` In Resource Group `AZ_RESOURCE_GROUP`
  • Check App Service `APP_SERVICE_NAME` Health Check Metrics In Resource Group `AZ_RESOURCE_GROUP`
  • Fetch App Service `APP_SERVICE_NAME` Utilization Metrics In Resource Group `AZ_RESOURCE_GROUP`
  • Get App Service `APP_SERVICE_NAME` Logs In Resource Group `AZ_RESOURCE_GROUP`
  • Check Configuration Health of App Service `APP_SERVICE_NAME` In Resource Group `AZ_RESOURCE_GROUP`
  • Check Deployment Health of App Service `APP_SERVICE_NAME` In Resource Group `AZ_RESOURCE_GROUP`
  • Fetch App Service `APP_SERVICE_NAME` Activities In Resource Group `AZ_RESOURCE_GROUP`
  • Check Logs for Errors in App Service `APP_SERVICE_NAME` In Resource Group `AZ_RESOURCE_GROUP`

Icon 1 4 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-cli-codecollection


Generates a composite score about the health of an AKS cluster using the AZ CLI. Returns a 1 if all checks pass, 0 if they all fail, and value between 0 and 1 for partial success/fail. Checks the upstream service for reported errors. Looks for Critical or Error activities within a specified time period. Checks the overall configuration for provisioning failures.

Tasks:
  • Check for Resource Health Issues Affecting AKS Cluster `${AKS_CLUSTER}` In Resource Group `${AZ_RESOURCE_GROUP}`
  • Fetch Activities for AKS Cluster `${AKS_CLUSTER}` In Resource Group `${AZ_RESOURCE_GROUP}`
  • Check Configuration Health of AKS Cluster `${AKS_CLUSTER}` In Resource Group `${AZ_RESOURCE_GROUP}`
  • Generate AKS Cluster Health Score

Icon 1 4 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-cli-codecollection


Runs diagnostic checks against an AKS cluster.

Tasks:
  • Check for Resource Health Issues Affecting AKS Cluster `AKS_CLUSTER` In Resource Group `AZ_RESOURCE_GROUP`
  • Check Configuration Health of AKS Cluster `AKS_CLUSTER` In Resource Group `AZ_RESOURCE_GROUP`
  • Check Network Configuration of AKS Cluster `AKS_CLUSTER` In Resource Group `AZ_RESOURCE_GROUP`
  • Fetch Activities for AKS Cluster `AKS_CLUSTER` In Resource Group `AZ_RESOURCE_GROUP`