Updated on 2024-07-30 GMT+08:00

Creating Monitoring Alarm Rules

Scenarios

You can set alarm rules to customize the monitored objects and notification policies to stay aware of the DDM running status in a timely manner.

DDM alarm rules include alarm rule names, resource types, dimensions, monitored objects, metrics, alarm thresholds, monitoring intervals, and whether to send notifications.

Procedure

  1. Log in to the DDM console.
  2. Click Service List, choose Management & Governance > Cloud Eye.
  3. In the navigation pane on the left, choose Cloud Service Monitoring > Distributed Database Middleware.
  4. In the instance list, locate the required instance and click on the left of the instance. Select a node and click Create Alarm Rule in the Operation column.

    Figure 1 Creating an alarm rule

  5. On the displayed page, configure required parameters.

    Figure 2 Alarm rules
    Table 1 Alarm rule parameters

    Parameter

    Description

    Name

    Specifies the name of the policy. The system generates a random name and you can modify it.

    Description

    (Optional) Provides supplementary information about the alarm rule.

    Method

    Select an associated template, use an existing template or create a custom template as required.

    If you select Configure manually, you can configure Alarm Policy and Alarm Severity as required.

    NOTE:

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

    Figure 3 Alarm Notification
    Table 2 Alarm notification parameters

    Parameter

    Description

    Alarm Notification

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

    Notification Recipient

    You can select a notification group or topic subscription as required.

    • Notification group

      Specifies the notification group that needs to send alarm notifications.

    • Topic subscription

      Specifies the object that receives alarm notifications. You can select the account contact or a topic.

      • Account contact is the mobile phone number and email address of the registered account.
      • A topic is used to publish messages and subscribe to notifications. If the required topic is unavailable, create one first and add subscriptions to it. For details, see Creating a Topic and Adding Subscriptions.

    Notification Window

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

    If Notification Window is set to 08:00-20:00, Cloud Eye sends notifications only within 08:00-20:00.

    Trigger Condition

    Specifies the condition for triggering an alarm notification. You can select Generated alarm (when an alarm is generated), Cleared alarm (when an alarm is cleared), or both.

    Alarm notifications sent by SMN will be billed. .

    Figure 4 Advanced Settings
    Table 3 Advanced settings

    Parameter

    Description

    Enterprise Project

    Specifies the enterprise project that the alarm rule belongs to. Only users with the enterprise project permissions can view and manage the alarm rule.

  6. After the configuration is complete, click Create.

    After the alarm rule is created, Cloud Eye immediately informs you that an exception has occurred when the metric data reaches the specified threshold.