Check procces with check_nrpe

Hi,

I would like to check this process:
/opt/oracle/jrmc-3.1.0-1.6.0/bin/java -Dweblogic.Name=wlasacc_m2

With nrpe i’ll get an error.
./check_nrpe -H osbdev01 -c check_procs_osb -a 1:1 1:1 /opt/oracle/jrmc-3.1.0-1.6.0/bin/java -Dweblogic.Name=osbacc_m1

This one is working:
./check_procs -c 1:1 -a ‘/opt/oracle/jrmc-3.1.0-1.6.0/bin/java -Dweblogic.Name=osbacc_m1’

How do i get this working with nrpe?

the two commands you show look VERY different from one another…