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
- You have created a topic.
- You have configured a topic policy.
- You have added a subscriber (that is, an email or SMS message recipient) for the topic.
- To obtain SMN topics when creating a notification rule, you must obtain the smn:topic:list permission in advance.
Constraints
- You can create a maximum of 1,000 alarm notification rules. If the number of rules reaches 1,000, delete unnecessary ones.
Creating an Alarm Notification Rule
- Log in to the AOM 2.0 console.
- In the navigation pane on the left, choose Alarm Center > Alarm Notification.
- On the displayed page, click Create.
- Set the notification rule name, type, and other parameters by referring to Table 1.
Table 1 Parameters for configuring an alarm notification rule Parameter
Description
Notification Rule Name
Name of the rule. Enter up to 100 characters and do not start or end with an underscore (_) or hyphen (-). Only digits, letters, hyphens, and underscores are allowed.
Enterprise Project
Enterprise project.
- If you have selected All for Enterprise Project on the global settings page, select one from the drop-down list here.
- If you have already selected an enterprise project on the global settings page, this option will be dimmed and cannot be changed.
- To use the enterprise project function, contact engineers.
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.
- After the settings are complete, click OK. The rule is created. You can then perform the following operations:
- Go to the Alarm Noise Reduction page, create a grouping rule, and associate it with the notification rule.
- Go to the Alarm Rules page, create an alarm rule, and associate it with the notification rule.
More Operations
After an alarm notification rule is created, you can perform operations described in Table 2.
Operation |
Description |
---|---|
Editing an alarm notification rule |
Click Modify in the Operation column. |
Deleting an alarm notification rule |
Precautions:
|
Searching for an alarm notification rule |
You can filter alarm notification rules by rule name, description, type, enterprise project, message template, and update time, or enter a keyword to search. |
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