Creating an Alarm Rule to Monitor an Event
Scenarios
This topic describes how to create an alarm rule to monitor an event.
Procedure
- Log in to the management console.
- Under Management & Deployment, select 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, set the parameters.
- Set the alarm rule name and description.
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
Specifies the enterprise project the alarm rule belongs to. Only users with the enterprise project permissions can view and manage the alarm rule.
- Select a monitored object and set alarm rule parameters.
Figure 1 Configuring parameters
Table 2 Parameter description Parameter
Description
Resource Type
Specifies the type of the resource the alarm rule is created for.
Dimension
Specifies the metric dimension of the selected resource type.
Example value: System event
Method
Specifies the means you use to create the alarm rule.
Event Source
Specifies the service the event is generated for.
Example value: Elastic Cloud Server
For a custom event, set Event Source to the value of event_source.
Event Name
Specifies the instantaneous operations users performed on resources, such as login and logout.
For events supported by event monitoring, see Events Supported by Event Monitoring.
Example value: Delete ECS
Monitoring Scope
Specifies the monitoring scope for event monitoring.
Example value: All resources
Monitored Object
Specifies the object to be monitored. This parameter is mandatory if you set Monitoring Scope to Specific resources.
Trigger Mode
You can select immediate trigger or accumulative trigger based on the operation severity.
Example value: Immediate trigger
Alarm Severity
Specifies the alarm severity. Valid values are Critical, Major, Minor, and Informational.
Example value: Major
- Set Alarm Notification parameters.
Figure 2 Alarm Notification
Table 3 Parameter description 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: A 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.
Validity Period
Cloud Eye sends notifications only within the validity period specified in the alarm rule.
If Validity Period 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. You can select Generated alarm (when an alarm is generated), Cleared alarm (when an alarm is cleared), or both.
- Click Create.
- Set the alarm rule name and description.
Last Article: Viewing Event Monitoring Data
Next Article: Events Supported by Event Monitoring
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.