So I’m trying to monitor the service ‘exim’ through nrpe using check_procs. Here’s my nrpe configuration:
command[check_exim]=/usr/lib/nagios/plugins/check_procs -c 1:1 -C exim
When I run the following locally I get:
./check_procs -c 1:1 -C exim
PROCS OK: 1 process with command name ‘exim’
When I run it from the Nagios server I get:
./check_nrpe -H 10.10.201.202 -c check_exim
PROCS CRITICAL: 0 processes with command name ‘exim’
NRPE is working since I get:
./check_nrpe -H 10.10.201.202
NRPE v2.12
I don’t understand what the deal is. Can somebody point out my bonehead mistake or what I might try differently?
I’m using Nagios Core 3.2.0 with NRPE 2.12 on CentOS release 5.4 (both, Nagios host and client servers)
Thanks in advance,
Mike