10 points 4815162342 1 day ago 3 comments
Hello HN. I built this mostly to monitor the things I host myself. I know it's nothing too exciting.
Anyway, the TL;DR is: Create an endpoint, and if your script/cronjob fails to regularly ping it, you get notified (by email or ntfy). E.g.:
0 * * * * ./script.sh && curl -fsS https://sigabrt.dev/pulse/<id>/beat
It also has an SSH TUI which is currently experimental and read-only, mostly because I'm not sure whether it is actually useful or just a gimmick :): ssh sigabrt.dev
To use it, simply add your SSH public key in your account settings.Yes, there are services like this already, and this is minimalistic by comparison. Feedback is welcome.
dorianmariecom 44 minutes ago | parent
i have something similar at https://heartbeats.dorianmarie.com/
mrweasel 23 minutes ago | parent
If you need/want a dashboard it's kinda cool. There's a lot of other options that will do something similar, but not via SSH. Crontab can email you directly, no need for a service.
You could also just use systemd timers and do: systemctl --failed -t service
p2004a 19 minutes ago | parent
I'm myself very happy with https://healthchecks.io/ for this purpose.