Entra a la ayuda del check_procs.
./check_procs --help
Y usa la opcion
--ereg-argument-array=STRING
Only scan for processes with args that contain the regex STRING.
Usando argumentos REGEX ( $ , / , * ,etc).
Te quedaria algo asi:
/usr/local/nagios/libexec/check_procs -c 1:1 --ereg-argument-array "ora_pmon_sinamp*"
PROCS OK: 1 process with regex args 'ora_pmon_sinamp*'
Saludos,


LinkBack URL
About LinkBacks
Citar
