My Internet goes down fairly often so I want to start keeping track of it.

    • johntash@eviltoast.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Uptime Kuma can have a monitor that pings your gateway or google.com or something else on the Internet.

      I’m not sure if it’s simpler than smoke ping or not though, it’s been too long since I used it

  • Midnitte@kbin.social
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    I just use the ping integration of Home Assistant, simple for me since I’ve already got HA running.

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

    Since I already run netdata, I have set up a few ping checks. The results are graphed alongside other netdata charts.

    Otherwise, the simplest method is going to be a custom shell script that feeds ping results to a plotting program like gnuplot.

    What’s the problem with smokeping though?

  • 7Sea_Sailor@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    If you want it REALLY easy, you should be able to write a simple bash script that, when called, pings an arbitrary always online website like google, and if the ping returns an error, sends a telegram message to your phone. you could also store the current state in a separate file to allow for “is now down” and “is up again” differentiation, then use the telegram message timestamps to “track” (loosely used term) up- and downtime. To call the script, add it to your crontab and specify your test interval there.

    Getting bash to send to telegram is ridiculously easy, as seen here: https://hackernoon.com/how-to-create-a-simple-bash-shell-script-to-send-messages-on-telegram-lcz31bx. This is EXTREMELY barebones, but it’ll get the job done if you need zero bells and whistles.

    • Romanmir@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Does telegram allow for local lan only messaging? If not, how does the bash script send the message to telegram?

      I’ve landed on running uptime-kuma on my network, and when I get the “service restored” messages I know that I had an outage last night.

      • 7Sea_Sailor@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        1 year ago

        no, telegram is cloud based. you send the message via a CURL POST to the telegram API, which contains your bot token and message. details are in the linked guide.

        Kuma obviously is more established and feature-proof, and will work great for most people who want notifications like this. I just wanted to take the prompt for a “simple alternative” overly serious 😎

        • Geronimo Wenja@agora.nop.chat
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          But their internet is down, so it’ll fail to send to telegram. Realistically it needs to be an external system that is tracking when it receives pings from the home network, so it can show periods where the bash script didn’t ping for a while.

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

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

    Fewer Letters More Letters
    HA Home Assistant automation software
    ~ High Availability
    IP Internet Protocol
    VPS Virtual Private Server (opposed to shared hosting)

    3 acronyms in this thread; the most compressed thread commented on today has 5 acronyms.

    [Thread #339 for this sub, first seen 8th Dec 2023, 22:15] [FAQ] [Full list] [Contact] [Source code]