If you want to send an alarm notification for the specific status of a product, you need to create an alarm policy first. The alarm policy consists of three mandatory components: name, type, and alarm trigger condition. You can create an alarm policy as instructed below.
The Deprecated/Instances field in the alarm policy list displays the number of alarm objects associated with the alarm policy. If the value is not 0, the policy cannot be deleted. Only when all alarm objects are disassociated can the policy be deleted.
- If you want to create a project, please see Project Management.
- After a project is created, you can assign it to cloud product resources in their respective consoles (some cloud products do not support project assignment). For example, in TencentDB for MySQL, you can assign instances to the corresponding project as instructed in Specifying Project for Instance.
>, the threshold is
80%, the statistical period is
5 minutes, and the duration is
2 periods, then CPU utilization data of a CVM instance will be collected once every 5 minutes, and an alarm will be triggered if the CPU utilization exceeds 80% for three consecutive periods.
The default logic for repeated alarm notifications is as follows:
- The alarm notification will be sent to you at the configured frequency within 24 hours after an alarm is triggered.
- Following 24 hours after an alarm is triggered, the alarm notification will be sent once every day by default.
- Following 72 hours after an alarm is triggered, the alarm notification will be sent for the last time and will not be sent again.
CVM alarms will be sent once Agent has been installed on CVM instances and reports monitoring metric data. On the Cloud Monitor page, you can view CVM instances that do not have Agent installed and download the IP list.
- Only one default policy is allowed for each policy type in each project.
- The default alarm policy cannot be deleted.
- For your convenience, Cloud Monitor will automatically create a default CVM alarm policy (alarms will be triggered when disks become read-only or pings become unreachable) and a default TencentDB policy (alarms will be triggered if the used disk capacity is greater than 90 MB or disk utilization exceeds 80% for 5 minutes).
- Currently, the default alarm policy is only supported by the following cloud products: CVM, TencentDB for MySQL, TencentDB for Redis, TencentDB for SQL Server, TencentDB for MongoDB, TencentDB for MariaDB, API Gateway, and Direct Connect.