How to get a phone notification if my VPS goes offline?
from oeuf@slrpnk.net to selfhosted@lemmy.world on 24 Mar 20:35
https://slrpnk.net/post/35723833
from oeuf@slrpnk.net to selfhosted@lemmy.world on 24 Mar 20:35
https://slrpnk.net/post/35723833
What are my options for getting alerts on my android phone if services on my VPS becoming unresponsive?
My first thought is a simple app that periodically pings domains and gives a notification if any fail. Is there an open source app for that?
Or something else?
threaded - newest
Uptime Kuma has a number of notification options.
I just had to set one up because the Oracle free tier is hot garbage and needs resetting every day or two.
This is what I use, though I run it on a local server that checks services that it runs (update breaks something, etc) and then also reaches out to the vps (and more) for status checks. Have it check services that are accessible by an access control rule, so the server is protected but you have updates on exactly what is having issues.
I use uptime Kuma with signal-cli for notifications - it’s been rock solid. I also have another uptime kuma instance that uses email as notification option to monitor my primary uptime kuma and the signal-cli.
+1 for Uptime Kuma, I use it with ntfy. If OP doesn’t want a self hosted solution, there’s UptimeRobot - essentially SAAS Uptime Kuma, but with a free tier.
Same here. Run it on my VPS to test my outside reachability and inside to check against my VPS.
I recommend the free tier of healthchecks.io for this. I have all of my in-depth monitoring selfhosted, but use this as a general “is it at least online” check that tells me on multiple platforms if it isnt.
just going to put this here github.com/awesome-selfhosted/awesome-selfhosted?…
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
3 acronyms in this thread; the most compressed thread commented on today has 3 acronyms.
[Thread #191 for this comm, first seen 24th Mar 2026, 21:20] [FAQ] [Full list] [Contact] [Source code]
There’s a lot of options. There’s countless paid services that offer exactly that.
If you wanna build something yourself for free, you could probably set up a site accessible via HTTP on your server and create a script on your phone that pings it every 30 seconds or so. Afaik, termux has a termux-notification function that lets you send a notification.
Codewise, it would look somewhere like this I think:
Afaik, termux doesn’t ship the cron daemon, but you can install cronie or use an external task scheduler. There, just set to run the script every 60 seconds or so. Whatever you need.
I haven’t tested anything of this, but in my head, it sounds like it should work fine.
Cron job and termux-notify
Ntfy can send/receive notifications to/from the phone. You can selfhost it or use a public instance. For the healthcheck app, consider Uptime Kuma as it has ntfy integration. But a simple cron script that monitors + cURLing ntfy when it fails could also be used.
Ntfy is a good lightweight option indeed.
Uptime Kuma and a VOIP subscription that lets you send webhooks.
I run nagios and use pushover, over kill for what I monitor but it’s what I know
Uptime Kuma and a notification provider.
I use telegram because it has an easy way to set up bots.
f-droid.org/…/com.manimarank.websitemonitor
If you don’t have another server, this is likely your best option. It’s a simple app, that pings the website on a given interval and gives an app notification if it can’t reach it.
Set up Uptime Kuma on the VPS to monitor services there. Uptime Kuma can send you a notification if any of them become unresponsive.
Then use Healthchecks.io to monitor the VPS itself and Uptime Kuma.
You can set up to 20 monitors on the free tier with healthchecks.io.
Its a push monitor, so if the VPS/Uptime Kuma doesnt reach out to say its alive within the designated time interval you’ll get a notification, like a sort of dead man switch.
Theres a load of notification options for both healthchecks and Uptime Kuma including email, discord, ntfy, etc, etc.
This way you have no need for a seperate self hosted server, and you get healthchecks on yo healthchecks.