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:
- 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.
- 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.
- Create a topic according to "Creating a Topic" in the SMN User Guide.
For example, create a topic named Topic1.
- 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.
- 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.
- Create a topic according to "Creating a Topic" in the SMN User Guide.
- 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.
Operation |
Description |
---|---|
Modifying a notification rule |
Click Modify in the Operation column. |
Deleting a notification rule |
|
Searching for a notification rule |
Enter a keyword of the notification rule name in the search box in the upper right corner and click . |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot