Creating an Alarm Action Rule
You can create an alarm action rule and associate it with an SMN topic and a message template. When 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
- On the menu bar, choose Monitoring Center.
- 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
Action rule name. Enter up to 100 characters. Only digits, letters, and underscores (_) are allowed. Do not start or end with an underscore.
Description
Description of the action rule. Enter up to 1024 characters.
Action Type
Type of action that is associated with the SMN topic and message template. Select your desired action 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