Hi Juki,<br><br>I'm not a Solaris 10 expert, but... do you have two versions of NRPE configured, one through 'lrc' and one through 'svc'? I don't know what the 'maintenance' entry means, but it doesn't look happy.<br>
<br>Any Solaris 10 people out there?<br><br>Cheers,<br>Guy.<br><br><div class="gmail_quote">On Wed, Jul 15, 2009 at 3:09 PM, Juki <span dir="ltr"><<a href="mailto:juki.emma@gmail.com">juki.emma@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;"><font face="tahoma,sans-serif">Hi Guy,<br><br></font><br><div class="gmail_quote"><div class="im">
2009/7/15 Guy Waugh <span dir="ltr"><<a href="mailto:guidosh@gmail.com" target="_blank">guidosh@gmail.com</a>></span><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><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;<div class="im">
<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></div>
</font></div>
</div></blockquote></div><div class="im"><div><br>OK, so they look like checks run from the monitored host itself, right?</div></div></div></blockquote><div><br><br><font face="tahoma,sans-serif">Yes, indeed.<br><br></font> <br>
</div><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><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></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>
</blockquote></div><br>