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

  • 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
      1
      arrow-down
      3
      ·
      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
        4
        ·
        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.