The RDS instance provides the instance monitoring function, and sends messages to users after detecting an exception in the instance. Besides, when the instance is locked due to the insufficient disk space, the system also sends a message to notify users.
Monitoring and alarm are implemented through Alibaba Cloud Monitor. Alibaba Cloud Monitor can be used to set monitored items, and notify all contacts in the alarm contact group when the alarm rules of the monitored items are triggered. You can maintain an alarm contact group corresponding to an alarm monitored item, so as to promptly notify the relevant contacts when an alarm occurs.
Log on to the
Select the region where the target instance is located.
Click the name of the target instance to go to the “Basic information” page.
Select Monitor And Alarm in the left menu.
Select the Alarm tab.
Click Alarm Rules to open the Cloud Monitoring console.
Note: You can click Refresh to manually refresh the current status of the alarm monitored item.
Select Alarm service > Alarm Contact in the left menu.
Note: When alarm rules are set for the first time, if the alarm notification object is not a contact of the Alibaba Cloud account of RDS, the alarm contact and alarm contact group must be created first. If you have already set the alarm contact and the alarm contact group, go to Step 10.
Click New Contact.
Enter the alarm contact information, click Send verification code, enter the verification code sent to your mailbox in the Verification code field, and then click Save.
It is recommended to perform the next step to create the alarm contact group after you add all alarm notification objects.
You can click Edit on the “Alarm Contact” page to modify the corresponding contact information, or click Delete to delete a corresponding contact.
On the “Alarm contact management” page, Select the Alarm contact group tab.
Click New contact group.
Enter the Group name and Remarks, select a contact from the Existing contact, click to add the contact to the Selected contact, and then click OK.
Note: On the Alarm Contact Group page, you can click to modify the corresponding contact group, click X to delete the corresponding contact group, or click Delete next to a member in the contact group to quickly delete the member.
After creating the alarm contact group, select Cloud Service Monitoring > RDS in the left menu.
Select the region of RDS for which the alarm rule is to be set.
Find the target instance and click Alarm rules in the Actions column.
The system displays the monitored items of the current alarm. The IOPS usage, Connections usage, CPU usage and Disk usage monitored items are enabled by default.
Click New alarm rule to create or add new alarm rules.
Note: You can also click Modify after a monitored item to modify this item, click Suspend to stop the monitored item, or click Delete to delete the monitored item.