Updated on 2024-09-26 GMT+08:00

Configuring Monitoring Alarm Rules

You can set 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 CNAD 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 Metrics.

Prerequisites

Purchasing a CNAD 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 by referring to Table 1.

    Figure 1 Configuring Monitoring Alarm Rules
    Table 1 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-Package 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 or Customize.

    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

    Object to which the alarm notification is sent. Select an object 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 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. Choose Cloud Service Monitoring > Anti-DDoS Service.

    Figure 2 Selecting a service

  5. On the Cloud Service Monitoring Details page, choose Anti-DDoS Service > Protection Package.
  6. Locate the row that contains the object to be monitored, and click Create Alarm Rule.
  7. Enter the alarm rule information by referring to Table 2.

    Figure 3 Configuring monitoring alarm rules
    Table 2 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.

    Alert 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 or Customize.

    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 Type

    Select a notification method as required.

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