Skip to content

Commit 67967b2

Browse files
committed
Only scan for processes with args that contain STRING.
1 parent 28afd03 commit 67967b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

monitor/nagios/nrpe.sh

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $A
5656
command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
5757
command[check_procs_command]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$
5858
command[check_procs_string]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -a $ARG3$
59+
command[check_procs_string]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -a $ARG3$
5960
command[check_tcp]=/usr/lib64/nagios/plugins/check_tcp -w $ARG1$ -c $ARG2$ -H $ARG3$ -p $ARG4$
6061
command[check_http]=/usr/lib64/nagios/plugins/check_http -w $ARG1$ -c $ARG2$ -H $ARG3$ -p $ARG4$
6162
command[check_log]=/usr/lib64/nagios/plugins/check_log -F $ARG1$ -O /tmp/$ARG1$.old -q $ARG2$

0 commit comments

Comments
 (0)