This topic describes how to create an alarm rule for an ECS or BMS.
Parameter |
Description |
---|---|
Name |
Specifies the alarm rule name. The system generates a random name, which you can modify. Example value: alarm-b6al |
Description |
(Optional) Provides supplementary information about the alarm rule. |
Parameter |
Description |
Example Value |
---|---|---|
Method |
Specifies the means you use to create the alarm rule. |
Create manually |
Metric |
For details about basic monitoring metrics, see Services Interconnected with Cloud Eye. |
N/A |
Mount Point or Disk |
This parameter is mandatory when the metric is a fine-grained disk metric. For the Windows OS, enter a drive letter, such as C, D, or E. For the Linux OS, enter a mount point, such as /dev or /opt. |
/dev |
Alarm Policy |
Specifies the policy for triggering an alarm. For example, an alarm is triggered if the average value of the monitored metric is 80% or more for three consecutive 5-minute periods. |
N/A |
Alarm Severity |
Specifies the alarm severity, which can be Critical, Major, Minor, or Informational. |
Major |
Alarm Notification |
Specifies whether to notify users when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS message. You can enable (recommended) or disable this function. |
Enable |
Topic |
Specifies the name of the topic the alarm notification is to be sent to. If you have enabled Alarm Notification, select a topic. If no desirable topics are available, create one first, whereupon the SMN service is invoked. For details about how to create a topic, see the Simple Message Notification User Guide. |
N/A |
Validity Period |
Cloud Eye sends notifications only within the validity period specified in the alarm rule. If Validity Period is set to 00:00-8:00, Cloud Eye sends notifications only within 00:00-8:00. |
N/A |
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. |
N/A |
After the alarm rule is created, if the metric data reaches the specified threshold, Cloud Eye immediately informs you that an exception has occurred.