News for hackers. Stuff that matters.
Re:Dead Man's Snitch – A Dead Simple Cron Job Monitoring Ser... by kayson on Sunday May 15, 2022 @02:20PM (#31389665)
You can also use Healthchecks[0] or Uptime-Kuma[1] both of which are open source and self-hostable!

I've been using both for a while and they're great. Healtchecks has first class integration in borgmatic[3], and is in my opinion the better choice for cron jobs. Uptime-Kuma has a really nice interface and also supports checking hosts/services via ping or http request. It also supports "push" requests a la healthchecks but there's a weird race condition bug that makes it misfire (PR is waiting to be merged). It also has status dashboards with incidents.

[0] https://healthchecks.io/

[1] https://github.com/louislam/uptime-kuma

[3] https://torsion.org/borgmatic/

Re:Dead Man's Snitch – A Dead Simple Cron Job Monitoring Ser... by 8fingerlouie on Monday May 16, 2022 @02:59AM (#31394250)
I also use Healthchecks.io.

Originally i self hosted it, but their free plan is more than generous enough for my needs (20 jobs monitored for free i think).

Besides monitoring backups and cron jobs, i use it for monitoring the power state of my summerhouse. We had a problem with a breaker that would trip for no reason, and since nobody wants to arrive at a summerhouse where the fridge has been unpowered for a couple of weeks, i put a RPi Zero W up there on the circuit of the problematic breaker, and set it to call Healthchecks every 15 minutes. If it misses 2, i (might) have a problem.

So far the alarm has gone off twice, both times (fortunately) internet connection releated.

Re:Dead Man's Snitch – A Dead Simple Cron Job Monitoring Ser... by jonny789 on Sunday May 15, 2022 @04:29PM (#31390797)
I have just started using healthchecks.io . Could you tell me how to view request body part of the check using their api ?

`curl --header "X-Api-Key: your-api-key" https://healthchecks.io/api/v1/checks/<uuid>` does not contain the passed request body.

Re:Dead Man's Snitch – A Dead Simple Cron Job Monitoring Ser... by cuu508 on Sunday May 15, 2022 @04:39PM (#31390893)
The API does not return the logged request body, you can currently access it via the web UI only. Happy to discuss feature suggestions and use cases at https://github.com/healthchecks/healthchecks/discussions !