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.
Prerequisites
The RDS instance resides in a region of mainland China.
Background information
The monitoring and alerts feature of ApsaraDB for RDS is implemented by using Cloud
Monitor. Cloud Monitor allows you to configure metrics and alert rules. You can also
specify the contact groups that are associated with specific metrics. If a metric
triggers an alert based on a specified alert rule, the system sends emails to all
of the contacts in the contact group that is associated with the metric.
Create alert rules
- Log on to the ApsaraDB for RDS console.
- In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your RDS instance resides.
- Find your RDS instance and click its ID.
- 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 contact group. For more information, see Create an alert contact or alert group.
- Create alert rules. For more information, see Create a threshold-triggered alert rule.
Manage alert rules
- Log on to the ApsaraDB for RDS console.
- In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your RDS instance resides.
- Find your RDS instance and click its ID.
- 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 Alarm Rules tab, find the target alert rule and in the Actions column select one of the following
operations:
- View: View details about the alert rule.
- Alarm Logs: View the alerts that were triggered by the alert rule over a specific
period of time.
- Modify: Modify the alert rule. For more information about the parameters, see Alarm rule parameters.
- Disable: Disable the alert rule. After you disable the alert rule, no alerts will
be triggered even if the metric meets the conditions specified in the alert rule.
- Delete: Delete the alert rule. After you delete an alert rule, the alert rule cannot
be restored. You can only re-create the alert rule if necessary.