Creating an Alarm Action Rule
You can create an alarm action rule and associate it with an SMN topic and a message template. If the resource or metric data meets the alarm condition, the system sends an alarm notification based on the associated SMN topic and message template.
Prerequisites
- A topic has been created.
- A topic policy has been set.
- A subscriber, that is, an email or SMS message recipient has been added for the topic.
Precautions
You can create a maximum of 1000 alarm action rules. If this number has been reached, delete unnecessary rules.
Procedure
- Log in to the AOM 2.0 console.
- In the navigation pane, choose Alarm Management > Alarm Action Rules.
- On the Action Rules tab page, click Create.
- Set parameters such as Rule Name and Action Type by referring to Table 1.
Table 1 Parameters of an alarm action rule Parameter
Description
Rule Name
Name of an action 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 grayed and cannot be changed.
NOTE:
To use the enterprise project function, contact engineers.
Description
Description of the action rule. Enter up to 1,024 characters.
Action Type
Type of the action. Select one from the drop-down list. Only Metric/Event is supported.
Action
Type of action that is associated with the SMN topic and message template. Select one from the drop-down list. Currently, only Notification is supported.
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.
If there is no message template you want to select, create one by referring to Creating a Message Template.
- Click OK.
More Operations
After an alarm action rule is created, you can perform operations described in Table 2.
Operation |
Description |
---|---|
Modifying an alarm action rule |
Click Modify in the Operation column. |
Deleting an alarm action rule |
|
Searching for an alarm action rule |
Enter a 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