tencent cloud


Configuring Alarms

Last updated: 2021-11-22 16:56:06

    Operation Scenario

    ES supports configuring alarms for key metrics, which can help you identify cluster problems and address them in a timely manner. This document describes how to configure alarms in the console.


    Check whether alarms have been configured for a cluster

    1. Log in to the ES Console and click a cluster ID/name in the cluster list to enter the cluster details page.
    2. Select Cluster Monitoring. In the Alarm Configuration section, you can check whether alarms have been configured for the cluster. If not, you are recommended to configure an alarm policy to get notified of and address exceptions and risks in cluster running in a timely manner and ensure service stability.

      You can also log in to the Cloud Monitor Console and check whether an alarm policy has been configure for a cluster in Alarm Configuration > Alarm Policy.

    Customize alarm configuration

    1. Log in to the Cloud Monitor Console and click Create on the Alarm Policy page.
    2. On the policy creating page, configure the policy parameters.
      • Policy Type: Select Elasticsearch Service.
      • Alarm Object: Select the cluster for which to configure the alarm policy.
      • Trigger: Trigger template and Configure a trigger are supported. The latter is selected by default. For more information about custom configuration, see the description below. For more information about how to create a template, see the Create a trigger template section below.

        Metric: For example, "CPU utilization". The statistical period is 1 minute or 5 minutes. All the metrics of an ES cluster are collected once per minute. If the statistical period is 1 minute, an alarm will be triggered as soon as a threshold is exceeded in the cluster. If 5 minutes is selected as the statistical period, an alarm will be triggered only when the threshold is continuously exceeded within 5 minutes.
        Alarm frequency: For example, "Alarm once every 30 minutes" means that there will be only one alarm triggered every 30 minutes if a metric exceeds the threshold in several consecutive statistical periods. Another alarm will be triggered only if the metric exceeds the threshold again in the next 30 minutes.

      • Alarm Channel: Select the recipient group, valid time period, and receiving channel. For more information about the configuration method, see Creating and Managing an Alarm Recipient Group.
    3. After the configuration is completed, click Finish. Return to the Alarm Policy list and you can see the alarm policy just configured.

      For more information about how to configure an alarm policy, see Cloud Monitor Alarm Configuration.

    Create a new trigger template

    1. Click Create a trigger template in Trigger.
    2. Click Create on the trigger template page.
    3. On the template creating page, configure the policy type.
      • Policy Type: Select Elasticsearch Service.
      • Use preset triggers: Select this option and the system recommended alarm policy will appear.
    4. After confirming everything is correct, click Save.
    5. Return to alarm policy creating page and click Refresh. The alarm policy template just configured will appear.
      Alarm trigger policy 2
    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