You can create alarms when using an Anti-DDoS Advanced instance. The system will monitor relevant metrics based on alarm policies and trigger an alarm and send alarm messages to specified user groups when a metric meets the alarm condition. You can take appropriate precautionary or remedial measures in a timely manner based on the alarm message. Properly created alarms can help you improve the robustness and reliability of your applications. For more information on alarms, please see Creating Alarm Policies in Cloud Monitor.
If you want to monitor a metric of an instance, you need to create an alarm policy first, which is composed of three mandatory components: name, type, and alarm trigger. Each alarm policy is a set of alarm triggers. As long as one of the triggers is satisfied, the alarm will be triggered, and alarm messages will be sent to the specified users for them to check the alarm in time and take appropriate actions.
You need to set the default alarm recipient; otherwise, the default alarm policy of Anti-DDoS Advanced will not be able to send notifications.
Log in to the Cloud Monitor Console and select Alarm Configuration > Alarm Policy on the left sidebar.
On the alarm policy list page, click Add to enter the policy creating page.
Set basic configuration items such as policy name and policy type. Select the service that needs alarming as the policy type. This document uses Anti-DDoS Advanced as an example.
Set the alarm object.
Set the alarm trigger. You can either choose a trigger template or configure a trigger on your own.
You can set the notification frequency to never repeat, every 5 minutes, every 10 minutes, exponential increase, or other frequencies. Exponential increase means that when an alarm is triggered for the first time, second time, fourth time, eighth time, ..., or 2 to the power of Nth time, alarm notifications will be sent. In other words, the alarm notification will be sent less and less frequently with longer time interval in between, reducing the disturbance caused by repeated notifications.
After confirming that everything is correct, click Complete.
After an alarm policy is created, you can associate some alarm objects with it. When an alarm object satisfies an alarm trigger, an alarm notification will be sent. You can associate an alarm object in the following steps:
You can click Add Object under different regions. If you need to unassociate an alarm object, select the target instance and click Unassociate to unassociate it from the alarm policy.
When a alarm is triggered, users in the alarm recipient group will receive the corresponding notification. You can set alarm recipients in the following steps:
- You can set the alarm recipients on the alarm policy creating page.
- The phone channel for alarm notifications is currently in beta test. To try it out, please submit a ticket or contact us for application.
Was this page helpful?