How Can I Get Recovery Notifications for My CloudWatch Alarm?

0
4
Asked By SunsetHiker42 On

Hey folks, I'm using a CloudWatch (CW) alarm to keep an eye on my site-to-site (S2S) VPN connections. I get alerts via SNS when a tunnel goes down, but I'm looking for a simple way to be notified when the status returns to normal. Is there a built-in option to alert me when an alarm changes from ALARM to OK, or do I need to set up a separate alarm for that?

3 Answers

Answered By CloudGuru99 On

Yes, you can definitely set that up! In your existing alarm, you can configure multiple notifications. You can add one for the 'ALARM' state when the threshold is crossed and another for the 'OK' state when the issue is resolved. You should find this option in the console when editing the alarm under 'Configure actions', just look for 'Add Notification' and choose 'OK' as the trigger.

TechieTed22 -

Haha, I totally missed that Add Notification button the other day. Thanks for the heads up!

CloudyDayTools -

I think I overlooked that too! I'll definitely check it out again.

Answered By BugFinder101 On

I think you may be mistaken about needing separate alarms. You can add a notification for the 'OK' state in the same alarm! We always do this with our CW alarms to track both the ALARM and recovery states effectively.

TechieTed22 -

That's a solid point! I completely overlooked that feature, thanks all!

HelpfulHans -

I appreciate your guidance here! I had thought I could only set one alarm for notifications. Now I see I can have multiple alarms or targets for notifications.

Answered By NetworkNinja47 On

By the way, what do you do when just one of your tunnels fails? If you aren't taking any specific action, you might consider removing the single alarm altogether.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.