I have been having quite a lot of trouble with my T-Mobile business internet. I would like to set up a pi so that when it loses internet it sends an email, and another when internet is restored (I realize without net the outage email will not actually send, but if there is a time stamp I can at least present it to T-Mobile and say look this is a serious issue when my net is down more than it is up), and run an hourly speed test and email the results. For a novice is something like this feasible?

  • new_guy@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    It is possible although I’m not sure if I were in your shoes I’d choose this path.

    I’d recommend setting up a cron job to ping at Google (for example) every X minutes and dumping the results to a file for later.

    For something more like what you’re actually trying to do maybe take a look at “uptime-kuma” on GitHub. It seems to fit your needs well.

    • wizzor@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Yea this is a better idea than what I outlined below, unless you are seeking to learn how to do this sort of thing from scratch.

      Good way to learn, but not a great idea if you want to get it working fast…