SiteChecker Plugin for ServerDensity

A couple of weeks ago I wrote a post describing how to make sure that your fail-over sites are running properly. At the time, I was sending the results via email. Since then, I improved the process by turning the logic into a ServerDensity plugin (I mentioned that we use ServerDensity here: Marketing I.T. in the Cloud). It was pretty easy to do. The only thing even remotely clever that I did was cache the results in a file so that I didn’t have to check the sites every 5 minutes (which is the ServerDensity agent run frequency). Here is the code

  • http://blog.serverdensity.com David Mytton

    Thanks for sharing – quick correction; the sd-agent runs every 60 seconds but if you need checking more often you could use our service monitoring functionality which allows you to check URLs up to every 30 seconds, with relevant alerts like HTTP status code, content checks, etc.