Configure resource health alerts using Azure portal
This article shows you how to set up activity log alerts for resource health notifications by using the Azure portal.
Azure Resource Health keeps you informed about the current and historical health status of your Azure resources. Azure Resource Health alerts can notify you in near real-time when these resources have a change in their health status. Creating Resource Health alerts programmatically allow for users to create and customize alerts in bulk.
Resource Health alerts currently are in preview.
Resource health notifications are stored in the Azure activity log Given the possibly large volume of information stored in the activity log, there is a separate user interface to make it easier to view and set up alerts on resource health notifications. You can receive an alert when Azure resource sends resource health notifications to your Azure subscription. You can configure the alert based on:
- The subscription affected.
- The resource(s) type(s) affected.
- The resource group(s) affected.
- The resource(s) affected.
- The event status(s) of the resource(s) affected.
- The resource(s) affected statuses.
- The reason(s) type(s) of the resource(s) affected.
You also can configure who the alert should be sent to:
- Select an existing action group.
- Create a new action group (that can be used for future alerts).
To learn more about action groups, see Create and manage action groups.
For information on how to configure resource health notification alerts by using Azure Resource Manager templates, see Resource Manager templates. Resource Health Alert using Azure portal
Resource Health Alert Using Azure Portal
In the Azure portal, select Service Health.
In the Resource Health section, select Service Health.
Select Add resource health alert and fill in the fields.
Under Alert target, select the Subscription, Resource Types, Resource Groups and Resource you want to be alerted for.
Under alert condition select:
- The Event Status you want to be alerted for. The severity level of the event: Active, Resolved, In Progress, Updated
- The Resource Status you want to be alerted for. The resource status of the event: Available, Unavailable, Unknown, Degraded
- The Reason Type you want to be alerted for. The cause of the event: Platform Initiated, User Initiated
Under Define alert details, provide the following details:
- Alert rule name: The name for the new alert rule.
- Description: The description for the new alert rule.
- Save alert to resource group: Select the resource group where you want to save this new rule.
Under Action group, from the drop-down menu, specify the action group that you want to assign to this new alert rule. Or, create a new action group and assign it to the new rule. To create a new group, select + New group.
To enable the rules after you create them, select Yes for the Enable rule upon creation option.
Select Create alert rule.
The new alert rule for the activity log is created, and a confirmation message appears in the upper-right corner of the window. You can enable, disable, edit, or delete a rule. Learn more about how to manage activity log rules.
Learn more about Resource Health:
- Azure Resource Health overview
- Resource types and health checks available through Azure Resource Health
Create Service Health Alerts: