Live data from Hacker News

Monitoring My Homelab, Simply

b.tuxes.uk

61–70 of 70 posts

Re: Monitoring My Homelab, Simply

#61
post #56

Earlier quoted context omitted.

Last time I checked it lacked real API or a way to be configured via config files. I find Gatus much more thought through. - https://github.com/TwiN/gatus

Not that I think that an API is fundamental to a monitoring tool, but it happens to have one: https://github.com/louislam/uptime-kuma/wiki/API-Documentati...

It matters if you have a lot of services and want to store config in git, or do auto discovery. Even on medium homelab it's important.

Not necessarily an API, but a config file would be nice.

Also... there is a big disclaimer at the very top of the page.

Re: Monitoring My Homelab, Simply

#62
post #56

Uptime Kuma ( https://github.com/louislam/uptime-kuma ). With email notifications. So much simpler, and free.

Last time I checked it lacked real API or a way to be configured via config files. I find Gatus much more thought through. - https://github.com/TwiN/gatus

There is a python library to load stuff into kuma. Just need password and url

Re: Monitoring My Homelab, Simply

#63
>I can’t remember why I decided that [ . . . ], but I remember thinking hard about it, and thinking I was quite the scholar for thinking hard about this. If you figure it out and I’m correct, then please let me know.

A whole chain of these can end up being the key to overcoming otherwise unsurmountable obstacles.

Which can be extremely unlikely for anybody else to be able to replicate in the future, especially if they don't even get the first step right, perhaps not even yourself :\

Something like that can be quite a moat for a technology developer ;)

Re: Monitoring My Homelab, Simply

#64

Earlier quoted context omitted.

Zabbix is bollocks. so is nagios. Having remote root access to all your stuff is utter shite. Prometheus as a time series DB is great, I even like its QL. What I don't like is pull. Sure there is agent mode or telegraf/grafana agent. But the idea that I need to hold my state and wait for Prometheus to collect it is utterly stupid. The biggest annoyance is that I need to have a webserver somewhere, with a single god i…

AFAIK, you can now send OpenTelemetry directly to Prometheus. So effectively it supports both push and pull models.

AFAIK, OpenTelemetry has never been effective compared to Prometheus.

Re: Monitoring My Homelab, Simply

#65
post #39
post #38

Earlier quoted context omitted.

Do you do regular backups? If your backup system breaks and stop making new backups, what will let you know? What if your RAID is failing, running out of space, remounted read-only after an error? I have found that "machine is online" is usually not what I need monitoring for, at all. I'll notice if it's down. It's all the mission-critical-but-silently-breakables that I bother to monitor.

Not OP, https://healthchecks.io is great for monitoring automated tasks like backup scripts. Also has the option to immediately signal failure and send an alert: https://healthchecks.io/docs/signaling_failures/

That's what I use for cron-type things. Experience has been great. I also run it as a watchdog in my alertmanager container, so I am alerted if the alerts are broken.

Re: Monitoring My Homelab, Simply

#66
post #62
post #56

Earlier quoted context omitted.

Last time I checked it lacked real API or a way to be configured via config files. I find Gatus much more thought through. - https://github.com/TwiN/gatus

There is a python library to load stuff into kuma. Just need password and url

That would be a workaround.

Do you recall the library name?

Re: Monitoring My Homelab, Simply

#68

Quite like Cloudprober for this tbh: https://cloudprober.org/docs/how-to/alerting/ Easy to configure, easy to extend with Go, and slots in to alerting.

Thanks for sharing — I'm the author of Cloudprober. Always happy to hear thoughts or suggestions (https://github.com/cloudprober/cloudprober discussions or slack linked from the homepage - https://cloudprober.org)
Post reply on HN