我在 AWS 中有一个实例,它的 CPU 不时超过 90% 的阈值。
我为此创建了一个警报,但是我看到我只收到一个通知,并且是在前 5 分钟内,而 CPU 处于 100% 持续 2 小时。
如何设置指标以便我一直收到通知?
最佳答案
如果违反阈值,Cloudwatch 不会连续发送通知。 Cloudwatch 只能在状态发生变化时发送通知。
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
我能想到的一种可能的解决方案是创建一个具有多个阈值的多个 Cloudwatch 警报。
关于amazon-web-services - Cloudwatch 中的持续警报,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48679949/