Adding Alarm Rules and Viewing Alarms
You can set threshold conditions for metrics by using alarm rules. If metric values meet threshold conditions, AOM will generate threshold alarms. If no metric data is reported, AOM will report insufficient data events. In this way, you can identify and handle exceptions at the earliest time.
For example, during routine O&M, a host may break down or restart due to an excessively-high CPU usage. To avoid the problem, set an alarm rule. For example, when the CPU usage of a host exceeds 85%, an alarm is reported, so that you can quickly obtain the resource running status and take measures to prevent service loss. This section describes how to add alarm rules and view alarms.
Procedure
- In the navigation pane, choose Alarm Center > Alarm Rule and click Add Threshold.
- Customize alarm rules.
- Select resources: Enter a rule name, select a resource type, select the resources to be monitored from the resource tree, and click Next.
- You can select a maximum of 100 resources from the resource tree.
- When multiple resources are selected, multiple alarm rules will be created after the creation is complete. Each resource is monitored by an alarm rule. A rule name consists of the alarm rule name you enter in the Threshold name text box, and a sequence number ranging from 0 to 99. The earlier a resource is selected, the smaller its sequence number.
Figure 1 Selecting resources
- Customize a threshold: Select the metric to be monitored, and set parameters such as Threshold Condition, Consecutive Period (s), Alarm Severity, and Statistic Method.
- Threshold Condition: Trigger condition of a threshold alarm. A threshold condition consists of two parts: determination condition (≥, ≤, >, or <) and threshold value. For example, if Threshold Condition is set to > 85 and an actual metric value exceeds 85, a threshold alarm will be generated.
- Consecutive Period (s): If a metric value meets the threshold condition for a specified number of consecutive periods, a threshold alarm will be generated.
- Statistic Method: Method used to measure metric values.
- Statistical Cycle: Interval at which metric data is collected.
- Select resources: Enter a rule name, select a resource type, select the resources to be monitored from the resource tree, and click Next.
- Click Submit. As shown in the following figure, multiple alarm rules are created. Each resource is monitored by an independent rule.
For example, when a monitored component uses more than 3 CPU cores, a threshold alarm is generated on the alarm page. You can choose Alarm Center > Alarm Rule in the navigation pane to view the alarm rule.
Figure 2 Alarm rules
- In the navigation pane, choose Alarm Center > Alarm List.
- View alarms on the Alarm List page.
- 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 1 hour, Last 6 hours, or Last 1 day in the upper right corner of the page. You can select a time range as required.
Method 2: Specify the start time and end time in the upper right corner of the page to customize a time range. You can specify up to 30 days.
- Set filter criteria and click Search to view the alarms generated in the specified time range.
- Set a time range to view alarms. There are two methods to set a time range:
- Perform the operations listed in Table 1 as required.
Table 1 Operations Operation
Method
Description
Viewing alarm statistics
View alarm statistics that meet filter criteria within a specific time range through a bar graph.
-
Clearing alarms
In the alarm list, click in the Operation column of the target alarm.
- You can clear an alarm after the corresponding problem is resolved.
- You can view the cleared alarms on the History tab page.
Viewing alarm details
Click an alarm name to view alarm details.
-
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