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
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.
I think I overlooked that too! I'll definitely check it out again.
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.
That's a solid point! I completely overlooked that feature, thanks all!
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.
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.
Haha, I totally missed that Add Notification button the other day. Thanks for the heads up!