check_wms_queues
This plugin counts the number of requests in all the WMS
queues (wm, jc and ice) reading the output of the script
/opt/glite/sbin/glite_wms_wmproxy_load_monitor
You can set a warning and or a critical threshold level.
Usage: /usr/lib/nagios/plugins/gLite/check_wms_queues [-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 300)
-c <reqs> Set CRITICAL status if there are more <reqs> requests on a single queue (default 500)
This is the rule used to create graph with nagiosgraph:
# Service type: wms_queues
# output: WMS_QUEUES OK: There are 0 requests in wm queue, 0 in jc queue and 0 in ice queue
# perfdata: wms_queues=0;0;0;300;500;0
/perfdata:wn_jobs=(\d+);(\d+);(\d+);(\d+);(\d+);(\d+)/
and push @s, [ 'wms_queues',
[ 'wm', GAUGE, $1 ],
[ 'jc', GAUGE, $2 ],
[ 'ice', GAUGE, $3]];
|