Brian,<br> First thing to check is version of NRPE? NRPE comes with two version, stripped and non-stripped. Make sure both machine has the same version running. If not, then play with the "-n" option to fix the incompatibility issues. Then check if your nrpe.cfg where you define the actual checks are the same on both nagios server and the monitored machine. I hope this helps. <br>
<br><div class="gmail_quote">On Fri, Apr 17, 2009 at 12:54 PM, Marc Ismael <span dir="ltr"><<a href="mailto:marcismael@gmail.com">marcismael@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="im">On Fri, Apr 17, 2009 at 11:39 PM, Brian O'Mahony <span dir="ltr"><<a href="mailto:brian.omahony@curamsoftware.com" target="_blank">brian.omahony@curamsoftware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p>There seems to be a lot of documentation on Nagios all over
the web. I must say im impressed with it, even though im still installing it.</p>
<p> </p>
<p>Basically I have the server set up and monitoring itself,
and I have one remote machine, which I have set up 6 tests on just for testing.
I have the nagios plugins and nrpe installed and everything is working in that
regard. If I run the check_nrpe command with any of the base remote commands in
the /etc/nagios/nrpe.cfg file, I get the output to my screen.</p>
<p>[nagios@mido ~]$ /usr/lib/nagios/plugins/check_nrpe -H
172.16.165.248 -c check_root_disk</p>
<p>DISK OK - free space: / 4460 MB (95% inode=98%);|
/=208MB;4898;4908;0;4918</p>
<p>(IP is the remote machine)</p>
<p> </p>
<p>However when these tests are added to server.cfg files, I get
Status==UNKNOWN and Status Information=(No output returned from plugin)</p>
<p> </p>
<p>I reckon its something simple that ive missed, but ive
gotten a bit lost looking for it.</p>
<p> </p>
<p>Server:</p>
<p>Rhel5.1 </p>
<p>Nagios-3.0.6 installed from source</p>
<p>Plugins 1.4.13-4 from rpm</p>
<p>Plugins-nrpe 2.12-6 from rpm</p>
<p> </p>
<p>Remote Server:</p>
<p>Rhel4u6</p>
<p>nagios-nrpe-2.5.2-1</p>
<p>nagios-plugins-nrpe-2.12-6</p>
<p>nagios-plugins-1.4.13-1.el4</p>
<p> </p>
<p> </p>
<p>Thanks</p>
<p> </p>
<p>B</p></div></div></blockquote></div><div><br>i would do the following<br><br>- make sure that nrpe on the nagios server is connecting to the correct port at the nrpe server by comparing nrpe config files. (check encryption, port, privs, etc).<br>
- make sure that nrpe service on the clients are actually running and listening on the configured port.<br>- check service and command definitions<br><br>Also I would double check the nrpe pdf documentation -- there are examples there to get you up and running with nrpe.<br>
<br></div></div>
<br>------------------------------------------------------------------------------<br>
Stay on top of everything new and different, both inside and<br>
around Java (TM) technology - register by April 22, and save<br>
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
300 plus technical and hands-on sessions. Register today.<br>
Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</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></blockquote></div><br><br clear="all"><br>-- <br>Cordially,<br>Shadhin Rahman<br>