Updated on 2025-09-03 GMT+08:00

Creating an AOM Alarm Notification Rule

You can create an alarm notification rule and associate it with an SMN topic and a message template. If the log/resource/metric data meets the alarm condition, the system sends an alarm notification based on the associated SMN topic and message template.

Prerequisites

Constraints

  • You can create up to 1,000 alarm notification rules. If this limit has been reached, delete unnecessary rules.

Creating an Alarm Notification Rule

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Alarm Center > Alarm Notification.
  3. In the right pane, click the Notification Rules tab and click Create.
  4. Set the notification rule name, type, and other parameters by referring to Table 1.

    Figure 1 Creating an alarm notification rule
    Table 1 Alarm notification rule parameters

    Parameter

    Description

    Notification Rule Name

    Name of the notification rule. Enter up to 100 characters and do not start or end with an underscore (_) or hyphen (-). Only digits, letters, underscores, and hyphens are allowed.

    Enterprise Project

    Enterprise project.

    • If Enterprise Project is set to All on the global settings page, select an enterprise project from the drop-down list here.
    • If you have already selected an enterprise project on the global settings page, this option will be grayed and cannot be changed.
    • To select the newly created enterprise project during the creation of an alarm notification rule, wait for about 10 minutes after the rule is created.

    Description

    Description of the rule. Enter up to 1,024 characters.

    Rule Type

    Notification rule type.

    • Prometheus monitoring

      If a metric or event meets the alarm condition, the system sends an alarm notification based on the associated SMN topic and message template.

    • Log monitoring

      If the log data meets the alarm condition, the system sends an alarm notification based on the associated SMN topic and message template.

    Topic

    SMN topic. Select your desired topic from the drop-down list.

    If there is no topic you want to select, create one on the SMN console.

    Message Template

    Notification message template. Select your desired template from the drop-down list.

    AOM provides preset message templates. If the preset templates do not meet requirements, click Create Template to create a template. For details, see Creating AOM Alarm Message Templates.

  1. After the settings are complete, click OK. The rule is created. You can then perform the following operations:

More Operations

After an alarm notification rule is created, you can perform operations described in Table 2.

Table 2 Related operations

Operation

Description

Modifying an alarm notification rule

Click Modify in the Operation column.

Deleting an alarm notification rule

  • Deleting a single rule: Click Delete in the Operation column of the rule. Then, click OK.
  • Deleting one or more rules: Select the check boxes of the rules and click Delete. Then, click OK.

Notes:

  • Before deleting an alarm notification rule, you need to delete the alarm rule or grouping rule bound to it.
  • If an alarm notification rule is deleted, alarm notifications cannot be received in a timely manner.
  • To delete alarm notification rules in batches, ensure that they are under the same enterprise project.

Searching for alarm notification rules

You can filter alarm notification rules by rule name, description, rule type, enterprise project, update time, and message template, or enter a keyword to search.