If an existing alert rule cannot meet your requirements for the metrics of a specific cloud service, you can modify the alert rule.

Procedure

  1. Log on to the CloudMonitor 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 Create Alert Rule panel, set the parameters. The following table describes the parameters.
    ParameterDescription
    Rule DescriptionThe content of the alert rule. The parameters in this section specify the conditions that trigger an alert. To modify the rule description, perform the following steps:
    1. Find the description that you want to modify, and click the Modify icon.
    2. In the Add Rule Description panel, specify the rule name, metrics, thresholds, alert levels, and notification methods.
    3. Click OK.
    Note For information about how to specify complex alert conditions, see Alert rule expressions.
    Mute ForThe interval at which CloudMonitor sends alert notifications until the alert that is triggered based on the alert rule is cleared. Valid values: 5 Minutes, 15 Minutes, 30 Minutes, 60 Minutes, 3 Hours, 6 Hours, 12 Hours, and 24 Hours.

    If the threshold value is exceeded, CloudMonitor sends an alert notification. If the threshold value is exceeded again within the mute period, CloudMonitor does not resend an alert notification. If the alert is not cleared after the mute period ends, CloudMonitor resends an alert notification.

    For example, if the Mute For parameter is set to 12 Hours and the alert is not cleared, Cloud Monitor resends an alert notification after 12 hours.

    Effective PeriodThe period during which the alert rule is effective. CloudMonitor monitors the metrics and generates alerts only if the alert rule is effective.
    Alert Contact GroupThe alert contact group to which alert notifications are sent.

    The alert notifications of the application group are sent to the alert contacts that belong to the selected alert contact group. An alert contact group can contain one or more alert contacts.

    For information about how to create an alert contact and an alert contact group, see Create an alert contact or alert contact group.

    Alert Callback

    The URL that is used to receive the alert notifications sent from CloudMonitor by using HTTP POST requests. The URL must be accessible over the Internet. You can enter only an HTTP URL. For information about how to configure alert callbacks, see Use the alert callback feature to send notifications about threshold-triggered alerts.

    To test the connectivity of an alert callback URL, perform the following steps:
    1. Click Test next to the the callback URL.
      In the WebHook test panel, you can check and troubleshoot the connectivity of the alert callback URL based on the returned status code and test result details.
      Note To obtain the details of the test result, configure the Template Type and Language parameters and click Test.
    2. Click Close.
    Note You can click Advanced Settings to configure this parameter.
    Auto ScalingIf you turn on Auto Scaling and an alert is triggered, the specified scaling rule is enabled. In this case, you must configure the Region, ESS Group, and ESS Rule parameters.
    Note You can click Advanced Settings to configure this parameter.
    Log ServiceIf you turn on Log Service and an alert is triggered, the alert information is written to the specified Logstore in Log Service. In this case, you must configure the Region, ProjectName, and Logstore parameters.

    For information about how to create a project and a Logstore, see Getting Started.

    Note You can click Advanced Settings to configure this parameter.
    Message Service - topicIf you turn on Message Service - topic and an alert is triggered, the alert information is written to the specified topic in Message Service (MNS). In this case, you must configure the Region and topicName parameters.

    For information about how to create a topic, see Create a topic.

    Note You can click Advanced Settings to configure this parameter.
    Method to handle alerts when no monitoring data is foundThe method that is used to handle alerts when no monitoring data is found. Valid values:
    • Do not do anything (default value)
    • Send alert notifications
    • Treated as normal
    Note You can click Advanced Settings to configure this parameter.
    TagThe tags of the alert rule. A tag consists of a name and a value.
  5. Click OK.