Updated on 2022-06-01 GMT+08:00

Creating Notification Rules

Application Operations Management (AOM) supports alarm notification. You can use this function by creating notification rules. When alarms are reported due to an exception in AOM or an external service, alarm information can be sent to specified personnel by email or Short Message Service (SMS) message. In this way, these personnel can rectify faults in time to avoid service loss.

If no notification rules exist, no alarm notifications will be sent. In this case, you can only view alarms on the Alarm List page in the AOM console.

Procedure

After notification rules are created, SMS messages or emails are sent when the notification rules are met.

For example, to ensure that O&M personnel can receive notifications by email when the ICAgent on HostA, HostB, HostC, or HostD in Cluster1 is abnormal or fails to be installed, upgraded, or uninstalled, perform the following operations:

  1. Log in to the AOM console. In the navigation pane, choose Alarm Center > Notification Rules. Then, click Create Notification Rule in the upper right corner.
  2. Click Create SMN Topic and set a notification policy on the Simple Message Notification (SMN) console when AOM is interconnected with SMN. If you have configured a notification policy, skip this step.

    1. Create a topic according to "Creating a Topic" in the SMN User Guide.

      For example, create a topic named Topic1.

    2. Set a topic policy according to "Creating a Topic" in the SMN User Guide.

      Select apm for Services that can publish messages to this topic. Otherwise, notifications will fail to be sent.

    3. Add a subscriber, that is, the email or SMS message recipient, for the topic according to "Adding a Subscription" in the SMN User Guide. In this way, SMN can notify subscribers of alarm information in real time.

      For example, enter O&M personnel's email addresses.

  3. Create a notification rule. Specifically, enter the rule name, select the notification condition, select the topic created in 2, select the time zone and language as required, enter the rule description, and click Confirm.

    After a notification rule is created, the O&M personnel will receive an email or SMS notification when this rule is met.

More Operations

After creating a notification rule, you can also perform the operations described in Table 1.

Table 1 Related operations

Operation

Description

Modifying a notification rule

Click Modify in the Operation column.

Deleting a notification rule

  • To delete a notification rule, click Delete in the Operation column.
  • To delete one or more notification rules, select it or them and click Delete above the rule list.

Searching for a notification rule

Enter a keyword of the notification rule name in the search box in the upper right corner and click .