Statusy supports direct integration with your AWS account using CloudWatch and SNS. To get started, you will first want to configure the integration in Statusy - view the getting started guide for more information.
Once you have obtained your Endpoint URL, head over to your AWS account.
First, ensure you have a SNS Topic created, if not, create one using the Create Topic option. Next, select the topic you have created and add a Subscription using the Create subscription button.
A screen will appear prompting you for the Topic ARN, this should be pre-filled with the topic you selected. Next, select the HTTPS protocol, and lastly enter the Endpoint you received on the integrations page in the Endpoint box. Click Create subscription to finalize your selection.
You should then notice the subscription added to the table. At first, the subscription will be shown as pending confirmation, please wait a moment and Statusy will automatically confirm the subscription. Upon refreshing the page you should see the status change.
Once the subscription has been created, use CloudWatch to create an alarm. We have provided an example below using an EC2 instance.
Right click on the EC2 instance you want to create an alarm for, hover over CloudWatch Monitoring and then select Add/Edit Alarms.
You will then be prompted to configure the alarm. Confirm the SNS topic you created earlier is selected. After that has been done, configure the monitor as you normally would. Click Create Alarm when you are finished.
You should then see a screen with a link to the newly created Alarm, click that link. If this screen doesn't appear navigate to CloudWatch manually and right click on the newly created Alarm and select Modify.
Once there, add a second Notification for the OK status to be sent to the SNS topic. This will ensure that Statusy receives updates both when an alarm is triggered and when it is resolved.
Please note, this is an important step. If you forget to configure the second notification, Statusy will only show services as DOWN.
You can now configure additional alarms in CloudWatch, be sure to configure the State is OK notification for each new alarm.
Comments
0 comments
Please sign in to leave a comment.