-1
So I wrote a python script that calls a network speed test and gets the download speed, upload speed, and ping. However I realized that this won't be accurate since it's only the stats based on my own local machine. Sometimes we have users who can't connect to the internet at times, so it's hard to gauge if the issue is on their end of the network itself. I was thinking of moving the script to another external device like a raspberry pi or something and connecting that directly to the modem or router.
Is there a better way to go about doing this?
Network speed tests are not the way to troubleshoot network issues. They are handy as a meaningful metric for a specific set of needs (what is the raw throughput of my internet connection) but that information does not communicate the amount of traffic on the network, the state of the links on the network, or many other more useful things. If someone doesn't have internet access, running a speedtest isn't how you troubleshoot the issue. I'd guess it is very possible to script a speed test and run that from a Pi, I'd just question "why?". – music2myear – 2017-02-07T16:55:03.207
You should try a device like this: https://www.amazon.co.uk/RJ45-Patch-Cable-Tester-Continuity/dp/B005Y37MHC
– Burgi – 2017-02-10T09:24:02.210