tencent cloud

Feedback

Configuring Alarms

Last updated: 2022-09-21 15:05:29

    Overview

    You can configure alarm rules for monitoring metrics to prevent your system operations from being disrupted when these metrics reach a certain value. When monitoring data meets the configured conditions, the system can check it automatically and send alarm notifications to the admin. This allows you to stay on top of business exceptions and solve them quickly.

    Billing

    • CM allows you to configure alarm policies to monitor the key metrics of instances and offers a free trial.
    • Currently, only alarm SMS messages and phone calls are charged. For more information, see Billing Overview.

    Prerequisites

    • You have activated CM.
    • The database instance is in Running status.
    • You have collected the information of the recipients of alarm notifications, such as email address and phone number.

    Directions

    1. Log in to the TencentDB for Redis console.
    2. Above the Instance List on the right, select the region.
    3. In the instance list, find the target instance.
    4. In the row of the target instance, enter the Create Policy page of CM in any of the following ways:
      • Click in the Monitoring/Status/Task column and click Configure Alarms in the top-right corner of the instance monitoring data panel.
      • Click the instance ID in blue to enter the Instance Details page. Then, click the System Monitoring tab, select the Monitoring Metrics tab, and click Set Alarms.
    5. On the Create Policy page, configure the policy as shown below. For more information on the basic concepts of alarm policy, see Creating Alarm Policy.
      ParameterDescription
      Policy NameCustomize the alarm policy name for easier identification.
      RemarksBriefly describe the alarm policy for easier identification.
      Monitoring TypeSelect Tencent Cloud services.
      Policy Type Select TencentDB/Redis/Memory Edition (5-Second Granularity)/Redis Node or TencentDB/Redis/Memory Edition (1-Minute Granularity)/Redis Node as needed.
      Project Specify a project for the alarm policy. You can quickly locate all alarm policies of a project in the alarm policy list.
      Alarm Object
      • Select Instance ID to bind the alarm policy to the specified database instance.
      • Select Instance Group to bind the alarm policy to the specified database instance group. For more information on how to create an instance group, see Instance Group.
      • Select All Objects to bind the alarm policy to all instances on which the current account has permissions.
      • Select Tag to bind the alarm policy to all instances associated with the current tag key and value.
      Trigger Condition
      • If you select Select template, you can select a template file in the drop-down list, and alarms will be reported based on the trigger conditions preset in the template. For specific configurations, see Configuring Trigger Condition Template. If you select Configure manually, you need to configure the threshold for triggering an alarm for each metric in the Metric Alarm section below.
      • Threshold Type in the Metric Alarm section: If you select **Static**, you can manually set a fixed threshold, and alarms will be triggered when the threshold is reached. If you select Dynamic, exceptions will be determined based on the dynamic threshold boundaries calculated by machine learning algorithms.
      • For more information, see Creating Alarm Policy.
      Alarm Notification Select a preset or custom notification template. Each alarm policy can be bound to three notification templates at most.
    6. After confirming that the configuration is correct, click Complete. For more information on alarms, see Overview.
    API Description
    CreateAlarmPolicy Creates a CM alarm policy
    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