Updated on 2026-01-31 GMT+08:00

Notification Policies

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.

Scenario

When system performance metrics (such as the CPU, memory, and disk usage) exceed thresholds, application APIs do not respond to requests properly, service metrics (such as the order volume and user activeness) fluctuate abnormally, or the cloud resource usage is about to reach the upper limit, AOM sends notifications to the O&M, development, or service team by email, SMS, or phone call. This enables fast responses and troubleshooting, ensuring stable system running.

Prerequisites

To obtain SMN topics when creating a notification rule, you must obtain the smn:topic:list permission in advance. For details, see SMN Permissions.

Creating a Topic

  1. Log in to the Simple Message Notification (SMN).
  2. In the navigation pane on the left, choose Topic Management > Topics and click Create Topic.

    The following table lists mandatory parameters only. For other parameters, retain the default settings. For details, see Creating a Topic.

    Table 1 Parameters for creating a topic

    Parameter

    Example Value

    Description

    Topic Name

    aom

    Name of the topic to be created.

    Enterprise Project

    default

    Enterprise project.

  3. Click OK. Then, click Add Subscription in the Operation column of the aom topic to add a subscriber, that is, the recipient of the notification (for example, email or SMS). For details, see Adding a Subscription to a Topic.

Configuring an Alarm Notification Rule

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

    Table 2 Alarm notification rule parameters

    Parameter

    Example Value

    Description

    Notification Rule Name

    rule

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

    Enterprise Project

    default

    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 enterprise project is created.

    Description

    -

    Description of the notification rule. Enter up to 1,024 characters and do not start or end with an underscore (_). Only digits, letters, spaces, underscores, and asterisks (*) are allowed. This parameter is optional.

    Rule Type

    Prometheus monitoring

    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.

    Rule Settings

    Simple

    You can select Simple or Orchestrated. In this example, select Simple to directly configure the notification scope.

    Recipient

    Subscription topic

    aom

    SMN topic. Select a desired topic from the drop-down list. Select the topic created in Creating a Topic.

    Days

    Monday

    On which days alarm notifications will be sent.

    Valid From

    08:00-20:00

    Alarm notifications are only sent during the configured validity period.

    Message Template

    aom.built-in.template.en

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

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

  1. Click OK. You can also perform the following operations:

    • Go to the Alarm Noise Reduction page, create a grouping rule, and associate it with the notification rule. Notifications will then be sent based on the selected notification rule.
    • Go to the Alarm Rules page, set an alarm rule, and associate it with the notification rule to monitor the resource status in real time.