Can't match process with nrpe


#1

Hello!
I have HP-UX box running nrpe agent. In it’s configuration I’ve created command to check process WebSphere
/opt/nrpe/libexec/check_procs -w 1: -c 1: -a 'was.status.socket’
But I always get 0 processes in check output.

# ps -ef | grep was.status.socket root 13301 1 0 21:01:08 ? 0:55 /home/svweb/IBM/WebSphere/AppServer/java/bin/IA64W/java -XX:+UnlockDiagnosticVMOptions -Dwas.status.socket=49469 -XX:+Unsyncloa root 1672 1621 0 11:00:49 pts/0 0:00 grep was.status.socket root 13403 1 0 21:01:57 ? 15:38 /home/svweb/IBM/WebSphere/AppServer/java/bin/IA64W/java -XX:+UnlockDiagnosticVMOptions -Dwas.status.socket=49501 -XX:+Unsyncloa

Any idea on how to resolve?