this post was submitted on 12 Aug 2024
445 points (98.5% liked)

Open Source

30208 readers
196 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Emptiness@lemmy.world 18 points 1 month ago* (last edited 1 month ago) (8 children)

Does anyone know of a speed test where you can set it up to run by itself regularly and push a notification to a channel (like pushbullet or similar) when the speed is below a certain threshold?

Edit: I went with self hosted speedtest-tracker as a docker container and notifications through Discord webhook.

Thanks for all the tips!! ❤️

[–] takeda@lemmy.world 18 points 1 month ago (1 children)

If I had this requirement I would just generate a file of specific size, place it on one server and on the other I would have a shell script running via cron and measure the time it took to download the file.

It seems like a relatively simple problem.

BTW are you sure you want to test download speed and not latency? I think some routers might have the later built in.

[–] Emptiness@lemmy.world 2 points 1 month ago

Definitely speed. My ISP runs on another service providers hardware and it bugs out from time to time and I get 1/10th of the speeds I usually have. My ISP has no way of knowing this so I have to know when it happens and place a ticket so they can place a ticket on the hardware guys.

[–] Geometrinen_Gepardi@sopuli.xyz 7 points 1 month ago

There is speedtest-cli at least that you can run from a script.

[–] chrisbit@leminal.space 7 points 1 month ago (1 children)
[–] Showroom7561@lemmy.ca 3 points 1 month ago

Ah, another thing to install on my Synology NAS! LOL Thanks for sharing that.

[–] MangoPenguin@lemmy.blahaj.zone 7 points 1 month ago (1 children)

Fair warning that this would chew through a ton of bandwidth if you run it often, so only do it if you don't have bandwidth caps.

[–] princessnorah@lemmy.blahaj.zone 2 points 1 month ago (1 children)

It really depends. Once every 1-5 minutes, sure, maybe. Once every 1-5 hours tho? You're likely fine.

[–] MangoPenguin@lemmy.blahaj.zone 3 points 1 month ago* (last edited 1 month ago) (1 children)

True, although once per hour would still be a lot of data.

For example me running a fast.com test uses about 1.5GB of data to run a single test, so around 1TB per month if ran hourly.

[–] princessnorah@lemmy.blahaj.zone 1 points 1 month ago

Once every 6hrs would only be 180GB. A script that does it every six hours, but then increases the frequency if it goes below a certain threshold, could work well. I guess it all depends on how accurate you need the data to be.

[–] 9point6@lemmy.world 4 points 1 month ago

Funnily enough, I had something exactly like this set up with home assistant. You can add Ookla and fast.com speed tests as devices, which will run the tests periodically, and then I had an automation set up to send me a message via telegram whenever speed was less than half of what it was supposed to be

[–] 667@lemmy.radio 2 points 1 month ago* (last edited 1 month ago)

If you’re on MacOS, you can run networkquality via crontab and append the results to a text file. I did this for a few months on a congested network to identify ideal times to try and do schoolwork.

E: A word.

[–] flauschtier 1 points 1 month ago

There is a Speedtest Integration for HomeAssistant and you could automate a notification.