News for hackers. Stuff that matters.
Re:The poor man's uptime alerts by mattbillenstein on Tuesday August 27, 2024 @03:10AM (#41365196)
Wrote 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.