This topic describes how to configure an alert rule for an ApsaraDB RDS for SQL Server
instance. ApsaraDB RDS offers the monitoring and alerting feature. If exceptions are
detected on your RDS instance or if your RDS instance is locked due to low disk capacity,
ApsaraDB RDS can send notifications to you.
Background information
The monitoring and alerting feature of ApsaraDB RDS is implemented by using Cloud
Monitor. Cloud Monitor allows you to configure metrics and alert rules. You can also
associate alert groups with metrics. If a metric meets the conditions that are specified
in an alert rule, alerts are sent as emails to all the contacts in the alert group
that is associated with the metric.
Enable the initiative alert feature
The initiative alert feature allows you to establish an alert system for multiple
metrics in RDS. An alert notification is sent if an exception of a key metric occurs.
You can then handle the exception at the earliest opportunity. For more information,
see Enable the initiative alert feature.
- Access RDS Instances, select a region at the top, and then click the ID of the target RDS instance.
- In the left-side navigation pane, click Monitoring and Alerts.
- Click the Alerts tab.
- In the right-side section of the page, turn on the Initiative Alert switch.
Create an alert rule
- Access RDS Instances, select a region at the top, and then click the ID of the target RDS instance.
- In the left-side navigation pane, click Monitoring and Alerts.
- Click the Alerts tab.
- Click Set Alert Rule to go to the Cloud Monitor console.
- Create an alert group. For more information, see Create an alert contact or alert contact group.
- Create an alert rule. For more information, see Create an alert rule.
Manage an alert rule
- Access RDS Instances, select a region at the top, and then click the ID of the target RDS instance.
- In the left-side navigation pane, click Monitoring and Alerts.
- Click the Alerts tab.
- Click Set Alert Rule to go to the Cloud Monitor console.
- On the Alert Rules page, find the alert rule that you want to manage, and select one of the following
operations in the Actions column:
- View: View details about the alert rule.
- Alert Logs: View the alerts that were triggered by the alert rule over a specific
time range.
- Modify: Modify the alert rule. For more information, see Create an alert rule.
- Disable: Disable the alert rule. After you disable the alert rule, no alerts are triggered
even if the metric meets the conditions that are specified in the alert rule.
- Delete: Delete the alert rule. After you delete the alert rule, the alert rule cannot
be restored. You can only re-create the alert rule if necessary.