tencent cloud

Feedback

Setting Alarm Policies

Last updated: 2024-01-06 15:14:56

    Overview

    You can leverage the alarm policy feature of Cloud Monitor to set threshold-reaching alarms for COS 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 COS 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 COS monitoring metrics to query the alarm history and receive alarm notifications. For more information, please see Creating Alarm Policy.

    Directions

    1. Log in to the COS console. On the Overview page, click Configure Alarm Policy in the Alarm Configuration section.
    Note:
    Alarm Configuration can also be found on the Overview page of each bucket.
    2. Configure a new alarm policy as shown 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
    Choose COS.
    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 choose 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, please 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 `STANDARD storage read requests`, comparison to `>`, threshold to `80` times, statistical period to `5` minutes, and the number of consecutive periods to `Last 2 periods`, STANDARD storage read requests are collected every 5 minutes, and if the number of STANDARD storage read requests in a bucket is greater than 80 in 2 consecutive periods, the alarm will be triggered.
    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.
    Advanced configuration
    Auto scaling
    If enabled, the auto scaling policy can be triggered when the alarm condition is met.
    3. After configuring the above information, click Complete.
    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