Manage alert rules

更新时间:
复制 MD 格式

After you create an alert rule, you can modify, disable, enable, and delete it. You can also view the alert history and promptly handle the alerting resources.

Modify an alert rule

If an alert rule no longer meets your requirements for the monitoring metrics of a cloud service, you can modify it.

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Alerts > Alert Rules.

  3. On the Alert Rules page, find the alert rule that you want to modify and click Modify in the Actions column.

  4. In the Modify Alert Rule panel, adjust the alert rule parameters.

    Note

    For more information about the parameters of an alert rule, see Parameters of an alert rule.

  5. Click Confirm.

Disable an alert rule

The default status of a new alert rule is Normal. If you need to stop a cloud service for maintenance or an upgrade, you can disable its alert rules to avoid unnecessary alert notifications during this time.

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Alerts > Alert Rules.

  3. Disable one or more alert rules.

    • To disable a single alert rule

      1. Find the target alert rule, click the 更多 icon in the Actions column, and then click Disable.

      2. In the Disable Alert Rule dialog box, click OK.

    • To disable multiple alert rules

      1. Select the check boxes of the target alert rules, and then click Disable in the lower-left corner.

      2. In the Disable Alert Rule dialog box, click OK.

Enable an alert rule

After you complete maintenance or an upgrade on a cloud service, you can enable its alert rules again. Once the rules are enabled, alert notifications automatically resume.

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Alerts > Alert Rules.

  3. Enable one or more alert rules.

    • To enable a single alert rule

      1. Find the target alert rule, click the 更多 icon in the Actions column, and then click Enable.

      2. In the Enable Alert Rule dialog box, click OK.

    • To enable multiple alert rules

      1. Select the check boxes of the target alert rules, and then click Enable in the lower-left corner.

      2. In the Enable Alert Rule dialog box, click OK.

Delete an alert rule

Deleting an alert rule stops its alert notifications.

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Alerts > Alert Rules.

  3. Delete one or more alert rules.

    • To delete a single alert rule

      1. Find the target alert rule, click the 更多 icon in the Actions column, and then click Delete.

      2. In the Delete Alert Rule dialog box, click OK.

    • To delete multiple alert rules

      1. Select the check boxes of the target alert rules, and then click Delete in the lower-left corner.

      2. In the Delete Alert Rule dialog box, click OK.

View alert history

View an alert rule's history and resource details to quickly locate and handle the alerting resources.

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Alerts > Alert Rules.

  3. On the Alert Rules page, find the target alert rule and click Alert History in the Actions column.

    On this page, you can view the rule's Details, Alert Contact Group, Alert History, and Alerting Resources.