Updated on 2025-08-25 GMT+08:00

Alarm Rule Configurations Check

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

alarm-settings-check

Identifier

Alarm Rule Configurations Check

Description

If the alarm rule configurations of the specified metric do not match the specified conditions, this rule is non-compliant.

Tag

ces

Trigger Type

Configuration change

Filter Type

ces.alarms

Rule Parameters

  • metricName: indicates a metric name. The value must be a string.
  • threshold: indicates an alarm threshold. The value must be a string.
  • count: indicates the number of consecutive occurrences specified to trigger an alarm. The value must be a string.
  • period: indicates the monitoring data granularity. The value must be a string.
  • comparisonOperator: indicates the operator. This is a string type parameter. >, =, <, >=, and <= are supported.
  • filter: indicates data aggregation method. The value must be a string.

Application Scenarios

You can set alarm rules for key metrics of cloud services. When the conditions in the alarm rule are met, Cloud Eye sends email, or text message, or sends HTTP/HTTPS messages, enabling you to quickly respond to resource changes. For details, see Alarm Overview.

You can monitor key metrics of cloud services. Then you can handle exceptions in a timely manner. An alarm policy for metrics must contain the metric name, metric value type, consecutive triggering times, threshold, and alarm frequency. For details, see Alarm Policies.

Solution

Configure alarm policies to set alarms for specific metrics.

Rule Logic

  • If the alarm rule configurations of the specified metric do not match the specified conditions, this rule is non-compliant.
  • If the alarm rule configurations of the specified metric match the specified conditions, this rule is compliant.