Status Cake and Pagerduty

Posted on Tuesday, February 17, 2015


Now that I have Status Cake set up and working, I want to see what if it can trigger a Pagerduty Alert.



I found this page https://www.pagerduty.com/docs/guides/statuscake-integration-guide/ [1]   (but it is out of date do not use it!)
I am not going to go into how to set up Pagerduty and get its Service API key, I assume you already know how to do that for this document.  If you don't I have an article on how to do just that at http://www.whiteboardcoder.com/2014/10/pagerduty-api-service-alert.html








Click on Create Integration







Select PagerDuty from the pulldown







Enter your Pagerduty Service Key, give it an alias and click "Add new 3rd party notification service"








That adds a Pagerduty Notification.






Now you need to add the Pagerduty to a Contact.   Click on Contacts.








I already have a contact group named "TEST".   Click on it to open it for editing








Go to the Push Notification line.  If you select it a pull down menu will display all your 3rd party notifications you have set up.   Select PD TEST







Click Save Changes.




Now when this group is alerted it will also trigger the Pagerduty alert.
I ran a test, taking down my system, and StatusCake alerted Pagerduty and I got a call!  I like it!



The only thing I have against it is this.   It will auto resolve pagerduty through the API calls.  I don't like that, when there is a serious pageable incident I don't want another service auto resolving.



UPDATE:  They fixed it! check out this post
http://www.whiteboardcoder.com/2015/02/status-cake-pagerduty-redo.html 


References

[1]        Pagerduty StatusCake Integration
                        https://www.pagerduty.com/docs/guides/statuscake-integration-guide/
                Accessed 1/2015




This post is a part of and epic, the pagerduty and twilio epic.

Epic Goal:   Set up a phone number, via twillio, that when called will set off a pagerduty event.

No comments:

Post a Comment