I tried the above and it didn't work.. any other suggestions..<div><br></div><div>Appreciate your help</div><div><br></div><div>Regards<br><br><div class="gmail_quote">On Mon, Nov 2, 2009 at 12:02 PM, jonas kellens <span dir="ltr"><<a href="mailto:jonas.kellens@telenet.be">jonas.kellens@telenet.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
  

<div>
I am running the nrpe-plugin as part of xinetd. I had the same issue till I made the following setting in /etc/xinetd.d/nrpe :<br>
<br>
<font size="2">service nrpe</font><br>
<font size="2">{</font><br>
<font size="2">        flags           = REUSE</font><br>
<font size="2">        socket_type     = stream</font><br>
<font size="2">        port            = 5666</font><br>
<font size="2">        wait            = no</font><br>
<font size="2">        user            = nagios</font><br>
<font size="2">        group           = nagios</font><br>
<font size="2">        server          = /usr/local/nagios/bin/nrpe</font><br>
<font size="2">        server_args     = -c /usr/local/nagios/etc/nrpe.cfg --inetd</font><br>
<font size="2">        log_on_failure  += USERID</font><br>
<font size="2">        disable         = no</font><br>
<font size="2">        only_from       = 127.0.0.1 ip_of_nagios</font><br>
<font size="2">}</font><br>
<br>
The only_from-param needs an IP-address of the monitoring server to match the IP-address.<br>
<br>
Don't know if this helps your case...<br>
<br>
Jonas.<div><div></div><div class="h5"><br>
<br>
<br>
On Mon, 2009-11-02 at 11:29 -0500, akp geek wrote:<br>
<blockquote type="CITE">
    <br>
    Hi -
</blockquote>
<blockquote type="CITE">
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    I am getting the following error 
</blockquote>
<blockquote type="CITE">
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    nrpe[6183]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1
</blockquote>
<blockquote type="CITE">
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    This is the message from /var/adm/messages on solaris 10
</blockquote>
<blockquote type="CITE">
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    I am running the following command from the server where I have installed nagios
</blockquote>
<blockquote type="CITE">
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    ./check_nrpe -H 10.xxx.xxx.xx and I get the above message
</blockquote>
<blockquote type="CITE">
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    when I do $ netstat -a | grep nrpe
</blockquote>
<blockquote type="CITE">
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    localhost.nrpe             *.*                0      0 49152      0 LISTEN
</blockquote>
<blockquote type="CITE">
          *.nrpe               *.*                0      0 49152      0 LISTEN
</blockquote>
<blockquote type="CITE">
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    Any clues where things are going wrong. Struggling on this issue since 2 days
</blockquote>
<blockquote type="CITE">
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    Regards
</blockquote>
</div></div><blockquote type="CITE">
<pre>------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
<div class="im"><a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a>
_______________________________________________ Nagios-users mailing list <a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
</div></pre>
</blockquote>
</div>

</blockquote></div><br></div>