The poor man's uptime alerts
github.comWrote a similar curl -> email thing in python: https://github.com/mattbillenstein/pingthing
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.