Manage alert groups
An alert group can contain one or more alert rules. The same alert rule can be added to multiple alert groups. This topic describes how to create an alert group, create and manage alert rules, view notification records and alert events, and delete an alert group.
Prerequisites
Before you create an alert group or a new alert rule, make sure that you have added contacts or contact groups. For more information, see Manage alert contacts and Manage alert contact groups.
Create an alert group
Log on to the Alibaba Cloud Elasticsearch console.
- In the navigation pane on the left, click Advanced Monitoring.
- In the navigation pane on the left, choose .
- On the Alert Group List page, click Create Alert Group.
- In the Create Alert Group dialog box, enter the information for the alert group.
The bottom of the dialog box provides three action buttons: Finish and Add Alert Rule, Finish, and Cancel.
Parameter Description Alert Group Name The name must be 1 to 30 characters in length. It must start with a letter or a digit, and can contain underscores (_) and hyphens (-). The Alert Group Name must be unique and cannot be modified after it is created. Remarks Enter a description for the alert group to help you find it quickly. - Click Finish and Add Alert Rule or Finish.
- Finish and Add Alert Rule: After the alert group is created, you are redirected to the Create Alert Rule page to add an alert rule.
- Finish: Creates only the alert group. To create an alert rule, find the alert group on the Alert Group List page, click Create Alert Rule in the Actions column, and add an alert rule on the Create Alert Rule page. For more information, see Configure an alert rule.
After the alert group is created, you can also perform the following operations:
Create a new alert rule
- On the Alert Group List page, find the target alert group and click Create Alert Rule in the Actions column.
- On the Create Alert Rule page, configure the rule and click Create.
For more information about the rule configuration parameters, see Configure an alert rule.
View alert rules
- On the Alert Group List page, find the target alert group and click Alert Rule List in the Actions column.
- On the Alert Rule List page, view the alert rules that you have created.
Note If no alert rules exist, click Create Rule to create one.
An alert group can contain multiple alert rules. The rules do not affect each other. You can manage the alert rules on the Alert Rule List.
The following section describes some of the parameters.
Parameter Description Status A newly created rule is in the Enabled state by default. You can disable the rule. Actions - View/Modify: View and modify a created alert rule.
- Copy: Copy the source alert rule to create a new rule. The new rule is named Source Rule Name_copy by default.
- Delete: Delete a created alert rule.
- Disable: You can temporarily or permanently disable an alert rule. After you click Disable, the system immediately disables alerts for the rule. The Status then changes to Disabled.
View notification records
- On the Alert Group List page, find the target alert group and click View Notification Records in the Actions column.
- On the Notification Records page, view the notification records and details for the selected time range. The default time range is the last week.
The page contains the following sections:
Notification Trend Chart: A bar chart that shows the daily notification count and total notification count for the selected period.
Alert Channel Resource Usage: Lists the number of uses and the percentage change for each channel (phone, SMS, DingTalk group).
Recipient Distribution: A pie chart that shows the distribution of notification recipients.
Severity Distribution: A pie chart that shows the distribution of alert severities (such as critical).
Notification Record Details: A table that shows the occurrence time, rule name, channel, severity, alert notification recipients, and message content for each notification.
View alert events
- On the Alert Group List page, find the target alert group and click View Alert Events in the Actions column.
- On the Alert Events page, view the alert events that were triggered by scheduled system checks during the selected time range. The default time range is the last week.
The Alert Events page contains two sections: the upper section is the Alert Event Trend Chart, which shows the total number of alert events in the selected period on the left and a bar chart on the right; the lower section is the Alert Event History table, which contains the following columns:
Occurrence Time
Rule Name
Alert Group
Severity
Message Content
Actions (click View Tags to view details)
Delete an alert group
- On the Alert Group List page, find the target alert group, and choose .
- In the dialog box that appears, click OK.