On Thu, May 29, 2008 at 12:22 AM, Marc Powell <<a href="mailto:marc@ena.com">marc@ena.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
On May 28, 2008, at 1:38 PM, Kaushal Shriyan wrote:<br>
<br>
> Hi<br>
><br>
> when i run the below command i get NRPE: Unable to read output<br>
><br>
> sudo -u nagios /usr/nagios/libexec/check_nrpe -H localhost -c<br>
> check_total_procs<br>
> NRPE: Unable to read output<br>
<br>
<br>
<br>
</div>NRPE provides a debug option for problems such as this. There could be<br>
many causes and you haven't provided any information to say which. If<br>
you need further assistance, please detail<br>
<br>
NRPE version<br>
How installed (source or package; which package)<br>
How is it being run (inetd, xinetd, daemon)<br>
(x)inetd configuration if that's being used.<br>
any (x)inetd errors being generated if that's being used.<br>
NRPE debug output when check is executed.<br>
NRPE configuration for the command<br>
Example test run of the check_total_procs command run on the<br>
destination host as the NRPE user.<br>
and, last but certainly not least, any troubleshooting/googleing<br>
you've already done so that we don't repeat the ground you've already<br>
covered.<br>
<br>
--<br>
<font color="#888888">Marc<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br><br>Hi Marc<br><br>I have enabled debug=1, But not able to see anything in the syslog when i restart the nrpe using the below command<br><br>sudo /etc/init.d/nrpe restart<br><br>Any further clue<br>
<br>Thanks and Regards<br><br>Kaushal<br>