Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
check_speed.sh [-i/--interval] [-u|--url] [-w/--warning] [-c/--critical] Options: --interval|-i) Defines the download file times propose set 10 second Default is: 5 second --url|-u) Sets url page Defautl is :http://mirrors.163.com/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-LiveCD.iso Please set Fastest url --warning|-w) Sets a warning level for download speed. Defautl is: off --critical|-c) Sets a critical level for download speed. Defautl is: off
Current Version
1.0.0
Last Release Date
2011-01-25
Owner
eric.yang
Website
http://www.nginxs.com
Download URL
http://www.nginxs.com/download/check_speed.sh
License
GPL
Compatible With
Version 1.0 2010.11.17,www.nginxs.com check_speed.sh is a Nagios plugin to monitor download speed Use of wget download url file When using optional warning/critical thresholds all values except Usage parameters:
check_speed.sh [-i/--interval] [-u|--url] [-w/--warning] [-c/--critical]
Options: --interval|-i) Defines the download file times propose set < 5 second and > 10 second Default is: 5 second
--url|-u) Sets url page Defautl is :http://mirrors.163.com/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-LiveCD.iso Please set Fastest url
--warning|-w) Sets a warning level for download speed. Defautl is: off
--critical|-c) Sets a critical level for download speed. Defautl is: off
Hallo Team, I am new to Nagios, actually i worked with it but not configured it. For me the download of this file did not worked so ... copy/pase and convert it to unix format(vi). Can someone tell me how do i integrte it in nagiosxi, i mean how do i create a host and add it to this host as service. From command line it is working fine with all his parameters. some comments: -it is not designed to return flooating numbers -the seaquence that process the "speed" is not tuned up... it gets tha last 20 rows from wget-log, but if the last line isn“t compleat then we should not count the last line -if in the output file M and K speed then the script is returning a wrong value.... 28850K .......... .......... .......... .......... .......... 4% 3.83M 2m47s 28900K .......... .......... .......... .......... .......... 4% 3.85M 2m47s 28950K .......... .......... .......... .......... .......... 4% 3.83M 2m47s 29000K .......... .......... .......... .......... .......... 4% 3.84M 2m47s 29050K .......... .......... .......... .......... .......... 4% 3.70M 2m47s 29100K .......... .......... .......... .......... .......... 4% 3.77M 2m47s 29150K .......... .......... .......... .......... .......... 4% 968K 2m47s 29200K .......... .......... .......... .......... .......... 4% 3.74M 2m47s 29250K .......... .......... .......... .......... .......... 4% 800K 2m47s 29300K .......... .......... .......... .......... .......... 4% 3.77M 2m47s 29350K .......... .......... .....
You must be logged in to submit a review.
To:
From: