This topic describes how to create a threshold alarm rule, so you can receive an alarm when a metric value reaches the specified threshold, and perform timely troubleshooting.
You can create threshold alarm rules to manage and monitor the usage and operation of cloud service resources. When a metric value reaches the specified threshold, you can receive an alarm. In this way, you can be informed of exceptions and handle them efficiently.
We recommend that you create an alarm contact and an alarm contact group before creating a threshold alarm rule. When you create an alarm rule, you can select the alarm contact group as the alarm receiver. For more information about how to create an alarm contact and an alarm contact group, see Create an alert contact and an alert contact group.If you want to use alarm callbacks in alarm rules, you must prepare a callback URL that is accessible on the Internet. In addition, you must enable the URL callback as a notification method in the existing operations and maintenance (O&M) or message notification system.
CloudMonitor can notify you of alarms by means of emails or DingTalk ChatBot. If you want to receive alarms based on multiple methods, enter correct information when you configure alarm contacts.Procedure
- Log on to the CloudMonitor console.
- In the left-side navigation pane, choose Alarms > Alarm Rules. On the Alarm Rules page that appears, the Threshold Value Alarm tab page is displayed by default.
- Click Create Alarm Rule to go to the Create Alarm Rule page.
- Select a resource range, set alarm rule parameters, select a notification method, and then click Confirm. For more information about alarm rule parameters, see Alarm rule parameters.