您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

使用 Azure 门户创建有关服务通知的活动日志警报Create activity log alerts on service notifications using the Azure portal

概述Overview

本文介绍如何使用 Azure 门户为服务运行状况通知设置活动日志警报。This article shows you how to use the Azure portal to set up activity log alerts for service health notifications by using the Azure portal.

服务运行状况通知存储在 Azure 活动日志中。Service health notifications are stored in the Azure activity log. 鉴于活动日志中存储的信息量很大,因此有一个单独的用户界面,以便更轻松地查看和设置有关服务运行状况通知的警报。Given the 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 service health notifications.

当 Azure 将服务运行状况通知发送到 Azure 订阅时,可以收到警报。You can receive an alert when Azure sends service health notifications to your Azure subscription. 可以基于以下内容配置警报:You can configure the alert based on:

  • 服务运行状况通知的类别(服务问题、计划内维护、运行状况公告、安全公告)。The class of service health notification (Service issues, Planned maintenance, Health advisories, Security advisories).
  • 受影响的订阅。The subscription affected.
  • 受影响的服务。The service(s) affected.
  • 受影响的区域。The region(s) affected.

备注

服务运行状况通知不发送资源运行状况事件的警报。Service health notifications do not send alerts for resource health events.

还可以配置向其发送警报的人员: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.

有关如何使用 Azure 资源管理器模板配置服务运行状况通知警报的信息,请参阅资源管理器模板For information on how to configure service health notification alerts by using Azure Resource Manager templates, see Resource Manager templates.

观看有关设置第一个 Azure 服务运行状况警报的视频Watch a video on setting up your first Azure Service Health alert

使用 Azure 门户创建服务运行状况警报Create Service Health alert using Azure portal

  1. 门户中,选择“服务运行状况”。In the portal, select Service Health.

    “服务运行状况”服务

  2. 在“警报”部分中,选择“运行状况警报”。In the Alerts section, select Health alerts.

    “运行状况警报”选项卡

  3. 选择“添加服务运行状况警报”,并填写字段。Select Add service health alert and fill in the fields.

    “创建服务运行状况警报”命令

  4. 选择要针对其发出警报的“订阅”、“服务”和“区域”。Select the Subscription, Services, and Regions for which you want to be alerted.

    “添加活动日志警报”对话框The "Add activity log alert" dialog box

备注

此订阅用于保存活动日志警报。This subscription is used to save the activity log alert. 警报资源部署到此订阅,并在其中监视活动日志事件。The alert resource is deployed to this subscription and monitors events in the activity log for it.

  1. 选择要针对其发出警报的事件类型: 服务问题、计划内维护、运行状况公告和安全公告。Choose the Event types you want to be alerted for: Service issue, Planned maintenance, Health advisories, and Security advisory.

  2. 单击“选择操作组”以选择现有操作组或创建新的操作组。Click Select action group to choose an existing action group or to create a new action group. 有关操作组的详细信息,请参阅在 Azure 门户中创建和管理操作组For more information on action groups, see Create and manage action groups in the Azure portal.

  3. 通过输入警报规则名称说明定义警报详细信息。Define your alert details by entering an Alert rule name and Description.

  4. 选择要将警报保存到的资源组Select the Resource group where you want the alert to be saved.

在几分钟内,警报将处于活动状态,并根据创建期间指定的条件开始触发。Within a few minutes, the alert is active and begins to trigger based on the conditions you specified during creation.

了解如何为现有问题管理系统配置 Webhook 通知Learn how to Configure webhook notifications for existing problem management systems. 有关活动日志警报的 webhook 架构的信息,请参阅 Azure 活动日志警报的 WebhookFor information on the webhook schema for activity log alerts, see Webhooks for Azure activity log alerts.

后续步骤Next steps