Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

check_gearman(8) [debian man page]

CHECK_GEARMAN(8)					  System Administration Utilities					  CHECK_GEARMAN(8)

NAME
check_gearman - Nagios service check to monitor the gearman job server DESCRIPTION
usage: check_gearman [ -H=<hostname>[:port] ] [ -t=<timeout> ] [ -w=<jobs warning level> ] default: 10 [ -c=<jobs critical level> ] default: 100 [ -W=<worker warning level> ] default: 25 [ -C=<worker critical level> ] default: 50 [ -q=<queue> ] to send a test job: [ -u=<unique job id> ] default: check [ -s=<send text> ] [ -e=<expect text> ] [ -a send async ] will ignore -e [ -h print help ] [ -v verbose output ] [ -V print version ] - You may set thresholds to 0 to disable them. - Thresholds are only for server checks, worker checks are availability only perfdata format when checking job server: |'queue waiting'=current waiting jobs;warn;crit;0 'queue running'=current running jobs 'queue worker'=current num worker;warn;crit;0 Note: set your pnp RRD_STORAGE_TYPE to MULTIPLE to support changeing numbers of queues. see http://docs.pnp4nagios.org/de/pnp-0.6/tpl_custom for detailed information perfdata format when checking mod gearman worker: |worker=10 jobs=1508c Note: Job thresholds are per queue not totals. EXAMPLES
Check job server: %>./check_gearman -H localhost -q host check_gearman OK - 0 jobs running and 0 jobs waiting. Version: 0.14|'host_waiting'=0;10;15;0 'host_running'=0 'host_worker'=3;5;10;0 Check worker: %> ./check_gearman -H <job server hostname> -q worker_<worker hostname> -t 10 -s check check_gearman OK - host has 5 worker and is working on 0 jobs|worker=5 jobs=96132c SEE ALSO
The Mod Gearman documentation is available in /usr/share/doc/mod-gearman/README.html check_gearman 1.3.6-1 July 2012 CHECK_GEARMAN(8)

Check Out this Related Man Page

MOD_GEARMAN_WORKER(8)					  System Administration Utilities				     MOD_GEARMAN_WORKER(8)

NAME
mod_gearman_worker - Agent that runs active checks from a gearman queue DESCRIPTION
usage: worker [ --debug=<lvl> ] [ --logmode=<automatic|stdout|syslog|file> ] [ --logfile=<path> ] [ --debug-result ] [ --help|-h ] [ --daemon|-d ] [ --config=<configfile> ] [ --server=<server> ] [ --dupserver=<server> ] [ --hosts ] [ --services ] [ --eventhandler ] [ --hostgroup=<name> ] [ --servicegroup=<name> ] [ --do_hostchecks ] [ --min-worker=<nr> ] [ --max-worker=<nr> ] [ --max-age=<sec> ] [ --timeout ] [ --encryption=<yes|no> ] [ --key=<string> ] [ --keyfile=<file> ] [ --min-worker=<nr> ] [ --max-worker=<nr> ] [ --idle-timeout=<nr> ] [ --max-jobs=<nr> ] [ --spawn-rate=<nr> ] [ --fork_on_exec ] [ --show_error_output ] [ --enable_embedded_perl ] [ --use_embedded_perl_implicitly ] [ --use_perl_cache ] [ --p1_file ] [ --workaround_rc_25 ] see README for a detailed explaination of all options. SEE ALSO
The Mod Gearman documentation is available in /usr/share/doc/mod-gearman/README.html mod_gearman_worker 1.3.6-1 July 2012 MOD_GEARMAN_WORKER(8)
Man Page