Create Alarm Polices

Last updated: 2021-06-22 14:45:33


    You can set threshold alarms to monitor CVM performance, and also event alarms to watch the status of CVM instances and the underlying platform infrastructure. When an exception occurs, you will promptly receive notifications via WeChat, email, SMS, phone, etc.. A proper alarm policy will help improve the robustness and reliability of your applications. This document describes how to create an alarm policy. For more information, see Creating Alarm Policy.


    1. Log in to the [Cloud Monitor console] and select Alarm Configuration > Alarm Policy on the left sidebar.
    2. On the Alarm Policy page, click Create.
    3. In the pop-up window, configure basic information, alarm policy, and notification template as instructed below.
      Configuration Type Configuration Item Description
      Basic Info Policy Name A custom policy name
      Remarks Remarks for the policy
      Monitor Type Choose Cloud Product Monitoring
      Policy Type Select the desired policy type for monitoring Tencent Cloud services.
      Project Choose a project as needed. You can later find this policy quickly by filtering by the project.
      Configure Alarm Policies Alarm Object
      • Instance ID: associate the policy with the specified CVM instance
      • Tag: associate the policy with CVM instances with the specified tag
      • Instance Group: associate the policy with the selected instance group
      • All Objects: associate the policy with all instances the current account (permission required)
      Trigger Condition Manual Configuration(Metric Alarm) Trigger condition: specify the metric, comparison, threshold, statistical period, and the number of consecutive periods. You can expand the trigger condition to view the metric trend, and based on which, set a proper threshold.
      Manual Configuration(Event Alarm) Create an event alarm policy to get notifications in case of service resources or underlying infrastructure exceptions
      Select template Choose a configured template as needed. For more information about the configurations, please see Configuring Trigger Condition Template.
      Configure Alarm Notification (optional) Notification Template It defaults to the preset notification template (sending the notification to the root account admin via SMS and email). Up to 3 notification templates can be bound to each alarm policy. For more information about the configurations of notification templates, see Creating Notification Template.
    4. Click Complete.