Fwd: CHECK_NRPE: Socket timeout after 10 seconds.

asam30 at gmail.com asam30 at gmail.com
Tue Jul 1 07:42:31 CEST 2008


Sure,

The problem was SSL handshake. what I did, on the remote solaris machine I
recompiled nrpe without the ssl support (./configure --help will tell you
how to do that). Once this is done, I executed the following command from
the nagios server

 /home/nagios/nagios/libexec/check_nrpe -H 10.192.2.60 -c check_users -n
USERS OK - 2 users currently logged in |users=2;5;10;0

So,  If the remote system was built and configured without ssl, you can
define a separate entry in commands.cfg on the nagios server as in the
following example:

define command{
command_name check_nrpe_no_ssl
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n
}

(note the -n qualifier in the command_line) modify your service check (in
services.cfg) to use check_nrpe_no_ssl and restart the nagios server
ex: check_nrpe_no_ssl!check_users!-n

Hope this helps

Regards
-Shankar

On Mon, Jun 30, 2008 at 7:45 PM, Matthew Macdonald-Wallace <
lists at truthisfreedom.org.uk> wrote:

> On Mon, 30 Jun 2008 18:36:52 +0530
> asam30 at gmail.com wrote:
>
> > I was able to fix this myself.
>
> Can you tell us how so that people who have a similar problem in future
> know what to do?
>
> Thanks,
>
> Matt
> --
> Matthew Macdonald-Wallace
> matthew at truthisfreedom.org.uk
> http://www.truthisfreedom.org.uk
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



-- 
Shankar Asam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080701/d5122536/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list