Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Bandwith (Speed Test) Upload & Download with perfdata
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
The remote server is the first parameter and you must only to create service related to an hostaddress or hostgroup (need SSH Key Exchange from Nagios server and remote host)
Example:
$USER1$/check_speed.sh -H $HOSTADDRESS$ -s $ARG1$ -d $ARG2$ -r $ARG3$
####List of Available Parameters
-s Packet size (10240=10Mb, 102400=100Mb)
-d Local directory where you want to create file for speed test. The directory must to be exist - ex. /tmp/speed_test/
-r Remote directory where you want to create file for speed test. The directory must to be exist - ex. /tmp/speed_test/
-h Print this help screen
Example:
# ./check_speed.sh -H server_001 -s 10240 -d /tmp/ -r /tmp/
D: 15527313.408 bits/s - U: 9051308.032 bits/s |dload=15527313.408bits/s uload=9051308.032bits/s
Example:
$USER1$/check_speed.sh -H $HOSTADDRESS$ -s $ARG1$ -d $ARG2$ -r $ARG3$
####List of Available Parameters
-s Packet size (10240=10Mb, 102400=100Mb)
-d Local directory where you want to create file for speed test. The directory must to be exist - ex. /tmp/speed_test/
-r Remote directory where you want to create file for speed test. The directory must to be exist - ex. /tmp/speed_test/
-h Print this help screen
Example:
# ./check_speed.sh -H server_001 -s 10240 -d /tmp/ -r /tmp/
D: 15527313.408 bits/s - U: 9051308.032 bits/s |dload=15527313.408bits/s uload=9051308.032bits/s
Reviews (1)
Errors in documentation!
Use:
./check_speed.sh -H XYZSERVER -s 10240 -d /tmp/speed_test -r /tmp/speed_test
Use:
./check_speed.sh -H XYZSERVER -s 10240 -d /tmp/speed_test -r /tmp/speed_test
Owner's reply
Hello afloria,
thanks. I modified the instructions.
The option -s and -d must be existing directories.
Regards