You can configure alarm rules for the connection, dedicated tunnel, and direct connect gateway on the Cloud Monitor console. When an alarm rule is triggered, you will receive notifications, which will allow you to take appropriate measures.
Log in to the Cloud Monitor console and select Alarm Configuration -> Alarm Policy to access the alarm policy configuration page.
Perform the following steps to configure a new alarm policy.
Fill in Policy Name and Remarks. Select Physical Dedicated Line, Dedicated Line Channel or Direct Connect Gateway for Policy Type as needed.
Choose a project based on your needs. Each project supports creating a maximum of 300 alarm policies.
Select the alarm object.
Use one of the following methods to configure the trigger condition.
Trigger condition template
This method allows you to select a configured template from the drop-down list.
You can click Add Trigger Condition Template to configure a new trigger condition template. For more information, see Configuring Trigger Condition Templates. If the new template is not displayed in the list, click Refresh.
Configure trigger condition
This method requires configuring metric alarm and event alarm as needed.
Configure the trigger conditions for metric alarm. For more information about the metrics, see Metric Alarms.
For example, if you choose BandwidthIn metric and configure the following parameters: Statistical Period 1 minutes, >, 100 Mbps, Last for 2 periods, and Alarm once every 1 day, then the inbound bandwidth data will be collected once every minute, and an alarm will be triggered once a day if the inbound bandwidth of a connection or dedicated tunnel exceeds 100 Mpbs for 2 consecutive minutes.
Click Add to configure a new trigger condition. You can select to trigger an alarm when any or all conditions are met.
Configure the event such as DirectConnectDown for the event alarm. For more information about the events, see Event Alarms.
Click Add to configure a new event alarm.
Configure the alarm channel, including the recipient group, valid period, and receipt channel (email, object, and WeChat) as needed.
Click Add Recipient Group to configure a new receipt group. For more information about the configuration, see Creating Alarm Recipient Groups.
Once the alarm policy is created, you can enable, disable, copy, or delete it on the console.