If you need to monitor the usage of cloud resources in an application group, you can create an alert rule. If the monitoring metrics of a resource meet specified alert conditions, CloudMonitor automatically sends alert notifications to you. This way, you can identify and resolve issues at the earliest opportunity.
- Log on to the CloudMonitor console.
- In the left-side navigation pane, click Application Groups.
- On the Application Group tab, click the name of the application group.
- In the left-side navigation pane, click Alert Rules.
- Click Create Alert Rule.
- In the Create Alert Rule panel, set the parameters based on your needs.
Parameter Description Product The name of the cloud service, for example, ApsaraDB RDS. Rule Description The condition that triggers the alert rule. If a metric meets the specified condition, an alert is triggered. To specify the rule description, perform the following steps:
- Click Add Rules.
- In the Add Rule Description panel, configure the rule name, metric type, metrics, threshold, alert level, and notification methods.
- Click OK.
Channel Silence Cycle The interval at which CloudMonitor sends alert notifications after the first alert notification is sent. Valid values: 5 min, 15 min, 30 min, 60 min, 3 h, 6 h, 12 h, and 24 h.If the threshold value is exceeded, CloudMonitor sends an alert notification. If the threshold value is exceeded again within the mute period, CloudMonitor does not resend an alert notification. If the alert is not cleared when the mute period elapses, CloudMonitor resends an alert notification.Note The parameter is in the Advanced settings section. Effective Time The validity period of the alert rule. The system checks whether to send alert notifications only within the validity period of an alert rule.Note The parameter is in the Advanced settings section. Alert Contact Group The alert contact group to which alert notifications are sent.
The alert notifications of the application group are sent to the alert contacts that belong to the alert contact group. An alert contact group can contain one or more alert contacts.
For information about how to create alert contacts and alert contact groups, see Create an alert contact or alert contact group.
HTTP WebHook The URL that is used to receive the alert notifications from CloudMonitor by using HTTP POST requests. The URL must be accessible over the Internet. You can enter only an HTTP URL. For more information about how to configure alert callbacks, see Use the alert callback feature to send notifications about threshold-triggered alerts. Auto Scaling After you turn on Auto Scaling, the specified scaling rule is triggered if an alert is generated. In this case, you must specify Region, ESS Group, and ESS Rule. Log Service After you turn on Log Service, the alert message is written to Log Service if an alert is generated. In this case, you must set the Region, ProjectName, and Logstore parameters.
For more information, see Getting Started.
No data alarm processing method The processing method of alerts when no monitoring data is found. Valid values:
- Do not do anything (default)
- Send no data alarm
- Treated as normal
- Click OK.