Creating an Alarm Action Rule
LTS allows you to customize alarm action rules. You can create an alarm action rule to associate an SMN topic with a message template. You can also customize notification content when creating a message template.
Prerequisites
- A topic has been created. For details, see Creating a Topic.
- A topic policy has been configured. For details, see Configuring Topic Policies.
- A subscriber has been added to the topic. A subscriber is the recipient of the notification, for example, an email or SMS message receiver. For details, see Adding a Subscription to a Topic.
Precaution
You can create a maximum of 1,000 alarm action rules. If this number has been reached, delete unnecessary rules.
Creating an Alarm Action Rule
- Log in to the LTS console.
- Choose Log Alarms in the navigation pane.
- Click the Alarm Action Rules tab.
- Click Create. Set parameters such as the action rule name and action rule configuration.
Figure 1 Creating an alarm action rule
Table 1 Parameters for configuring an alarm action rule Parameter
Description
Action Rule
Enter 1 to 64 characters. Only digits, letters, underscores (_), and hyphens (-) are allowed. Do not start or end with an underscore or hyphen.
Enterprise Project
Select an enterprise project.
This parameter is displayed only when the enterprise project function is enabled for the current account.
Description
Enter a description for the rule. Up to 1,024 characters are allowed.
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 on the LTS Console.
- 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. |
Exporting an alarm action rule |
Select one or more alarm action rules and click Export. If no alarm action rule is selected, clicking Export will export all alarm action rules. |
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