[Nagiosplug-help] Problem with NRPE and check_procs with -C or -a usage
arthurjfranke at gmail.com
Wed Aug 11 03:07:16 CEST 2010
I apologize if this is an old problem. I tried searching the archives and
found some similar cases, but nothing with clear resolution.
I'm trying to check for the presence of a particular process on a remove
machine using NRPE and check_procs with a -a or -C argument. I have defined
on the remote machine's nrpe_local.cfg:
command[check_foo]=/usr/nagios/plugins/check_procs -c 1:1 -C foo
Running a similar command locally on that machine works fine:
$ /usr/lib/nagios/plugins/check_procs -c 1:1 -C foo
PROCS OK: 1 process with command name 'foo'
But when I try to run the command from the Nagios server, I get the
$ /usr/lib/nagios/plugins/check_nrpe -H remote.host -c check_foo
NRPE: Unable to read output
Whereas other monitored services work fine:
$ /usr/lib/nagios/plugins/check_nrpe -H remote.host -c check_procs
PROCS OK: 97 processes
Similar behavior occurs whether I use the -a or -C option with the
Both the server and remote host are Debian Lenny amd64, NRPE is v2.8.1,
nagios-plugins is 1.4.12-5, Nagios is 3.0.6-4 (all from stable Lenny
repositories, installed with apt)
Can anyone point out what I'm doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Help