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

Arthur Franke arthurjfranke at gmail.com
Thu Aug 12 19:37:17 CEST 2010


Thanks for the reply.  Yes, many times.

-Arthur


On Thu, Aug 12, 2010 at 12:29 PM, Michael Saldivar <
mike.saldivar at advocatecreditrepair.com> wrote:

> 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
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100812/617c0856/attachment.html>


More information about the Help mailing list