Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
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.
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.
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.
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"