.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.11. .TH CHECK_GEARMAN "8" "October 2019" "check_gearman 1.5.5-1+b9" "System Administration Utilities" .SH NAME check_gearman \- Nagios service check to monitor the gearman job server .SH DESCRIPTION usage: .PP check_gearman [ \fB\-H=\fR[:port] ] .TP [ \fB\-t=\fR ] .TP [ \fB\-w=\fR ] default: 10 .TP [ \fB\-c=\fR ] default: 100 .TP [ \fB\-W=\fR ] default: 25 .TP [ \fB\-C=\fR ] default: 50 .TP [ \fB\-q=\fR ] .SS "to send a test job:" .TP [ \fB\-u=\fR ] default: check .TP [ \fB\-s=\fR ] .TP [ \fB\-e=\fR ] .TP [ \fB\-a\fR send async ] will ignore \fB\-e\fR .TP [ \fB\-h\fR print help ] .TP [ \fB\-v\fR verbose output ] .TP [ \fB\-V\fR print version ] .IP \- You may set thresholds to 0 to disable them. \- Thresholds are only for server checks, worker checks are availability only .SS "perfdata format when checking job server:" .IP \&'queue waiting'=current waiting jobs;warn;crit;0 'queue running'=current running jobs 'queue worker'=current num worker;warn;crit;0 .PP Note: set your pnp RRD_STORAGE_TYPE to MULTIPLE to support changeing numbers of queues. .IP see http://docs.pnp4nagios.org/de/pnp\-0.6/tpl_custom for detailed information .SS "perfdata format when checking mod gearman worker:" .IP worker=10 jobs=1508c .PP Note: Job thresholds are per queue not totals. .SH EXAMPLES Check job server: .PP %>./check_gearman \-H localhost \-q host check_gearman OK \- 0 jobs running and 0 jobs waiting. Version: 0.14 .PP Check worker: .PP %> ./check_gearman \-H \-q worker_ \-t 10 \-s check check_gearman OK \- host has 5 worker and is working on 0 jobs .SH "SEE ALSO" The Mod Gearman documentation is available in /usr/share/doc/mod-gearman/README.html