[Nagiosplug-help] Problem with NRPE and check_procs with -C or -a usage

Michael Saldivar mike.saldivar at advocatecreditrepair.com
Thu Aug 12 18:29:46 CEST 2010


On Tue, Aug 10, 2010 at 7:07 PM, Arthur Franke <arthurjfranke at gmail.com>wrote:

> Hi all,
>
> 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
> following result:
>
> $ /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
>


 Just to be certain, did you restart the nrpe daemon on remote.host after
modifying its nrpe.cfg file?



-- 
Mike Saldivar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100812/b6aee916/attachment.html>


More information about the Help mailing list