<font face="tahoma,sans-serif">Hi Guy,<br><br></font><br><div class="gmail_quote">2009/7/15 Guy Waugh <span dir="ltr"><<a href="mailto:guidosh@gmail.com">guidosh@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div><font face="tahoma,sans-serif">Yes, indeed the checks do work. These have been run on the monitored host. See below;<br>
<br><i style="color: rgb(255, 0, 0);">bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1<br>
DISK OK - free space: /var/opt/BGw/Server1 35606 MB (68% inode=97%);| /var/opt/BGw/Server1=16589MB;37990;43417;0;54272<br><br>bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1<br>DISK OK - free space: /var/opt/BGw/Server1 35614 MB (68% inode=97%);| /var/opt/BGw/Server1=16581MB;37990;43417;0;54272</i></font></div>
</div></blockquote></div><div><br>OK, so they look like checks run from the monitored host itself, right?</div></div></blockquote><div><br><br><font face="tahoma,sans-serif">Yes, indeed.<br><br></font> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div><br>Eek! How come there are two??? There should only be one nrpe daemon running. You can see that the first one has been running since January. Kill them both, with extreme prejudice, restart it and verify that there's only one copy of the nrpe daemon running. This will probably solve your problem.<br>
</div></div></blockquote></div><br><br><font face="tahoma,sans-serif">I have killed them both, however, I can't seem to get the nrpe daemon running again on the monitored host (the OS is Soalris 10) . This is what I executed;<br>
<br><i style="color: rgb(255, 0, 0);">bash$ svcadm enable nrpe<br>bash$/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d</i><br><br><br>Then to verify...<br><br><i><span style="color: rgb(255, 0, 0);">bash-3.00# svcs | grep nrpe</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">legacy_run Jan_09 lrc:/etc/rc3_d/S60nrpe</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">online 16:39:40 svc:/network/nrpe/tcp:default</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">maintenance 16:41:16 svc:/application/management/nagios/nrpe:default</span></i><br><br>And more verification... <br><br><i><span style="color: rgb(255, 0, 0);">bash-3.00# netstat -a | grep 5666</span></i><br>
<br><br>The netstat command above didn't return any output. So this means the NRPE daemon is either not running or not listening on port 5666.<br><br>Am I doing the NRPE start up the right way? Are there other ways to start NRPE daemon on Solaris 10?<br>
<br><br>Regards,<br>Juki <br><br></font>