Set monitoring rules

Last Updated: Dec 20, 2017

The RDS instance offers 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 sends a message to notify users.

Background information

Alibaba CloudMonitor offers monitoring and alarm rules service. CloudMonitor monitors the metrics and you can use the alarm rules service as well. This service helps you to set the alarm rules for the metrics. You must add the alarm contact while forming the contact group. The alarm contact and the contact group is notified immediately when an alarm is triggered in the event of exception. You can create an alarm contact group corresponding to the metric.

Procedure

  1. Log on to the RDS console.

  2. Select the region where the target instance is located.

  3. Click the name of the target instance to go to the Basic information page.

  4. Select Monitoring and Alarms in the left-side navigation pane.

  5. Select the Alarms tab.

  6. Click Set Alarm Rules to open the CloudMonitor console.

    Note: You can click Refresh to manually refresh the current status of the alarm metric.

  7. Select Alarms > Alarm Contacts in the left-side navigation pane.

    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.

  8. Click Create Alarm Contact.

  9. Enter the alarm contact information, click Send verification code, enter the verification code sent to your mailbox in the Verification code field, and click Save.

    Note:

    • We recommend that you perform the next step to create the alarm contact group after you add all alarm notification objects.

    • Click Edit modify the corresponding Alarm Contact information, or click Delete to delete a corresponding contact.

  10. On the Alarm Contact Management page, Select the Alarm Contact Group tab.

  11. Click Create Alarm Contact Group.

  12. Enter the Group name and Remarks, select a contact from the Existing contact, click Add to add the contact to the Selected contact, and click OK.

    Note: On the Alarm Contact Group page, you can click editor 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.

  13. After creating the alarm contact group, select Cloud Service Monitoring > ApsaraDB for RDS in the left-side navigation pane.

  14. Select the region of RDS for which the alarm rule is to be set.

  15. Find the target instance and click Alarm rules in the Actions column.

    The system displays the metrics of the current alarm. The IOPS usage, Connections usage, CPU usage and Disk usage metrics are enabled by default.

  16. Click Create Alarm Rule to create or add new alarm rules.

    Note: You can click Modify, Suspend, or Delete the metrics as needed.

Thank you! We've received your feedback.