简体   繁体   中英

Continuous alerts in Cloudwatch

I have an instance in AWS that from time to time it's CPU cross the threshold of 90%. I have created an alert for this, however I saw that I received one notification only and it was during the first 5 minutes while the CPU was at 100% for 2 hours. How do I set the metric so I will keep getting notifications all the time?

Cloudwatch does not send notifications continuously if the threshold is breached. Cloudwatch can send a Notification only when the state changes.

Alarms invoke actions for sustained state changes only. CloudWatch alarms do not invoke actions simply because they are in a particular state, the state must have changed and been maintained for a specified number of periods. Ref: AWS Cloudwatch Documentation

One possible solution that I can think of is to create a Multiple Cloudwatch Alarms with Multiple thresholds.

由于上面的答案已经说它不会再次触发,您可以做的一件事是将警报条件更改为非常大的值,然后原始值和状态更改将再次发生。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM