Wrote a similar curl -> email thing in python: <a href="https://github.com/mattbillenstein/pingthing">https://github.com/mattbillenstein/pingthing</a><p>I've been putting an http endpoint in my sites that checks all the backing stores and returns a 204 on everything ok, and a 200 + error message on something broken. This is a remarkably simple and effective way to do entire site monitoring given the called endpoint can check server stats, task queue depth, backing store health, anything really.