1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-05 10:03:45 +01:00

check_procs wrapper added

This commit is contained in:
root 2011-11-21 10:04:06 +00:00
parent 1941f62f8f
commit be3d09b7e1

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