I've a lot of NRPE servers, and works fine. However, in one server I get this issue:
SERVER NRPE
NRPE v.2.13
I run this command to check glassfish process status:
Code: Select all
root@srvglassfish:~# /usr/lib/nagios/plugins/check_procs -a glassfish -c 1:3
PROCS OK: 1 process with args 'glassfish'
In nrpe.cfg I set up this:
Code: Select all
command[check_procs_glassfish]=/usr/lib/nagios/plugins/check_procs -a glassfish -c 1:3
SERVER NAGIOS
Nagios 4.1.1
In the Nagios server, I run this check manually:
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H NrpeServerIP -c check_procs_glassfish
PROCS OK: 2 processes with args 'glassfish'
If I stop the only glassfish process, the machine itself detect 0 process, and Nagios Server 1 process.
Thanks in advance.
Regards.