Creating an Alarm Rule to Monitor an Event
Scenarios
This section describes how to create an alarm rule to monitor an event.
Procedure
- Log in to the management console.
- Click in the upper left corner of the page. Under Management & Governance, click Cloud Eye.
- In the navigation pane on the left, choose Event Monitoring.
- On the event list page, click Create Alarm Rule in the upper right corner.
- On the Create Alarm Rule page, configure the parameters.
Table 1 Parameter description Parameter
Description
Name
Specifies the alarm rule name. The system generates a random name, which you can modify.
Description
(Optional) Provides supplementary information about the alarm rule.
Enterprise Project
You can select an existing enterprise project or click Create Enterprise Project to create one.
Alarm Type
Specifies the alarm type corresponding to the alarm rule.
Event Type
Specifies the event type of the metric corresponding to the alarm rule.
Event Source
Specifies the service the event is generated for.
Select Relational Database Service.
Monitoring Scope
Specifies the monitoring scope for event monitoring.
- All resources: If you select All resources, an alarm will be triggered when any RDS DB instance meets an alarm policy, and existing alarm rules will be automatically applied for newly purchased resources.
- Resource groups: If you select Resource groups, an alarm will be triggered when any resource in the group meets the alarm policy.
- Specific resources: Currently, RDS for PostgreSQL instance resources cannot be specified.
Method
Specifies the means you use to create the alarm rule.
Alarm Policy
Event Name indicates the instantaneous operations users performed on system resources, such as login and logout.
For events supported by event monitoring, see Events Supported by Event Monitoring.
You can select a trigger mode and alarm severity as needed.
Click to enable alarm notification. The validity period is 24 hours by default. If the topics you require are not displayed in the drop-down list, click Create an SMN topic.Table 2 Alarm notification Parameter
Description
Alarm Notification
Specifies whether to notify users when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS message.
Notification Object
Specifies the object that receives alarm notifications. You can select the account contact or a topic.- Account contact is the mobile phone number and email address of the registered account.
- Topic is used to publish messages and subscribe to notifications. If the required topic is unavailable, create one first and add subscriptions to it.
For details, see Creating a Topic and Adding Subscriptions.
Notification Window
Cloud Eye sends notifications only within the notification window specified in the alarm rule.
If Notification Window is set to 08:00-20:00, Cloud Eye sends notifications only within 08:00-20:00.
Trigger Condition
Specifies the condition for triggering the alarm notification.
- Click Create.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot