Use CloudMonitor to receive alert notifications when important events occur on your ApsaraDB RDS instances. You can deliver alerts directly to a contact via email, SMS, or DingTalk, and push events to downstream services to automate incident response.
How it works
CloudMonitor is a service that monitors Internet applications and Alibaba Cloud resources, including ApsaraDB RDS. It triggers the alert rules you define when system events occur. When an event matches a rule, CloudMonitor delivers the alert through one or both of the following paths:
Notification — sends an alert directly to an alert contact:
-
Email
-
SMS
-
DingTalk chatbot
Automation — pushes the event to a downstream service for programmatic handling:
-
Simple Message Queue (formerly MNS)
-
Function Compute
-
Simple Log Service
-
A callback URL
Prerequisites
Before you begin, ensure that you have:
-
An ApsaraDB RDS instance
-
Access to the CloudMonitor console
Step 1: Create an alert rule
-
Create an alert contact or alert contact group. CloudMonitor sends alert notifications to contacts in an alert contact group. Create at least one contact and add them to a group before configuring the alert rule.
Step 2: Test the alert rule
After creating the alert rule, verify it works before relying on it in production. You can check whether alert notifications can be received, or whether events can be pushed to Simple Message Queue (formerly MNS), Function Compute, Simple Log Service, or the specified callback URL.
For details on configuring callbacks, see Configure callbacks for system event-triggered alerts.
API reference
| Operation | Description |
|---|---|
| PutEventRule | Creates or modifies an event-triggered alert rule |
What's next
-
Manage scheduled events — view and manage scheduled maintenance events for your RDS instance.
-
View performance events — view performance-related events for your ApsaraDB RDS for MySQL instance.