This document describes how to create an alarm policy.
You can set threshold alarms for the performance consumption metrics of the Tencent Cloud service resources supported by Tencent Cloud Observability Platform. You can also set event alarms for the service status of Tencent Cloud service instances or the underlying platform infrastructure. This way, when an exception occurs, you will promptly receive notifications, which will allow you to take appropriate measures. An alarm policy consists of five required parameters: name, policy type, alarm trigger condition, alarm object, and alarm notification template. You can create alarm policies by following the directions below:
Term | Definition |
---|---|
Alarm policy | It consists of alarm name, alarm policy type, alarm trigger condition, alarm object, and alarm notification template |
Alarm policy type | Alarm policy type identifies policy category and corresponds to specific Tencent Cloud products. For example, if you choose the CVM policy, you can customize metric alarms for CPU utilization, disk utilization, and more |
Alarm trigger condition | An alarm trigger condition is a semantic condition consisting of metric, comparison, threshold, statistical period, and duration |
Notification template | A notification template can be quickly reused for multiple policies, making it suitable for alarm receipt in various use cases. For more information, please see Creating Alarm Notification Template |
Configuration Type | Configuration Item | Description |
---|---|---|
Basic information | Policy name | Custom policy name |
Remarks | Custom policy remarks | |
Monitoring type | Tencent Cloud service monitoring | |
Policy type | Select the desired policy type for monitoring Tencent Cloud services | |
Project | This configuration item has two functions:
|
|
Alarm rule configuration | Alarm object |
|
Manual configuration (metric alarm) |
|
|
Manual configuration (event alarm) |
You can create event alarms so that when the Tencent Cloud service resources or the underlying infrastructure services encounter any errors, you will promptly receive notifications and can then take measures accordingly. | |
Template | Click "Template" and select a configured template from the drop-down list. For detailed configurations, please see Configuring Trigger Condition Template. If a newly created template is not displayed, click Refresh on the right. | |
Alarm notification configuration | Alarm notification | You can select a preset or custom notification template. Each alarm policy can be bound to three notification templates at most. For more information, please see Notification Template. |
Advanced configuration | Auto scaling | After this option is enabled and configured successfully, an auto scaling policy will be triggered for scaling when the alarm condition is met. |
Note:CVM alarms can be sent normally only after the monitoring Agent has been installed on CVM instances and reports monitoring metric data. On the Tencent Cloud Observability Platform page, you can view CVM instances that do not have Agent installed and download the IP address list.
Was this page helpful?