mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-05 14:45:19 +01:00
check_procs wrapper added
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user