<div class="gmail_quote">On Tue, Aug 10, 2010 at 7:07 PM, Arthur Franke <span dir="ltr"><<a href="mailto:arthurjfranke@gmail.com">arthurjfranke@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br><br>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:<br>
<br>command[check_foo]=/usr/nagios/plugins/check_procs -c 1:1 -C foo<br><br>Running a similar command locally on that machine works fine:<br><br>$ /usr/lib/nagios/plugins/check_procs -c 1:1 -C foo<br>PROCS OK: 1 process with command name 'foo'<br>
<br>But when I try to run the command from the Nagios server, I get the following result:<br><br>$ /usr/lib/nagios/plugins/check_nrpe -H remote.host -c check_foo<br>NRPE: Unable to read output<br><br>Whereas other monitored services work fine:<br>
$ /usr/lib/nagios/plugins/check_nrpe -H remote.host -c check_procs<br>PROCS OK: 97 processes<br></blockquote><div><br><br> Just to be certain, did you restart the nrpe daemon on remote.host after modifying its nrpe.cfg file?<br>
</div></div><br><br clear="all"><br>-- <br>Mike Saldivar<br>