トップに戻る

Show HN: Sigabrt.dev – cronjob monitor with an SSH TUI

https://sigabrt.dev
24 pointsby48151623421日前12 コメント
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.

コメント (4)

linsomniac6分前
I've been toying with a similar idea for ~6 months: A lightweight job status dashboard.

I wanted something that required no setup, but could just push success/failure messages to as part of various cron jobs, windows tasks, and shell scripts we run throughout our organization.

StatShed server: https://github.com/statshed/statshed-server StatShed go-cli: https://github.com/statshed/statshed-gocli

The idea is kind of like "ntfy.sh", but for jobs status. You can send a "started" message at the beginning, update a "status" message periodically throughout the job, then send a "failed" message (optionally with logs) or a "success". Then a web dashboard gives you an overview with ability to drill down.

We use Icinga for monitoring and paging, but this just gives an overview for a quick look at things we don't want heavy duty monitoring on. Like my laptop backups, information about ansible runs across our fleet, etc.

p2004a1時間前
I'm myself very happy with https://healthchecks.io/ for this purpose.
mrweasel1時間前
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

dorianmariecom2時間前
i have something similar at https://heartbeats.dorianmarie.com/