socket timeout after 20 sec

Jayson Broughton jbroughton at truecos.com
Thu May 14 22:26:10 CEST 2009


Try opening a telnet session to that port (to test the firewall theory)
telnet <ip_windows_server> 1248

you should get:
Trying <ip address>
Connected to <ip address>.
Escape Character is '^\]'.


Then Ctl-C to exit out of it (if your in linux that's what it looks like)

50 Seconds is pretty long.  I have a server that is monitored by nagios,
2000+ miles away and 14 traceroute hops.  It was taking longer than 20
seconds, so I set it to 60 seconds, and it takes ~30seconds..so I just
doubled in case of network latency.

~Jayson


-----Original Message-----
From: Andreas Ericsson [mailto:ae at op5.se] 
Sent: Thursday, May 14, 2009 1:33 PM
To: Anirudh Srinivasan
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] socket timeout after 20 sec

Anirudh Srinivasan wrote:
>  Hey Folks,
> 
> I know " socket timeout after 20 sec" has been discussed so many time in
all
> the forums and post, but still this is not so clear to me.
> 
> Nagios server : RHEL 5
> 
> NC_NET used on Windows server.
> 
> In startup.cfg the port is 12489 and the ip_passive is ip address of the
> nagios server.
> 
> Even through the Linux cli i get the same error
> 
> ./check_nt -H <ip_windows_server> -v FREEDISKSPACE -l C -w 80 -c 90 -p
1248
> -t 50
> CRITICAL - socket timeout after 50 sec
> 
> I really have been breaking my head on this. Please suggest some idea or
> your experience
> 

There is a firewall blocking the traffic somewhere along the way, or you
have managed to build a cyclic token-ring network (if you don't know what
those are, consider yourself lucky and look over your firewalls).

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

----------------------------------------------------------------------------
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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
The information in this electronic mail message and any attached files is confidential and may be legally privileged.  If you are not the intended recipient, delete this message and contact the sender immediately.  Access to this message by anyone other than its intended recipient is unauthorized.  You must not use or disseminate this information as it is proprietary property of the True companies.  Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes.  Thank you.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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