简体   繁体   中英

Auditing AWS CloudWatch and SNS Notifications

I have a CloudWatch Alarm that sends a notification to an SNS topic, and I have a subscriber on that topic setup to receive those notifications.

The problem is, the consumer listening on that topic is not receiving the notifications when I see evidence that the alarm should be firing notifications to the topic. So I'm trying to figure out:

  • Is the alarm not configured properly?
  • Is the SNS topic or the subscription on that topic not configured properly?

So I ask: is it possible to get an " audit " of when CloudWatch alarms fire notifications? Is it possible to get a similar "audit" in SNS, where you can see a log of what has been published to a particular topic, and whether or not anything successfully consumed/read it?

We have metrics in cloudwatch. When you configure alarms we publish metrics for the same. So you can check in the console if your metric has been published or not. If metric is published that means alarm has been triggered.

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