tencent cloud

Feedback

Setting Alarm Policies

Last updated: 2024-01-31 16:44:15

    Overview

    You can leverage the alarm policy feature of Cloud Monitor to set threshold-reaching alarms for CI monitoring metrics. An alarm policy must include the policy name, policy type, trigger condition, alarm object, and alarm notification template. You can create an alarm policy for CI as instructed below.
    Note:
    Tencent Cloud's Cloud Monitor enables users to monitor cloud resources in real time and provides alarm services. Users can set alarm policies for CI monitoring metrics to query the alarm history and receive alarm notifications. For more information, see Creating Alarm Policy.

    Directions

    1. Log in to the CI console. On the Overview page, click Configure Alarm Policy in the Alarm Configuration section.
    2. Click Create.
    3. On the Create alarm policy page, configure a new alarm policy.
    Notes:
    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 CI.
    Project
    Setting the policy project allows you to:
    
    
    
    Manage alarm policies. Alarm policies of a project can be quickly located in the alarm policy list.
    
    Manage instances. You can select the project as needed. Instances of the project can be quickly located in **Alarm Object**. You can distribute Tencent Cloud services to the desired project according to your business types. After the project is created, you can distribute resources to projects in the console of each Tencent Cloud service. Some Tencent Cloud services cannot be distributed to a project. If you do not have project permission, see Cloud Access Management (CAM) for authorization.
    Configure alarm rule
    Alarm object
    
    
    If you choose Instance ID in the drop-down list, select the bucket you want to add an alarm to.
    
    If you choose Instance Group in the drop-down list, the alarm policy is bound to the selected instance group. If there is no instance group, you can click Create Instance Group on the right to create a group for the bucket first.
    
    If you choose All Objects in the drop-down list, the alarm policy is bound to all buckets the current account has permission on.
    
    
    Select template
    Select a configured template from the drop-down list. For more information on the configuration, see Configuring Trigger Condition Template. If the newly created template is not displayed, click Refresh on the right.
    Manual configuration(Metric alarm)
    
    
    Trigger condition: Consists of metric, comparison, threshold, statistical period, and the number of consecutive periods.For example, if the metric is set to `Total usage of basic image processing`, comparison to `>`, threshold to 100 MB, statistical period to 1 minute, and number of consecutive data points to 2, the total usage of basic image processing will be collected once every minute, and an alarm will be triggered if a bucket's usage of basic image processing is greater than 100 MB for two consecutive times.
    Alarm frequency: You can set a repeated notification policy for each alarm rule. In this way, an alarm notification will be sent repeatedly at a specified frequency when an alarm is triggered.
    
    Frequency options: do not repeat, once every 5 minutes, once every 10 minutes, at an exponentially increasing interval, and other frequency options.
    
    An exponentially increasing interval means that a notification is sent when an alarm is triggered the 1st time, 2nd time, 4th time, 8th time, and so on. In other words, the alarm notification will be sent less and less frequently as time goes on to reduce the disturbance caused by repeated notifications.
    
    Default logic for repeated alarm notifications: The alarm notification will be sent to you at the configured frequency within 24 hours after the alarm is triggered. After 24 hours, the alarm notification will be sent once a day by default.
    
    Configure alarm notification
    Alarm notification
    Select a preset or custom notification template. Each alarm policy can be bound to three notification templates at most. For more information, see Alarm Notification.
    Advanced configuration
    Auto scaling
    If enabled, the auto scaling policy can be triggered when the alarm condition is met.
    4. After configuring the above items, click Save.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support