Page 1 of 1
Is there a way to run client-side bandwidth/speedtest
Posted: Thu Oct 10, 2019 8:39 am
by dlukinski
Hello Nagios support
Is there a way to run client-side bandwidth/speedtest checks against some IP(essentailly from multiple clients)?
- I found some plugins for Linux, but nothing for Windows
Please comment
Re: Is there a way to run client-side bandwidth/speedtest
Posted: Thu Oct 10, 2019 4:28 pm
by cdienger
I found this python script on the exchange:
https://exchange.nagios.org/directory/P ... o)/details
Beyond that I don't see much but don't a google for "powershell speedtest" brings up some results which could probably be modified to return results that nagios can work with(
http://nagios-plugins.org/doc/guidelines.html).
Re: Is there a way to run client-side bandwidth/speedtest
Posted: Wed Oct 16, 2019 11:09 am
by dlukinski
Re: Is there a way to run client-side bandwidth/speedtest
Posted: Wed Oct 16, 2019 12:33 pm
by tgriep
The check_internet.sh plugin takes 4 arguments all of them threshold levels.
check_internet.sh <Download Warning> <Download Critical> <Upload Warning> <Upload Critical>
Looks like the are for Mbit/s.
Found this in the script.
Please pass all 4 paramateres $0 <download_warn> <download_crit> <upload_warn> <upload_crit>"
The check_speedtest-cli.sh plugin has these options.
-h Show this message
-w Download Warning Level - *Required* - integer or floating point
-c Download Critical Level - *Required* - integer or floating point
-W Upload Warning Level - *Required* - integer or floating point
-C Upload Critical Level - *Required* - integer or floating point
-l Location of speedtest server - *Required * - takes either "i" or "e". If you pass "i" for
Internal then you will need to pass the URL of the Mini Server to the "s" option. If you pass
"e" for External then you must pass the server integer to the "s" option.
-s Server integer or URL for the speedtest server to test against - *Required* - Run
"speedtest --list | less" to find your nearest server and note the number of the server
or use the URL of an internal Speedtest Mini Server
-p Output Performance Data
-m Download Maximum Level - *Required if you request perfdata* - integer or floating point
Provide the maximum possible download level in Mbit/s for your connection
-M Upload Maximum Level - *Required if you request perfdata* - integer or floating point
Provide the maximum possible upload level in Mbit/s for your connection
-v Output plugin version
-V Output debug info for testing
If the author does not publish the options, you would have to open up the source code / script to see what is required or install it and run and it may print out the options required