this post was submitted on 13 Jan 2025
15 points (89.5% liked)

Selfhosted

41009 readers
499 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi all!

i have a nice setup with some containers (podman rootless) and bare metal services (anything i can install bare metal, goes bare metal usually).

I used Monit, in the past, to keep an eye on my services and automatically restart something that for any reason goes down. I stopped using Monit because doesnt scale well on mobile browser and it's frankly clumsy to configure.

I could go back to Monit i guess, but i am wondering if there is anything better out there to try.

A few requirements (not necessarily mandatory, but preferable):

  • Open Source (ideally: true open source, not just commercial sulutions with dumbed down free verisons)
  • Not limited, or focuesd, on containers (no Watchtower and similar)
  • For containers, it can just support "works" or "restart"
  • For containers, if it goes above the minimum "works" and "restart" must support podman
  • Must support bare metal services (status, start, stop)
  • Must send email or other kind of notifications (ok IM notifications, but email preferred)
  • Should additionally monitor external machines (es other servers on the LAN), or generic IP addresses
  • Should detect if a web service is alive but blocked
  • No need for fancy GUIs or a Web GUI (it's a pro point, but not required)
  • No need for data reporting, graphics and such aminities. They are a plus, but 100% not required.

What do you guys use?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 2 days ago (1 children)

I think I'm a step behind you. I use Uptime Kuma for monitoring and it worked really well. Just have it running on a pi separate from my main machine.

I worked out how to get it sending me emails when things are down and up, and now my email inbox is a fucking hot mess of notifications.

So I've just this weekend integrated it into Home Assistant and set it to notify me when things are down for 5 minutes or more.

My next step was going to be finding some way of integrating Portainer into Home Assistant so I can restart stopped containers, and maybe Proxmox so I can reboot VMs from HA. Not sure it's possible yet though.

Ultimately I want to have HA send me a notification with actionable buttons with "reboot container" and "reboot VM" which, when pressed, will sort the issue out.

However this will not help when one of my drives goes down. They're HDDs plugged in by USB3 which isn't great and my server is behind the coat rack so sometimes the kids just throw their coats on and it falls onto my server, which then heats up and goes silly.

[–] [email protected] 1 points 1 day ago (2 children)

Can you share the Home Assistant automation / setup that you have for Uptime Kuma notifications? As I'm in the same boat as you. I just got a webhook setup but I'm getting flooded with notifications, especially after services update.

My hope is I just want to be notified when a particular service is down for say 5 minutes but all I care about is knowing the node name. I don't necessarily care to get notified if the service comes back up.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

This is what the 'retries' setting in each monitor is for. It will only be considered down if its failed its heartbeat check <retries> number of times in a row.

[–] [email protected] 2 points 1 day ago

I did it all in Node Red so unfortunately I can't share the automation, but I can point you at this HACS integration https://github.com/meichthys/uptime_kuma

Set that up and all your nodes will be visible in HA then it's just a case of "if node X is off for X minutes" - "notify"