tencent cloud

Feedback

Activating Event Alarm

Last updated: 2023-12-27 10:27:01
    MySQL supports the Event Alarm feature. When a user sets an event alarm related to CPU elastic scaling and configures the alarm notification, it will be triggered if detected:
    Auto-scaling (triggered, failed, scale-in)
    Manual scaling (enabled, failed, disabled)
    Event alarms will notify users via various available methods. This section describes the process of setting event alarms related to CPU elastic scaling.

    Operation Scenarios

    Users can implement event alarms to trigger alarms and dispatch corresponding notifications when the relevant status changes (CPU performance scaling, CPU performance scaling failure, CPU performance scale-in) after the CPU Elastic Scaling feature is enabled in MySQL.

    The steps are as follows:

    Creating an Alarm Policy

    1. Log in to the TCOP Console,, then navigate to the Alarm Configuration > Alarm Policy > Policy Management page by clicking the left sidebar.
    2. In the Alarm Policy list, click New Policy.
    
    3. On the policy creation page, configure basic information, alarm rules, and alarm notifications.
    Policy Type: Categorized as Primary Monitoring and Secondary Monitoring, each corresponds to different types of instances.
    Alarm Object: You can locate the object instance to be associated by selecting the region where the object is located or searching for the instance ID.
    Trigger Conditions: Locate the event alarm, click 'Add Event'and add the following alarm events: CPU Performance Scaling, CPU Performance Failure, and CPU Performance Scale-in.
    
    Alarm Notification: You can select a preset or customized notification template. Each alarm policy can be bound to three notification templates at most. For instructions on how to customize a notification template, see Creating Notification Template.
    Select the preset template.
    
    Create a new template.
    
    4. After confirming that everything is correct, click Finish.

    Associating Alarm Objects

    After creating an alarm policy, you can also associate it with other alarm objects (instances requiring CPU performance scaling-related alarms). An alarm will be triggered when the object meets the alarm trigger condition.
    1. In the alarm policy list, click the alarm policy name to enter the alarm policy management page.
    2. On the alarm policy management page, click Add Object in the Alarm Object column.
    3. In the pop-up dialog box, select the alarm objects to be associated with, and click OK. The alarm objects will be associated.
    
    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