this post was submitted on 08 Dec 2023
44 points (100.0% liked)

Selfhosted

40152 readers
500 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] Romanmir@lemmy.today 2 points 11 months ago (1 children)

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 0 points 11 months ago (1 children)

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 😎

[–] alex@agora.nop.chat 7 points 11 months 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.