Creating Alarm Policies

Last Updated At: 2025-10-21 09:10:00

When users need to set alarms for a specific product status, they need to first create an alarm policy. The alarm policy consists of six required components: policy name, monitoring type, policy type, alarm object, trigger condition, and notification template. You can create an alarm policy according to the following instructions:

  1. Log in to the Cloud Platform console and choose Cloud Monitor > Alarm Configuration > Alarm Policy.

  2. Click Create and configure the alarm according to the following instructions.

    Configuration TypeConfiguration ItemDescription
    Basic informationPolicy nameEnter a custom policy name.
    RemarksEnter custom policy remarks.
    Monitoring typeOnly cloud service monitoring is supported.
    Policy typeChoose the cloud product policy type you need to monitor, for example, Cloud Virtual Machine > Basic Monitoring.
    Alarm rule configurationAlarm object
    • If you select an instance ID, the alarm policy will be associated with the selected instance.
    • If you select an instance group, the alarm policy will be associated with the selected instance group.
    • If you select all objects, the alarm policy will be associated with all instances under the current account.
    Manual configuration (metric alarm)Alarm trigger condition: It is a semantically meaningful condition composed of metrics, comparison relation, thresholds, statistical granularity, and continuous N monitoring data points. You can set up alarm thresholds based on the trend of metric changes in the chart. For example, when the metric is CPU utilization, the comparison relation is >, the threshold is 80%, the statistical granularity is 5 minutes, and the number of continuous monitoring data points is 2, the condition means to collect CPU utilization data every 5 minutes, and if the CPU utilization of a CVM is greater than 80% for two consecutive times, an alarm will be triggered.
    Alarm frequency: You can set a repeated notification policy for each alarm rule. This way, an alarm notification will be sent repeatedly at a specified frequency when an alarm is triggered.
    Options: No repetition, 5 minutes, 10 minutes, periodic exponential increasing interval, and other repetition frequencies.
    An exponentially increasing interval means that alarm information is sent to you when an alarm is triggered the first time, second time, fourth time, eighth time, ... and 2 raised to the power of N times. In other words, the alarm information will be sent less and less frequently as time goes on to reduce the disturbance caused by repeated alarms.
    Default logic for repeated alarms: An alarm notification will be sent to you at the configured frequency within 24 hours after an alarm is triggered. After 24 hours, the alarm notification will be sent once every day.
    Manual configuration (event alarm)When an exception occurs in cloud product resources or underlying infrastructure services, you can create an event alarm to promptly notify you to take action. For details, see the Event Center document.
    Template selectionClick the template selection button, and select the configured template from the dropdown list. For specific configurations, see the Trigger Condition Template document. If the created template is not displayed, you can click Refresh on the right side of the dropdown list to refresh the template selection list.
    Alarm notification configurationAlarm notificationSupports choosing a system preset notification template or a user-defined notification template. Each alarm policy can be associated with up to three notification templates. For details, see the Notification Template document.
  3. After configuring the above information, click Complete to create the alarm policy.