LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-18-2020, 09:42 PM   #1
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Question 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?

Last edited by Lockywolf; 08-18-2020 at 09:55 PM.
 
Old 08-19-2020, 01:45 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Just download a file from a known reliable fast server, and measure the speed?
 
  


Reply

Tags
connection, monitoring, network, speed



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Communicating between 2 linux machines / windows-lunux machines xombboxer Linux - Newbie 2 03-15-2012 03:57 AM
[SOLVED] df reporting 100% but du reporting 20% guna_pmk Linux - Server 1 04-15-2011 11:34 AM
Port Forwarding between several machines and then to a proxy server Venomal Linux - Networking 5 10-08-2009 05:28 PM
sharing users between several machines coal-fire-ice Linux - Security 3 08-24-2007 02:18 AM
Regularly switching between monitors ianunderwood SUSE / openSUSE 2 08-04-2005 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration