LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Regularly testing speed between several Internet machines with decent reporting? (https://www.linuxquestions.org/questions/linux-server-73/regularly-testing-speed-between-several-internet-machines-with-decent-reporting-4175680653/)

Lockywolf 08-18-2020 09:42 PM

Regularly testing speed between several Internet machines with decent reporting?
 
Hello, everyone.

The actual task I want to solve is the following:

I have several machines that I use, let's say, two servers in different countries, a laptop and a smartphone. I need to regularly (say, once an hour) test the quality of connection among all 4 of the machines (makes it 12 connections). The number of machines may later increase. After the testing, I need to present the result in a concise and easily accessible form.

At the moment, I'm running a cron job on each machine (except the smartphone), which does a ping, and an iperf3 connection from a bash script, and stores the result in a file in an accessible location. On a "primary node" another cron job fetches those files and merges them into an existing database, which is itself queried by a conky timer on my laptop and is displayed as a conky widget.

This kinda works, but is extremely fragile and unscalable. In particular, each machine requires separate configuration, iperf3 services require error-prone fiddling with authentication, and awk mastery used for merging the reports is hardly reproducible.

Is there some less macgyvered way? Some canned solution? What are the keywords to search for?

ondoho 08-19-2020 01:45 AM

Just download a file from a known reliable fast server, and measure the speed?


All times are GMT -5. The time now is 06:20 AM.