HEALTH

Icon

Icon 1 3 Troubleshooting Commands

Icon 2 Contributed by jon-funk

Icon 2 Codecollection: rw-cli-codecollection


Performs a health check on Azure Application Gateways and the backend pools used by them, generating a report of issues and next steps.

Tasks:
  • Check Application Gateway `APPGATEWAY` Health Status In Resource Group `AZ_RESOURCE_GROUP`
  • Check AppService `APPGATEWAY` Key Metrics In Resource Group `AZ_RESOURCE_GROUP`
  • Fetch Application Gateway `APPGATEWAY` Config In Resource Group `AZ_RESOURCE_GROUP`

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by jon-funk

Icon 2 Codecollection: rw-cli-codecollection


Queries the health of an Azure Application Gateway, returning 1 when it's healthy and 0 when it's unhealthy.

Tasks:
  • Check AppService `${APPGATEWAY}` Health Status 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 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 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`

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 5 Troubleshooting Commands

Icon 2 Contributed by jon-funk

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 AppService `APPSERVICE` Health Status In Resource Group `AZ_RESOURCE_GROUP`
  • Check AppService `APPSERVICE` Key Metrics In Resource Group `AZ_RESOURCE_GROUP`
  • Get AppService `APPSERVICE` Logs In Resource Group `AZ_RESOURCE_GROUP`
  • Fetch App Service `APPSERVICE` Config In Resource Group `AZ_RESOURCE_GROUP`
  • Scan AppService `APPSERVICE` Activities In Resource Group `AZ_RESOURCE_GROUP`

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by jon-funk

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 AppService `${APPSERVICE}` Health Status In Resource Group `${AZ_RESOURCE_GROUP}`