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
Current Version
0.1
Last Release Date
2014-03-12
Compatible With
- Nagios 3.x
- Nagios 4.x
Owner
License
GPL
Hits
51691
Files:
File | Description |
---|---|
check_speed.sh | check_speed.sh v 0.1 |
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