By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Why did my CloudWatch alarm send me a notification after a single breached data point?

2 minute read
0

I configured my Amazon CloudWatch alarm to notify me when a metric is outside a defined threshold for multiple periods in a row. I want to know why my CloudWatch alarm notified me after only one breached period.

Short description

Your CloudWatch alarm might be configured to treat a missing data point the same way as a breaching data point.

Your alarm might go into the ALARM state if the following are met: 

  • All data points are missing except one breaching data point. This causes an ALARM state even if the total number of breaching data points is lower than the Datapoints to Alarm setting.
  • The oldest available breaching data point in the alarm's evaluation range is as old as the value of Datapoints to Alarm.
  • Missing data is treated as missing.

Resolution

To configure your alarm to not send notifications when a single data point is breached, you can edit your alarm.

Take one of the following actions:

Related information

describe-alarm-history

put-metric-alarm

AWS OFFICIAL
AWS OFFICIALUpdated 6 months ago