| object | | |
Code | string | The HTTP status code.
Note
The status code 200 indicates that the request was successful.
| 200 |
Message | string | | The Request is not authorization. |
RequestId | string | | F82E6667-7811-4BA0-842F-5B2DC42BBAAD |
Success | boolean | Indicates whether the request was successful. Valid values:
| true |
Datapoints | object [] | The details of the alert rules. | |
SilenceTime | string | The mute period during which new alerts are not sent even if the trigger conditions are met.
Unit: seconds. | 86400 |
MetricName | string | | cpu_total |
EvaluationCount | string | The consecutive number of times for which the metric value meets the alert condition before an alert is triggered. | 3 |
Webhook | string | | http://www.aliyun.com |
State | string | Indicates whether the alert rule is enabled. | Enable |
ContactGroups | string | | ECS_Group |
Namespace | string | The namespace of the cloud service. | acs_ecs_dashboard |
RuleName | string | The name of the alert rule. | SystemDefault_acs_rds_dashboard_CpuUsage |
RuleId | string | The ID of the alert rule. | a151cd6023eacee2f0978e03863cc1697c89508**** |
Period | string | The aggregation period of monitoring data.
Unit: seconds. | 60 |
ComparisonOperator | string | The comparison operator that is used in the alert rule. Valid values:
| > |
EndTime | string | The end of the time period during which the alert rule is effective.
Unit: hours. For example, the value 23 indicates 23:59:59 . | 24 |
StartTime | string | The beginning of the time period during which the alert rule is effective.
Unit: hours. For example, the value 00 indicates 00:00:00 . | 00 |
Threshold | string | | 90 |
Statistics | string | | Average |
Enable | string | Indicates whether the alert rule is enabled. Valid values:
- true: The alert rule is enabled.
- false: The alert rule is disabled.
| true |
AlertList | object [] | The details of the alert rules. The result is in the same structure as that returned by the DescribeMetricRuleList operation. | |
SilenceTime | string | The mute period during which new alerts are not sent even if the trigger conditions are met.
Unit: seconds. | 86400 |
MetricName | string | | cpu_total |
Webhook | string | | http://www.aliyun.com |
ContactGroups | string | | ECS_Group |
Namespace | string | The namespace of the Alibaba Cloud service. | acs_ecs_dashboard |
EffectiveInterval | string | The time period during which the alert rule is effective. | 00:00-23:59 |
NoEffectiveInterval | string | The time period during which the alert rule is ineffective. | 00:00-06:00 |
MailSubject | string | The subject of the alert notification email. | ECS_Bucket |
RuleName | string | The name of the alert rule. | myAlert |
RuleId | string | The ID of the alert rule. | ruleIdxxxx |
Period | string | The aggregation period of monitoring data.
Unit: seconds. | 60 |
AlertState | string | The status of the alert rule. Valid values:
- OK: The alert rule has no active alerts.
- ALARM: The alert rule has active alerts.
- INSUFFICIENT_DATA: No data is found.
| OK |
Dimensions | string | The monitoring data of the specified resource. | "" |
EnableState | boolean | Indicates whether the alert rule is enabled. Valid values:
- true: The alert rule is enabled.
- false: The alert rule is disabled.
| true |
Resources | string | The resources that are associated with the alert rule. | [{"resource":"_ALL"}] |
Escalations | object | The conditions for triggering different levels of alerts. | |
Info | object | The conditions for triggering Info-level alerts. | |
ComparisonOperator | string | The operator that is used to compare the metric value with the threshold for Info-level alerts. Valid values:
- GreaterThanOrEqualToThreshold: greater than or equal to the threshold
- GreaterThanThreshold: greater than the threshold
- LessThanOrEqualToThreshold: less than or equal to the threshold
- LessThanThreshold: less than the threshold
- NotEqualToThreshold: not equal to the threshold
- GreaterThanYesterday: greater than the metric value at the same time yesterday
- LessThanYesterday: less than the metric value at the same time yesterday
- GreaterThanLastWeek: greater than the metric value at the same time last week
- LessThanLastWeek: less than the metric value at the same time last week
- GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
- LessThanLastPeriod: less than the metric value in the last monitoring cycle
| GreaterThanThreshold |
Times | string | The consecutive number of times
for which the metric value meets the alert condition before an Info-level alert is triggered. | 3 |
Threshold | string | The threshold for Info-level alerts. | 95 |
Statistics | string | The statistical methods for Info-level alerts. | Average |
Warn | object | The conditions for triggering Warn-level alerts. | |
ComparisonOperator | string | The operator that is used to compare the metric value with the threshold for Warn-level alerts. Valid values:
- GreaterThanOrEqualToThreshold: greater than or equal to the threshold
- GreaterThanThreshold: greater than the threshold
- LessThanOrEqualToThreshold: less than or equal to the threshold
- LessThanThreshold: less than the threshold
- NotEqualToThreshold: not equal to the threshold
- GreaterThanYesterday: greater than the metric value at the same time yesterday
- LessThanYesterday: less than the metric value at the same time yesterday
- GreaterThanLastWeek: greater than the metric value at the same time last week
- LessThanLastWeek: less than the metric value at the same time last week
- GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
- LessThanLastPeriod: less than the metric value in the last monitoring cycle
| GreaterThanThreshold |
Times | string | The consecutive number of times
for which the metric value meets the alert condition before a Warn-level alert is triggered. | 3 |
Threshold | string | The threshold for Warn-level alerts. | 80 |
Statistics | string | The statistical methods for Warn-level alerts. | Average |
Critical | object | The trigger condition for Critical-level alerts. | |
ComparisonOperator | string | The operator that is used to compare the metric value with the threshold for Critical-level alerts. Valid values:
- GreaterThanOrEqualToThreshold: greater than or equal to the threshold
- GreaterThanThreshold: greater than the threshold
- LessThanOrEqualToThreshold: less than or equal to the threshold
- LessThanThreshold: less than the threshold
- NotEqualToThreshold: not equal to the threshold
- GreaterThanYesterday: greater than the metric value at the same time yesterday
- LessThanYesterday: less than the metric value at the same time yesterday
- GreaterThanLastWeek: greater than the metric value at the same time last week
- LessThanLastWeek: less than the metric value at the same time last week
- GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
- LessThanLastPeriod: less than the metric value in the last monitoring cycle
| GreaterThanThreshold |
Times | string | The consecutive number of times for which the metric value meets the alert condition before a Critical-level alert is triggered. | 3 |
Threshold | string | The threshold for Critical-level alerts. | 99 |
Statistics | string | The statistical methods for Critical-level alerts. | Average |