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?

  • Appoxo@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

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

  • stratself@lemdro.id
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 hours ago

    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.

  • AbidanYre@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    13 hours ago

    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.

    • comrade_twisty@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      12 hours ago

      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.

    • Midnight Wolf@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      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.

  • WIPocket@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    13 hours ago

    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.

  • realitaetsverlust@piefed.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    12 hours ago

    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:

    #!/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-notification -t "$NOTIFY_TITLE" -c "$NOTIFY_MESSAGE $HOST:$PORT"  
    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.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    2 hours ago

    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)

    2 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]