Редактиране

Споделяне чрез


Create Resource Health alerts in the Azure portal

This article shows you how to set up activity log alerts for resource health notifications in 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 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 notifications are stored in the Azure activity log Given the possibly large volume of information stored in the activity log, there's a separate user interface to make it easier to view and set up alerts on resource health notifications.

You can receive an alert when an Azure resource sends resource health notifications to your Azure subscription. You can configure the alert based on:

  • The subscription affected.
  • The resource types affected.
  • The resource groups affected.
  • The resources affected.
  • The event statuses of the resources affected.
  • The resources statuses affected.
  • The types of reasons of the resources affected.

You also can configure who the alert should be sent to. Select an existing action group or a new action group (that can be used for future alerts).

To learn more about action groups, see Azure Monitor action groups.

For information on how to configure resource health notification alerts by using Azure Resource Manager templates, see Resource Manager templates.

Create a Resource Health alert rule in the Azure portal

  1. In the Azure portal, select Service Health.

    :::source="./media/resource-health-alert-monitor-guide/service-health-selection.png" type="content" image alt-text="Screenshot showing Service Health Selection." :::

  2. In the Resource Health section, select Resource Health.

  3. Select Add resource health alert.

  4. The Create an alert rule wizard opens to the Conditions tab, with the Scope tab already populated. Follow the steps for Resource Health alerts, starting from the Conditions tab, in the new alert rule wizard.

Next steps

Learn more about Resource Health:

Create Service Health Alerts: