Setting Alarm Rules
Scenarios
- The RDS console supports one-click alarm reporting (Enabling One-Click Alarm Reporting). If key metrics such as the CPU usage, memory usage, or storage space usage. If any metrics exceed the specified threshold, an alarm will be triggered and a notification will be sent to the cloud account contact through SMN.
- You can set alarm rules by referring to Setting Alarm Rules to customize the monitored objects and notification policies and stay aware of the RDS running status.
The RDS alarm rules include alarm rule names, resource types, dimensions, monitored objects, metrics, alarm thresholds, monitoring period, and whether to send notifications.
Enabling One-Click Alarm Reporting
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instance Management page, click the target DB instance.
- In the navigation pane on the left, choose Advanced O&M.
- On the Alarms tab, click
to enable the alarm reporting function. Figure 1 Alarm settings
Enabling alarm reporting does not charge, but you are charged for message notifications sent by SMN if any alarms are generated. For SMN pricing details, see Pricing Details.
- If you want to disable the alarm reporting function, click
.
Setting Alarm Rules
- Log in to the management console.
- Under Management & Deployment, click Cloud Eye.
- In the navigation pane on the left, choose Cloud Service Monitoring > Relational Database Service. Figure 2 Choosing a monitored object
- Select the DB instance for which you want to create an alarm rule and click Create Alarm Rule in the Operation column. Figure 3 Creating an alarm rule
- On the displayed page, set parameters as required. Figure 4 Configuring alarm information
- Specify Name and Description.
- Select Use template for Method. The template contains the CPU usage, memory usage, and storage space usage.
- Click
to enable alarm notification. The validity period is 24 hours by default. If the topics you required are not displayed in the drop-down list, click Create an SMN topic. Then, select Generated alarm and Cleared alarm for Trigger Condition.
Cloud Eye sends notifications only within the validity period specified in the alarm rule.
- Click Create. The alarm rule is created.
For details about how to create alarm rules, see the Using Alarm Templates to Create Alarm Rules in the Cloud Eye User Guide.
Last Article: Configuring Displayed Metrics
Next Article: Configuring Second-Level Monitoring
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.