Thanks for the reply.  Yes, many times.<br><br>-Arthur<br><br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 12:29 PM, Michael Saldivar <span dir="ltr"><<a href="mailto:mike.saldivar@advocatecreditrepair.com">mike.saldivar@advocatecreditrepair.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;"><div class="gmail_quote">On Tue, Aug 10, 2010 at 7:07 PM, Arthur Franke <span dir="ltr"><<a href="mailto:arthurjfranke@gmail.com" target="_blank">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,<div class="im"><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></div></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>
<br>------------------------------------------------------------------------------<br>
This SF.net email is sponsored by<br>
<br>
Make an app they can't live without<br>
Enter the BlackBerry Developer Challenge<br>
<a href="http://p.sf.net/sfu/RIM-dev2dev" target="_blank">http://p.sf.net/sfu/RIM-dev2dev</a> <br>_______________________________________________<br>
Nagiosplug-help mailing list<br>
<a href="mailto:Nagiosplug-help@lists.sourceforge.net">Nagiosplug-help@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-help</a><br>
::: Please include plugins version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
<br></blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>