Azure Proactive Resiliency Library v2
Tools Glossary GitHub GitHub Issues Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

activityLogAlerts

Summary

RecommendationImpactCategoryAutomation AvailableIn Azure Advisor
Configure Resource Health AlertsLowMonitoring and AlertingNoNo
Configure Service Health AlertsHighMonitoring and AlertingYesNo

Details


Configure Resource Health Alerts

Impact:  Low Category:  Monitoring and Alerting

APRL GUID:  be448849-0d7d-49ba-9c94-9573ee533d5d

Description:

Configure Resource Health Alerts for all applicable resources to stay informed about the current and historical health status of your Azure resources. They notify you when these resources have a change in their health status.

Potential Benefits:

Stay informed on resource status
Learn More:
Resource Health
Configure Resource Health alerts in the Azure portal
Alerts Health

ARG Query:

Click the Azure Resource Graph tab to view the query

// cannot-be-validated-with-arg



Configure Service Health Alerts

Impact:  High Category:  Monitoring and Alerting

APRL GUID:  9729c89d-8118-41b4-a39b-e12468fa872b

Description:

Service health gives a personalized health view of Azure services and regions used, offering the best place for notifications on outages, planned maintenance, and health advisories by knowing the services used.

Potential Benefits:

Proactive outage and maintenance alerts
Learn More:
What is Azure Service Health?
Configure alerts for service health events

ARG Query:

Click the Azure Resource Graph tab to view the query

// Azure Resource Graph Query
// This resource graph query will return all subscriptions without Service Health alerts configured.

resourcecontainers
| where type == 'microsoft.resources/subscriptions'
| project subscriptionAlerts=tostring(id),name,tags
| join kind=leftouter (
  resources
  | where type == 'microsoft.insights/activitylogalerts' and properties.condition contains "ServiceHealth"
  | extend subscriptions = properties.scopes
  | project subscriptions
  | mv-expand subscriptions
  | project subscriptionAlerts = tostring(subscriptions)
) on subscriptionAlerts
| where isempty(subscriptionAlerts1)
| project-away subscriptionAlerts1
| project recommendationId = "9729c89d-8118-41b4-a39b-e12468fa872b",id=subscriptionAlerts,name,tags