Clustering and High-Availability

check_gearman

Description:

This plugin checks a gearman job server, expecting that every function in function-list arg is registered by at least one worker, and expecting that job_total is not too much high.

Current Version

0.2.1

Last Release Date

2011-09-30

Compatible With

  • Nagios 3.x

License

GPL


Nagios CSP

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!
Project Files
Project Notes
check_gearman 0.2.1 Brought to you AS IS, WITHOUT WARRANTY, under GPL. (C) Remi Paulmier This plugin checks a gearman job server, expecting that every function in function-list arg is registered by at least one worker, and expecting that job_total is not too much high. Usage: check_gearman -f|--flist [--host|-H ] [--port|-p ] [ -c|--critworkers= ] [ -w|--warnworkers=] [-?|--usage] [-V|--version] [-h|--help] [-v|--verbose] [-t|--timeout=] -?, --usage Print usage information -h, --help Print detailed help screen -V, --version Print version information --extra-opts=[section][@file] Read options from an ini file. See http://nagiosplugins.org/extra-opts for usage -f, --flist=STRING Check for the functions listed in STRING, separated by comma. If optional threshold is given (separated by :), check that waiting jobs for this particular function are not exceeding that value -H, --host=STRING Check the host indicated in STRING -p, --port=INTEGER Use the TCP port indicated in INTEGER -c, --critworkers=INTEGER Exit with CRITICAL status if fewer than INTEGER workers have registered a particular function -w, --warnworkers=INTEGER Exit with WARNING status if fewer than INTEGER workers have registered a particular function -t, --timeout=INTEGER Seconds before plugin times out (default: 15) -v, --verbose Show details for command-line debugging (can repeat up to 3 times)
Reviews (1) Add a Review
Small correction
by rchrdnet, May 31, 2012
Hi, I was installing this plugin and I had to change something in the source code. I changed this line from:

$cmd = "echo status | nc -w 1 $host $port";

to

$cmd = "echo status | nc -i 1 -w 1 $host $port";


I also had to install these packages with yum on centos:

yum install nc.x86_64 perl-Nagios-Plugin.noarch
Helpful? Yes  No 
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
0
Views
92,542