Creating an Alarm Notification Rule
LTS allows you to create custom alarm notification rules. An alarm notification rule associates an SMN topic with a message template. When an alarm is triggered, SMN automatically sends an alarm notification via channels like SMS or email, using the specified 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 up to 1,000 alarm notification rules. If this limit has been reached, delete unnecessary rules.
Creating an Alarm Notification Rule
- Log in to the LTS console.
- Choose Log Alarms in the navigation pane.
- Click the Alarm Notification Rules tab.
- Click Create. Set parameters such as the notification rule name and notification rule configuration. Figure 1 Creating an alarm notification rule
Table 1 Alarm notification rule parameters Parameter
Description
Notification Rule
Notification rule name, which cannot be changed after being created. Naming rules:
Use only digits, letters, underscores (_), hyphens (-), and periods (.). Do not start or end with an underscore, hyphen, or period. Up to 100 characters are allowed.
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.
Enter only digits, letters, underscores (_), asterisks (*), and spaces. It cannot start or end with an underscore (_).
Rule Settings
You can select Simple or Orchestrated.- Simple: You can directly configure the notification scope. For details, see #lts_02_0926__li6262422164115.
- Orchestrated: You can configure the alarm condition and notification scope. For details, see 1.
Notification Settings
Notification settings of an alarm notification rule. When Rule Settings is set to Simple, you can directly configure the notification scope.
- 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.
For details, see Creating a Topic.
- Notification Period: Select the days for sending alarm notifications.
- Effective: Alarm notifications are only sent during the configured effective period. If Effective is set to 08:00-20:00, notifications are sent only within 08:00-20:00.
- Message Templates: Notification message template. Select your desired template from the drop-down list.
If no desired message template is available, click Create Message Template on the right of the Message Templates drop-down list to create one. For details, see Creating a Message Template on the LTS Console.
- Click Add Notification Setting to add multiple notification settings. A maximum of 10 notification settings can be added.
- Click Delete to delete notification settings. At least one notification setting must be available.
Orchestrated
You can define the entire notification process. Alarms that meet the specified conditions are filtered and corresponding notifications will then be sent. When Rule Settings is set to Orchestrated, you need to orchestrate a notification rule.
There are three types of operations: Add Condition, Add Notification, and Add End Node. You can click
to enter the full-screen mode.- Click Add Condition to add an alarm condition.
- Parameters:
- Alarm Severity: severity of a metric or event alarm. Options: Critical, Major, Minor, and Warning. You can select Equals To for matching. Example: Alarm Severity + = + Critical
- Alarm Status: alarm status, which can be Alarm triggering or Alarm clearance. You can select = or ≠ for matching. Example: Alarm Status + = + Alarm triggering
- Original rule name: original name configured during alarm rule creation. You can select =, ≠, Regex match, or Regex does not match for matching. Example: Original rule name + = + LTSAlarm.
- Recovery Time: time range when the alarm is cleared. You can select Within range or Out of range for matching. Example: Recovery Time + Within range + 2025.04.08 15:26 —2025.05.15 16:26.
- Alarm conditions can be configured using And and Or.
- Click
to configure multiple alarm conditions. - Click
to nest alarm conditions.
- Parameters:
- Configure parameters for notifications to be sent when the alarm conditions are met. In the notification rule orchestration process, configure the notification settings in the area pointed to by the Yes arrow. For details, see #lts_02_0926__li6262422164115.
- Configure the subsequent processing if the alarm conditions are not met in the area pointed to by the No arrow.
- If you need more alarm conditions, click Add Condition. Then, configure alarm conditions and notification settings. For details, see 1.
- If you do not need more alarm conditions and want to send an alarm notification to end the notification rule orchestration process, click Add Notification. Then, configure notification settings. For details, see #lts_02_0926__li6262422164115.
- If you do not need more alarm conditions or notification settings, click Add End Node to end the orchestration process.
- If alarm conditions are not needed, directly click Add Notification to configure the notification settings.
- Click OK.
After the alarm notification rule is created, you can view it in the alarm notification rule list.
More Operations
After an alarm notification rule is created, you can perform operations described in Table 2.
| Operation | Description |
|---|---|
| Modifying an alarm notification rule | Click Modify in the Operation column. |
| Exporting alarm notification rules |
|
| Deleting alarm notification rules | Before deleting an alarm notification rule, you need to delete the alarm rule bound to the notification rule. WARNING: Deleted alarm notification rules cannot be restored.
|
| Searching for alarm notification rules | In the box above the list, filter notification rules by property. |
What is your overall rating for this page?
Thank 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