Updated on 2024-12-24 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.

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

    Cloud Service

    Select DDoS - Instance ID from the drop-down list box.

    Resource Level

    Select the resource dimension to be monitored.

    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

    Select a notification policy based on the site requirements.

  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 > Anti-DDoS Service.

    Figure 2 Selecting a service

  5. On the Cloud Service Monitoring Details page, choose Anti-DDoS Service > Instance ID.
  6. Locate the row that contains the object to be monitored, and click Create Alarm Rule.
  7. 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 3 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.

    Cloud Service

    Retain the default value.

    Resource Level

    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 Method

    Select a notification mode as required.

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