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

check_gearman

Current Version
0.2.1
Last Release Date
2011-09-30
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
92637
Files:
FileDescription
check_gearmancheck_gearman
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!
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.
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)
byrchrdnet, May 22, 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