Creating Alarm Rules and Viewing Alarms
You can set threshold conditions for resource metrics by setting alarm rules. When the value of a metric reaches the threshold, an alarm is generated. If no metric data is reported, an insufficient data event is generated so that you can detect and handle exceptions in a timely manner.
There are three modes for creating metric alarm rules: Select by resource type, Select from all metrics, and Run Prometheus command. The following uses Select by resource type as an example to describe how to add an alarm rule and view alarms.
Creating a Metric Alarm Rule
- On the menu bar, choose Monitoring Center.
- In the navigation pane, choose Alarm Management > Alarm Rules.
- On the rule list page, click Create Alarm Rule.
- Set basic information about the alarm rule by referring to Table 1.
- Set the detailed information about the alarm rule.
- Set Rule Type to Metric alarm rule.
- Set Configuration Mode to Select by resource type and specify Resource Type and Monitored Object.
- Resource Type: Select a desired resource type from the drop-down list.
- Monitored Object: Click Select Monitored Object to select a desired monitored object.
If you enable Apply to All when selecting monitored objects, an alarm rule will be created for all metrics of the type you select under an application or service.
- Set an alarm condition. Customize alarm conditions or create them by importing a template. The following describes how to customize an alarm condition.
- Custom
Click Custom and set the statistical period, consecutive periods, and alarm condition. Table 2 describes the parameters.
- Custom
- Set an alarm notification policy. Direct alarm reporting: An alarm is directly sent when the alarm condition is met.
- Specify whether to enable an alarm action rule. After an alarm action rule is enabled, the system sends notifications based on the associated SMN topic and message template. If the existing alarm action rules cannot meet your requirements, click Create Rule to create one. For details, see Creating an Alarm Action Rule.
- After an alarm action rule is selected, specify whether to enable alarm clearance notification. After alarm clearance notification is enabled, if the alarm clearance condition set in Advanced Settings > Alarm Clearance is met, alarm clearance notifications are sent based on the selected action rule.
- Click Create Now. Then, click Back to Alarm Rule List to view the created alarm rule.
In the expanded list, if a metric value meets the configured alarm condition, a metric alarm is generated on the alarm page. To view it, choose Alarm Management > Alarm List in the navigation pane.
Viewing Alarms
- In the navigation pane, choose Alarm Management > Alarm List.
- Click the Alarms tab to view the alarm information.
- Set a time range to view alarms. There are two methods to set a time range:
Method 1: Use a predefined time label, such as Last hour or Last 6 hours. You can select a time range as required.
Method 2: Specify the start time and end time (max. 31 days).
- Set the interval for refreshing alarms. Click and select a value from the drop-down list, such as Refresh manually or 1 minute auto refresh.
- Set filter criteria and click to view the alarms generated in the period.
- Set a time range to view alarms. There are two methods to set a time range:
- Perform the operations listed in Table 3 as required.
Table 3 Operations Operation
Description
Viewing alarm statistics
Click , and view alarm statistics that meet filter criteria within a specific time range on a bar graph.
Clearing alarms
- To clear an alarm, click in the Operation column of the target alarm.
- To clear one or more alarms, select them and click Clear in the displayed dialog box.
NOTE:
You can clear an alarm after the corresponding problem is resolved.
Viewing alarm details
Click an alarm name to view the alarm details and handling suggestions.
Viewing cleared alarms
Click Active Alarms in the upper right corner and select Historical Alarms from the drop-down list to view alarms that have been cleared.
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