Updated on 2022-04-28 GMT+08:00

Setting Alarm Notification

APM supports alarm notification. That is, a certain type of alarms can be sent to specified users by Short Message Service (SMS) message or email. In this way, they can identify and rectify cluster exceptions at the earliest time, avoiding service loss.

You can create a maximum of 10 notification rules. If the number of notification rules reaches 10, delete unnecessary notification rules and create new ones.

If you do not create any notification rule, you cannot receive alarm notifications. In that case, you can only log in to the APM console and choose Alarm Center > Alarm List to view alarms.

APM enables you to create notification rules only for the alarms listed in Table 1.

Table 1 Alarm types

Alarm Type

Description

Probe hibernation alarm

Generated when the probe is in hibernation state.

Collector installation alarm

Generated when the ICAgent fails to be installed, upgraded, or uninstalled, or is abnormal.

Threshold alarm

Generated when a threshold rule is triggered.

More types of alarms are being developed.

Creating a Notification Rule

  1. Log in to the APM console.
  2. In the navigation pane, choose Alarm Center > Notification Rules, and click Create Notification Rule.
  3. Create a topic, configure a topic policy, and add subscribers to the topic. If you have made such configurations, skip this step.

    1. Access the Simple Message Notification (SMN) console: When APM is interconnected with SMN, click Create SMN Topic to access the SMN console.
    2. Create a topic: In the navigation pane of the SMN console, choose Topic Management > Topics. Then click Create Topic. On the page that is displayed, enter a topic name and click OK. For details, see Creating a Topic.
    3. Configure a topic policy according to Figure 1. Otherwise, alarm notifications will fail to be sent. Then, add subscribers, that is, SMS message or email receivers of alarm notifications. For details, see Configuring Topic Policies, and Adding a Subscription. In this way, when an exception occurs in a cluster, APM can broadcast the alarm information to the subscribers in real time.
    Figure 1 Configuring a topic policy

  4. Enter a rule name, select an alarm type (for details, see Table 1), select the topic created in 3, customize a cluster to be monitored, and click Create, as shown in Figure 2.

    After the notification rule is created, if an alarm that meets the notification rule is generated, APM automatically sends notifications by SMS message or email.

    Figure 2 Creating a notification rule

More Operations

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

Table 2 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 notification 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 .