Updated on 2025-11-28 GMT+08:00

Configuring Event Alarm Rules

Scenarios

Event monitoring provides event data reporting, query, and alarm reporting. When there are specified events, you will receive alarm notifications and learn about the running status of your resources. You can set alarm rules for system and custom events. When a specified event occurs, Cloud Eye automatically sends an alarm notification. This helps you quickly identify and address issues.

Procedure

  1. Log in to the Cloud Eye console.
  2. In the navigation pane on the left, choose Event Monitoring.
  3. Click Create Alarm Rule in the upper right corner.

    If you want to create an alarm rule for a specific event, locate the event in the event list and click Create Alarm Rule in the Operation column. On the Create Alarm Rule page, the required parameters have been configured for that event.

  4. On the Create Alarm Rule page, configure basic information about the alarm rule.
    Table 1 Basic parameters

    Parameter

    Description

    Name

    Name of the alarm rule. The system already generates a random name. You can modify it. The rule name can contain up to 128 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.

    Description

    (Optional) Alarm rule description. It can contain up to 256 characters.

  5. Select an object to be monitored and set alarm parameters.
    Figure 1 Configuring parameters
    Table 2 Parameter description

    Parameter

    Description

    Alarm Type

    Alarm type that the alarm rule applies to. The default value is Event.

    Event Type

    Event type, which can be System event or Custom event.

    Event Source

    Name of the cloud service that triggers the event.

    For a custom event, set Event Source to the value of event_source.

    Monitoring Scope

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

    If Event Type is set to System event, you can configure the monitoring scope. Resource groups is only available for the event source DDS, RDS, and DCS.

    Method

    Method used to create an alarm rule. If you select System event for Event Type, Method can be Associate template or Configure manually. If you select Custom event for Event Type, only Configure manually is available.

    • Configure manually: You can create a custom alarm policy as needed.
    • Associate template: If you need to configure the same alarm rule for multiple groups of resources under the same cloud product, you can use a template to avoid repeated configurations.

    Template

    If you set Method to Associate template, you need to select a template.

    You can select a default or custom template.

    Event Name

    A phrase that briefly describes an instantaneous operation triggering an alarm, such as login and logout.

    For a custom event, the event name is the value of event_name when the custom event is reported.

    Alarm Policy

    Policy for triggering an alarm.

    Alarm Severity

    Alarm severity. Valid values are Critical, Major, Minor, and Warning.

    Operation

    You can click Delete to delete the alarm rule.

  6. Set alarm notification parameters as instructed.
    Figure 2 Configuring the alarm notification

    Table 3 Alarm notification parameters

    Parameter

    Description

    Alarm Notifications

    Whether to send alarm notifications by SMS, email, FunctionGraph (function), FunctionGraph (workflow), WeCom, DingTalk, Lark, WeLink, HTTP, or HTTPS. This parameter is enabled by default.

    Notified By

    Notification method. The following options are available:

    • Notification groups: A notification group includes one or more notification channels for sending notifications to specified recipients. For details, see Creating a Recipient and Notification Group.
    • Topic subscriptions: You need to select recipients for alarm notifications. You can select either the account contact or a custom topic created in SMN.
    NOTE:

    Cloud Eye uses SMN for alarm notifications. If SMN has major delays, the alarm notifications may also be delayed.

    Notification Group

    If Notified By is set to Notification groups, you need to select the notification group to which alarm notifications will be sent. For details about how to create a notification group, see Creating a Recipient and Notification Group.

    Recipient

    Target recipient of alarm notifications. You can select the account contact or a topic. This parameter is available only if Notified By is set to Topic subscriptions. If there is a display name of a topic, the format is Topic name (Display name), and you can search for a topic by name or display name. If no display name is set for a topic, only the topic name will be displayed.

    • The 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 the notification window is set to 08:00-20:00, notifications are sent only within this specified time range.

    Time Zone

    Time zone for the alarm notification window. By default, it matches the time zone of the client, but can be manually configured.

    Trigger Condition

    When the alarm type is Event, you can select Generated alarm for Trigger Condition.

  7. Configure advanced settings.
    Figure 3 Advanced settings
    Table 4 Advanced settings

    Parameter

    Description

    Enterprise Project

    Enterprise project that the alarm rule belongs to. Only users with the enterprise project permissions can manage the alarm rule. To create an enterprise project, see Creating an Enterprise Project.

    Tag

    Key-value pairs that you can use to easily categorize and search for cloud resources. You are advised to create predefined tags in TMS. For details, see Creating Predefined Tags.

    If your organization has configured tag policies for Cloud Eye, add tags to alarm rules based on the tag policies. If you do not follow the policies, alarm rules may fail to be created. Contact your organization administrator to learn more about tag policies.

    • A key can contain a maximum of 128 characters, and a value can contain a maximum of 225 characters.
    • You can add up to 20 tags.
  8. Click Create.

    You can go to the Alarm Rules page to check the alarm rule you created and filter the new alarm rule by its name.