I have a 4g modem at home and I would like to get notified when it goes offline. No these 4g modems do not support static Ip so having something like uptime robot unfortunately is not possible. Is there another way to get this to have some form of outside ping monitoring without a static IP? I tried setting up ddns on 4g modem but didnt seem to work…

  • easylite37@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Can you connect something like a raspberry pi to the modem and send a request to some server?

    You could build a heartbeat app. So you send a request to the heartbeat app and just save the timestamp of the last request.

    If the heartbeat app doesn’t get a request for some time, you can assume the modem or e.g. raspberry is down.

  • metalwolf112002@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Couple of options. If you have a VPS you could install something like Nagios and do passive updates. Set a stale threshold and have the stale check report as a warning.

    I have multiple wifi sensors that boot, perform their function, then go into deep sleep for a set time. I set up a passive service type that changes the status to unknown with the message “data acquisition failure” if the stale threshold is hit.

  • BMMXVIIC@alien.topOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    My other setups all have a static ip so was never an issue. Looks like only way is to have a physical device connected to the modem. Was hoping to have ddns on modem and have a ping of some sort…

  • NoCheesecake8308@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Uptime-Kuma has push monitoring. Get the modem or another device connected to it to curl or wget the URL every minute then have Uptime-Kuma send a Discord or Slack or whatever notification to you. When the url becomes unavailable, you get a notification.

    Host it on a VPS or you can use Fly.io for free.