mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-12-03 15:53:47 +01:00
check_procs wrapper added
This commit is contained in:
parent
1941f62f8f
commit
be3d09b7e1
6
check_proc/check_procs.sh
Executable file
6
check_proc/check_procs.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user