Home Directory Plugins Network Connections, Stats and Bandwidth Bandwith (Speed Test) Upload & Download with perfdata

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

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
52647
Files:
FileDescription
check_speed.shcheck_speed.sh v 0.1
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Bandwith (Speed Test) Upload & Download with perfdata
This script calculate speed in download and upload from local server to remote LINUX server (need SSH Key Exchange)
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
Reviews (1)
byafloria, June 19, 2015
1 of 1 people found this review helpful
Errors in documentation!

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