check_wms_jobs
This plugin counts the number of the active jobs in the WMS,
first the ones in condor queue and then the ones in ice queues.
You can set a warning and or a critical total threshold level.
Usage: /usr/lib/nagios/plugins/gLite/check_wms_jobs [-h] [-V] [-d] [-w <reqs>] [-c <reqs>]
Options:
-h Print detailed help screen
-V Print version information
-d Print debug messages
-w <reqs> Set WARNING status if there are more <reqs> requests on a single queue (default 800)
-c <reqs> Set CRITICAL status if there are more <reqs> requests on a single queue (default 1200)
This is the rule used to create graph with nagiosgraph:
# Service type: wms_jobs
# output: WMS_JOBS OK: There are 76 jobs in condor queue and 0 jobs in ice queue
# perfdata: wms_jobs=76;0;800;1200;0
/perfdata:wms_jobs=(\d+);(\d+);(\d+);(\d+);(\d+)/
and push @s, [ 'wms_jobs',
[ 'condor', GAUGE, $1 ],
[ 'ice', GAUGE, $2 ]];
|