Create Alarm Polices

Last updated: 2021-10-09 15:29:00

    Overview

    You can set threshold-triggered alarm policies to monitor CVM performance, and also event-triggered alarm polices to watch the status of CVM instances and the underlying platform infrastructure. When an exception occurs, you will receive notifications via the specified methods (email, SMS or phone call). A proper alarm policy will help improve the robustness and reliability of your applications. You can also see Creating Alarm Policy.

    Directions

    1. Log in to the Cloud Monitor console and click 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 bound with the specified tag
      • Instance Group: associate the policy with the selected instance group
      • All Objects: associate the policy with all instances under 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.