Jaime Gago Condensing Information Systems From the Vapor Of Data

7Apr/140

Monitor Sensu Server with Pingdom

If you found yourself in a "who watches the watchmen" situation and need to monitor your Sensu server, here is a solution with Pingdomsensu_logo

Create a Pingdom http check that points to the /health end point ( you'll need to enter your sensu dashboard auth in user name/password in optional settings)  AND select in optional settings/request headers "Accept" and enter this in the empty field

*/*

 took me a couple of hours and some tcpdumping to find this out so hopefully it saves some time to other folks out there!

Screen Shot 2014-04-07 at 16.47.42

Note that the check will report "OK" as long as you have a sensu server available (thanks to built in round robin redundancy), it will fail however if the sensu API can't be reached at the configured URL.

So say you have 2 hosts (foo and bar) running as Sensu servers, they both are running the sensu server daemon and the sensu api. You point your pingdom check to htp://foo/health

your sensu server dies on foo but not on bar => check is ok

your sensu server dies on foo AND bar => check will fail

your sensu api dies on foo but not on bar => check will fail

your sensu api dies on bar => check is ok

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.