check_procs wrapper added

This commit is contained in:
root 2011-11-21 10:04:06 +00:00
parent 1941f62f8f
commit be3d09b7e1
1 changed files with 6 additions and 0 deletions

6
check_proc/check_procs.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
LINE=`/usr/lib64/nagios/plugins/check_procs $*`
RC=$?
COUNT=`echo $LINE | awk '{print $3}'`
echo $LINE \| procs=$COUNT
exit $RC