Updated on 2024-04-25 GMT+08:00

Configuring Monitoring Alarm Rules

You can set AAD alarm rules to customize the monitored objects and notification policies, and set parameters such as the alarm rule name, monitored object, metric, threshold, monitoring scope, and whether to send notifications. This helps you learn the AAD protection status in a timely manner.

For details about how to set monitoring alarms for multiple instances or protected IP addresses, see Setting Monitoring Alarm Rules in Batches. For details about how to set monitoring alarms for a specified instance or protected IP address, see Setting Monitoring Alarm Rules for a Specified Resource.

If you need to customize more metrics, you can report them to Cloud Eye through API requests. For details, see Adding Monitoring Data and AAD Monitoring Metrics.

Prerequisite

Purchasing an AAD Instance

Setting Monitoring Alarm Rules in Batches

  1. Log in to the management console.
  2. Click in the upper left corner of the displayed page to select a region.
  3. Hover your mouse over in the upper left corner of the page and choose Management & Governance > Cloud Eye.
  4. In the navigation pane on the left, choose Alarm Management > Alarm Rules.
  5. In the upper right corner of the page, click Create Alarm Rule.
  6. Enter the alarm rule information, as shown in Configuring AAD alarm rules. For details about how to enter the alarm rule information, see Table 1.

    Figure 1 Configuring AAD alarm rules
    Table 1 AAD alarm rule parameters

    Parameter

    Description

    Name

    Name of the rule. The system generates a random name and you can modify it.

    Description

    Description about the rule.

    Alarm Type

    Alarm type

    Resource Type

    Select DDoS from the drop-down list box.

    Dimension

    Select the resource dimension to be monitored.

    • Instance ID: indicates the instance dimension.
    • Instance ID-Protected IP address: indicates the IP address dimension.

    Monitoring Scope

    Scope where the alarm rule applies to. You can select All resources, Resource groups or Specific resources.

    Method

    You can select Associate template, Use existing template, or Configure manually. For details about how to create a custom template, see Creating a Custom Template.

    NOTE:

    After an associated template is modified, the policies contained in this alarm rule to be created will be modified accordingly.

    Template

    Select a template.

    Alarm Notification

    Whether to notify users when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS message.

    Notification Recipient

    Specifies the receiving method of the alarm notification. You can select Notification group or Topic subscription.

    • Account contact is the mobile phone number and email address provided for registration.
    • A topic is used to publish messages and subscribe to notifications. If the required topic is unavailable, create one and add subscriptions to it on the SMN console. For details, see Creating a Topic and Adding Subscriptions.

    Notification Group (Valid when Notification Recipient is set to Notification group)

    Select the group to be notified.

    Topic subscription (Valid when Notification Recipient is set to Topic subscription)

    Select a notification topic.

    Notification Window

    Cloud Eye sends notifications only within the notification window specified in the alarm rule.

    Trigger Condition

    Condition for triggering the alarm notification. Select Generated alarm when an alarm is generated or Cleared alarm when an alarm is triggered, or both.

  7. Click Create. In the displayed dialog box, click OK.

Setting Monitoring Alarm Rules for a Specified Resource

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Hover your mouse over in the upper left corner of the page and choose Management & Governance > Cloud Eye.
  4. In the navigation pane on the left, choose Cloud Service Monitoring > DDoS. The Advanced Anti-DDoS page is displayed.

    Figure 2 AAD monitoring

  5. Locate the row that contains the object to be monitored, and click Create Alarm Rule.

    Figure 3 Selecting the monitored object

  6. Enter the alarm rule information, as shown in Configuring AAD alarm rules. For details about how to enter the alarm rule information, see Table 2.

    Figure 4 Configuring AAD alarm rules
    Table 2 AAD alarm rule parameters

    Parameter

    Description

    Workspace Name

    Name of the rule. The system generates a random name and you can modify it.

    Description

    Description about the rule.

    Alarm Type

    Retain the default value.

    Resource Type

    Retain the default value.

    Dimension

    Retain the default value.

    Monitoring Scope

    Retain the default value.

    Monitored objects

    Retain the default value.

    Method

    You can select Associate template, Use existing template, or Configure manually. For details about how to create a custom template, see Creating a Custom Template.

    NOTE:

    After an associated template is modified, the policies contained in this alarm rule to be created will be modified accordingly.

    Template

    Select a template.

    Alarm Notification

    Whether to notify users when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS message.

    Notification Recipient

    Specifies the receiving method of the alarm notification. You can select Notification group or Topic subscription.

    • Account contact is the mobile phone number and email address provided for registration.
    • A topic is used to publish messages and subscribe to notifications. If the required topic is unavailable, create one and add subscriptions to it on the SMN console. For details, see Creating a Topic and Adding Subscriptions.

    Notification Group (Valid when Notification Recipient is set to Notification group)

    Select the group to be notified.

    Topic subscription (Valid when Notification Recipient is set to Topic subscription)

    Select a notification topic.

    Notification Window

    Cloud Eye sends notifications only within the notification window specified in the alarm rule.

    Trigger Condition

    Condition for triggering the alarm notification. Select Generated alarm when an alarm is generated or Cleared alarm when an alarm is triggered, or both.

  7. Click Create. In the displayed dialog box, click OK.