78 points by 4815162342 2 days ago | 34 comments | View on ycombinator
p2004a 1 day ago |
raimue 1 day ago |
Your service could accomplish something similar if it had such a wrapper to report both success and failures with logs to a remote server. That would take away the need to run a local MTA, while also detecting with the heartbeat whether the job ran at all.
mosselman 1 day ago |
Sure there is the downside of having to be at your laptop or having it on, but the upside is that it has very few moving parts and is very simple and it just has one set price.
mrweasel 1 day ago |
You could also just use systemd timers and do: systemctl --failed -t service
linsomniac 1 day ago |
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.
undefined 1 day ago |
DylanMerigaud 1 day ago |
adityamishra241 1 day ago |
noja 1 day ago |
marysol5 about 10 hours ago |
undefined 1 day ago |
ww520 1 day ago |
sumit_arora about 15 hours ago |
andrey_chmerev 1 day ago |
deankong 1 day ago |
dorianmariecom 1 day ago |