Home

How to get a phone notification if my VPS goes offline?

$$17243
https://slrpnk.net/u/oeuf posted on Mar 24, 2026 20:35

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?

https://slrpnk.net/post/35723833
Reply
$$17246
https://lemmy.world/u/AbidanYre posted on Mar 24, 2026 20:48
In reply to: https://slrpnk.net/post/35723833

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.

https://lemmy.world/comment/22847907
Reply
$$17249
https://lemmy.world/u/WIPocket posted on Mar 24, 2026 20:49
In reply to: https://slrpnk.net/post/35723833

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.

https://lemmy.world/comment/22847930
Reply
$$17250
https://lemmy.horwood.cloud/u/mhzawadi posted on Mar 24, 2026 20:49
In reply to: https://slrpnk.net/post/35723833

just going to put this here https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#monitoring--status-pages

https://lemmy.horwood.cloud/comment/2052416
Reply
$$17258
https://lemmy.world/u/wreckedcarzz posted on Mar 24, 2026 21:09
In reply to: https://lemmy.world/comment/22847907

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.

https://lemmy.world/comment/22848220
Reply
$$17259
https://feddit.org/u/comrade_twisty posted on Mar 24, 2026 21:10
In reply to: https://lemmy.world/comment/22847907

I used uptime Kuma with signal-cli for notifications - it’s been rock solid. I also have anotger uptime kuma that uses email as notification option to monitor my primary uptime kuma and the signal-cli.

https://feddit.org/comment/12192909
Reply
$$17264
https://lemmy.decronym.xyz/u/Decronym posted on Mar 24, 2026 21:20
In reply to: https://slrpnk.net/post/35723833

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
ESXi VMWare virtual machine hypervisor
HTTP Hypertext Transfer Protocol, the Web
VPS Virtual Private Server (opposed to shared hosting)

[Thread #191 for this comm, first seen 24th Mar 2026, 21:20] [FAQ] [Full list] [Contact] [Source code]

https://lemmy.decronym.xyz/comment/20680
Reply
$$17277
https://piefed.zip/u/realitaetsverlust posted on Mar 24, 2026 21:47
In reply to: https://slrpnk.net/post/35723833

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-notify function that lets you send a notification.

Pseudocodelike, it would look somewhere like this I think:

#!/usr/bin/env bash  

# Config 
NOTIFY_TITLE="Server Alert"  
NOTIFY_MESSAGE="Server returned a non‑200 status."  

HOST="funnysite.com"  
PORT=8080  
PATH="/healtcheck"  

URL="http://${HOST}:${PORT}${PATH}"  
# Config  

HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" "$URL")  

if [[ "$HTTP_CODE" != "200" ]]; then  
    termux-notify -t "$NOTIFY_TITLE" -c "$NOTIFY_MESSAGE $HOST:$PORT → $HTTP_CODE"  
fi  

exit 0  

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.

https://piefed.zip/comment/4424468
Reply
$$17293
https://lemmy.world/u/thirdBreakfast posted on Mar 24, 2026 22:31
In reply to: https://feddit.org/comment/12192909

+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.

https://lemmy.world/comment/22849544
Reply
$$17297
https://lemmy.today/u/LodeMike posted on Mar 24, 2026 22:40
In reply to: https://slrpnk.net/post/35723833

Cron job and termux-notify

https://lemmy.today/comment/23106859
Reply
$$17422
https://lemdro.id/u/stratself posted on Mar 25, 2026 04:05
In reply to: https://slrpnk.net/post/35723833

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.

https://lemdro.id/comment/23214200
Reply
$$17424
https://lemmy.world/u/ikidd posted on Mar 25, 2026 04:15
In reply to: https://slrpnk.net/post/35723833

Uptime Kuma and a VOIP subscription that lets you send webhooks.

https://lemmy.world/comment/22853614
Reply
$$17471
https://lemmy.horwood.cloud/u/mhzawadi posted on Mar 25, 2026 06:43
In reply to: https://slrpnk.net/post/35723833

I run nagios and use pushover, over kill for what I monitor but it’s what I know

https://lemmy.horwood.cloud/comment/2053495
Reply
$$17480
https://lemmy.ml/u/Schlemmy posted on Mar 25, 2026 06:56
In reply to: https://lemdro.id/comment/23214200

Ntfy is a good lightweight option indeed.

https://lemmy.ml/comment/24749783
Reply
$$17482
https://lemmy.dbzer0.com/u/Appoxo posted on Mar 25, 2026 06:58
In reply to: https://slrpnk.net/post/35723833

Uptime Kuma and a notification provider.
I use telegram because it has an easy way to set up bots.

https://lemmy.dbzer0.com/comment/25154059
Reply
$$17483
https://lemmy.dbzer0.com/u/Appoxo posted on Mar 25, 2026 06:59
In reply to: https://lemmy.world/comment/22847907

Same here. Run it on my VPS to test my outside reachability and inside to check against my VPS.

https://lemmy.dbzer0.com/comment/25154068
Reply
$$17486
https://lemy.lol/u/HelloRoot posted on Mar 25, 2026 07:08
In reply to: https://slrpnk.net/post/35723833

https://f-droid.org/packages/com.manimarank.websitemonitor

https://lemy.lol/comment/24967473
Reply
$$17599
https://lemmy.linuxuserspace.show/u/Strit posted on Mar 25, 2026 13:05
In reply to: https://lemy.lol/comment/24967473

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.

https://lemmy.linuxuserspace.show/comment/3613912
Reply
$$17618
https://lemmy.world/u/Coleslaw4145 posted on Mar 25, 2026 13:29
In reply to: https://slrpnk.net/post/35723833

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.

https://lemmy.world/comment/22859575
Reply
$$18141
https://jlai.lu/u/Buck posted on Mar 26, 2026 08:39
In reply to: https://slrpnk.net/post/35723833

I have no VPS but a home server and Uptime Kuma can’t help me if it’s down. So I just set up healthchecks.io + Pushover via a cron job that runs on the server and I can confirm that it works! Tested yesterday after a citywide blackout 😵‍💫

https://jlai.lu/comment/20206995
Reply
$$18417
https://slrpnk.net/u/oeuf posted on Mar 26, 2026 23:07
In reply to: https://lemy.lol/comment/24967473

This has proven to be the one 👍

https://slrpnk.net/comment/21468413
Reply
$$18699
https://lemmy.zip/u/poop posted on Mar 27, 2026 12:34
In reply to: https://lemmy.world/comment/22847907

I haven’t touched my Oracle in months. What exactly is happening?

https://lemmy.zip/comment/25524215
Reply
$$18915
https://lemmy.world/u/AbidanYre posted on Mar 27, 2026 18:19
In reply to: https://lemmy.zip/comment/25524215

No idea. The dashboard says it’s running and fine, sometimes the shell console is ok, sometimes it’s also bogged down, but it’s completely non-responsive from outside. The other instance I have in the same tenancy but a different fault domain is perfectly fine, so I don’t know if that’s related somehow. I’m running Pangolin on it to forward a couple things, one of them is higher throughput than I had expected, but rebooting makes it come back, so I don’t think they’re throttling me.

I’m kind of at a loss, but I threw together a webhook to use their API to reboot it when it stops responding and that seems to be working while not actually addressing whatever the root cause is.

https://lemmy.world/comment/22902734
Reply