Updated on 2025-06-19 GMT+08:00

Creating an Alarm Notification Rule

LTS allows you to customize alarm notification rules. You can create an alarm notification rule to associate an SMN topic with a message template. You can also customize notification content when creating a message template.

Prerequisites

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

  1. Log in to the LTS console.
  2. Choose Log Alarms in the navigation pane.
  3. Click the Alarm Notification Rules tab.
  4. 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 the rule is created. Naming rules:

    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 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.

  1. Click OK.

More Operations

After an alarm notification rule is created, you can perform operations described in Table 2.

Table 2 Related operations

Operation

Description

Modifying an alarm notification rule

Click Modify in the Operation column.

Exporting alarm notification rules

Select one or more alarm notification rules and click Export. If no alarm notification rule is selected, clicking Export will export all 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.

  • To delete a single rule, click Delete in the Operation column in the row that contains the rule, and then click Yes on the displayed page.
  • To delete one or more rules, select them, click Delete above the rule list, and then click Yes on the displayed page.

Searching for alarm notification rules

Enter a rule name in the search box in the upper right corner and click .