Apply an alert template to application groups

更新时间:
复制 MD 格式

If you have a large number of resources, we recommend that you add these resources to application groups. Then, you can create alert templates and apply them to the application groups. Alert templates allow you to create and manage alert rules in an efficient manner. Alert templates must be used together with application groups. You can apply alert templates to application groups to create alert rules for resources from different services.

Prerequisites

An alert template is created. For more information, see Create an alert template.

Background information

After you apply an alert template to an application group, Cloud Monitor automatically deletes the existing alert rules and creates new alert rules based on the alert template.

Procedure

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Cloud Resource Monitoring > Application Groups.

  3. On the Application Groups tab, select the application groups to which you want to apply an alert template and click Apply Templates.

  4. In the Apply Templates to Groups dialog box, select an alert template and configure the Mute For, Effective Period, Alert Callback, and Priority parameters.

    To test the connectivity of the alert callback URL, perform these steps:

    1. Click Test next to the callback URL.

      In the Webhook Test panel, you can check the connectivity of the alert callback URL and troubleshoot issues based on the returned status code and test result details.

      Note

      You can also set the Callback Template Type and Language for the webhook and then click Test again to view the test result details.

    2. Click Close.

  5. Click Confirm.

    In the section of each application group, you can view the name of the associated alert template.