The alarm function provides the alarm service for monitoring data. By creating alarm rules, you define how the alarm system checks monitoring data and sends alarm notifications when monitoring data meets alarm policies.
After creating alarm rules for important metrics, you can timely know metric data exceptions and quickly rectify the faults.
Parameter | Description |
|---|---|
Name | Alarm rule name. The system generates a random name, which you can modify. Example value: alarm-b6al |
Description | (Optional) Supplementary information about the alarm rule. |
Parameter | Description | Example Value |
|---|---|---|
Alarm Type | Alarm type to which the alarm rule will apply. The type can be Metric or Event. For details about how to select an alarm type, see Table 1. | Metric |
Cloud Product | Select the cloud product you want to monitor. This parameter is only available if you select Metric for Alarm Type. For details about supported cloud products and their metrics, see Cloud Product Metrics. | Elastic Cloud Server - ECSs |
Resource Level | Resource level of the monitored object. This parameter is only available if Alarm Type is set to Metric. The value can be Cloud product (recommended) or Specific dimension. Take ECS as an example. ECS is the cloud product. Specific dimensions are disks, mount points, processes, and more. NOTE: If you select Cloud product, metrics across dimensions (such as Disk Usage and CPU Usage) can be configured in the same alarm rule. If you select Specific dimension, only metrics of the specified dimension can be configured for the same alarm rule. | Cloud product |
Monitoring Scope | Monitoring scope the alarm rule applies to.
NOTE:
| Specific resources |
Group | When Monitoring Scope is set to Resource groups, you need to select a group. If no resource group meets your needs, click Create Resource Group to create one. After selecting a resource group from the drop-down list, you can click View Resources in a Group to view the details of resources in the group. After an alarm rule is configured, the group cannot be modified. NOTE: If the resource group contains an EVS resource with the type in the format of ECS instance ID-volume-Volume ID, the instance cannot report monitoring data after the alarm rule is created. As a result, no alarm can be triggered. | - |
Instance | When Monitoring Scope is set to Specific resources, you need to select the monitored objects for the alarm rule. Click Select Specific Resources to select desired resources. | - |
Event Type | This parameter is only available if Alarm Type is set to Event. You can select either System event or Custom event. For details about the events supported by each cloud service, see Events Supported by Event Monitoring. | System event |
Event Source | This parameter is only available if Alarm Type is set to Event.
| Elastic Cloud Server |
Method | Select a method for configuring an alarm rule. For metric alarm rules or system event alarm rules, you can customize a policy or use a preset template to create one. For custom event alarm rules, you can only customize a policy.
| Configure manually |
Template | When you set Method to Associate template, you need to select a template. You can select a default or custom template. NOTE: An alarm template may contain alarm policies of multiple cloud products or different dimensions of the same cloud product. When you create an alarm rule, the alarm policies vary according to the resource level.
| - |
Alarm Policy | When you set Method to Configure manually, you need to configure alarm policies.
For details about alarm policy parameters, see Alarm Policies. You can add up to 50 alarm policies for a single alarm rule. You can choose to send alarm notifications when any of the policies is met or when all policies are met. | - |
Alarm Severity | Alarm severity, which can be Critical, Major, Minor, or Warning. | Major |
Parameter | Description |
|---|---|
Alarm Notifications | Whether to notify users when alarms are triggered. Notifications can be sent by email, SMS message, or HTTP/HTTPS message. |
Recipient | Target recipient of alarm notifications. You can select the account contact or a topic. This parameter is available only if Notified By is set to Topic subscriptions.
|
Notification Window | Cloud Eye sends notifications only within the validity period specified in the alarm rule. If you set Notification Window to 08:00 to 20:00, Cloud Eye only sends notifications within this period. |
Time Zone | Time zone for the alarm notification window. By default, it matches the time zone of the client server, but can be manually configured. |
Trigger Condition | Condition that will trigger an alarm notification. You can select Generated alarm (when an alarm is generated), Cleared alarm (when an alarm is cleared), or both. |
After the alarm rule is created, if a metric reaches the specified threshold, Cloud Eye immediately informs you of the exception through SMN.