Creating an Alarm Template
An alarm template contains a group of alarm rules for a specific resource. You can use it to quickly create alarm rules for multiple metrics of a resource. Before creating a metric alarm rule by using a template, ensure that an alarm template has been created.
Precautions
You can create up to 150 alarm templates. If the number of alarm templates reaches 150, delete unnecessary templates and create new ones.
Procedure
- On the menu bar, choose Monitoring Center.
- In the navigation pane, choose Alarm Management > Alarm Rules.
- On the Alarm Templates tab page, click Create Alarm Template.
- Customize an alarm template. For details, see Table 1.
Table 1 Alarm template parameters Category
Parameter
Description
Template Info
Template Name
Name of the template. Enter a maximum of 64 characters. The following special characters are not allowed: "$#%&'+;<=>?\
Template Info
Description
Description of the template. Enter up to 256 characters.
Alarm Rules
Monitored Object
Select a monitored object from the resource tree.
Alarm Rules > Alarm Condition
Metric
Metric to be monitored.
Consecutive Periods
When the metric value meets the alarm condition for a specified number of consecutive periods, a metric alarm will be generated.
Statistical Period
Metric data is aggregated based on the configured statistical period, which can be 1 minute, 5 minutes, 15 minutes, or 1 hour.
Statistic
Method used to measure metrics. Options: Avg, Min, Max, Sum, and Samples.
Alarm Condition
Trigger condition of a metric alarm. An alarm condition consists of two parts: operators (≥, ≤, >, and <) and threshold value. For example, if the trigger condition is set to > 85 and an actual metric value exceeds 85, a metric alarm will be generated.
Alarm Severity
Severity of a metric alarm. Options: Critical, Major, Minor, and Warning.
Alarm Rules
Check Interval
Interval at which metric query and analysis results are checked.
- Hourly: Query and analysis results are checked every hour.
- Daily: Query and analysis results are checked at a fixed time every day.
- Weekly: Query and analysis results are checked at a fixed time point on a specified day of a week.
- Custom interval: The query and analysis results are checked at a fixed interval.
- Cron: A cron expression is used to specify a time interval. Query and analysis results are checked at the specified interval.
The time specified in the cron expression can be accurate to the minute and must be in the 24-hour notation. Example: 0/5 * * * *, which indicates that the check starts from 0th minute and is performed every 5 minutes.
Alarm Rules > Advanced Settings
Alarm Clearance
An alarm will be cleared if the monitored object does not meet the trigger condition within the monitoring period. By default, metrics in only one period are monitored. You can set up to five monitoring periods.
Action Taken for Insufficient Data
Action to be taken when no metric data is generated or metric data is insufficient within the monitoring period. You can set this option based on your requirements.
By default, metrics in only one period are monitored. You can set up to five monitoring periods.
The system supports the following actions: changing the status to exceeded and sending an alarm, changing the status to insufficient data and sending an event, maintaining the previous status, and changing the status to normal and sending an alarm clearance notification.
- Click OK.
More Operations
After the alarm template is created, you can also perform the operations listed in Table 2.
Operation |
Description |
---|---|
Viewing an alarm template |
In the template list, you can view information such as the template name, monitored object, and bound rules. Click on the left of the template name. In the expanded list, you can view details about the bound rule and alarm condition. |
Modifying an alarm template |
Click in the Operation column. |
Copying an alarm template |
Click in the Operation column. |
Deleting an alarm template |
|
Unbinding an alarm rule |
Click next to the template name. On the Bound Rule tab page, click Unbind in the row that contains the desired rule to unbind it from the alarm template. |
Searching for an alarm template |
Enter a template name in the search box in the upper right corner and click . |
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