[Nagiosplug-devel] RE: check_http: Socket timeout after 10 second s (but webserver is up! )

Karl DeBisschop karl at debisschop.net
Fri Feb 7 21:42:03 CET 2003


On Fri, 2003-02-07 at 04:46, Paul Boot - Bateau Knowledge wrote:
> I think you have the same problem as I did. Some embedded HTTP servers
> in wireless-access points (Sitecom WL-006) and print-servers do not
> respond to HTTP GET requests sent over multiple TCP packets. (or TCP
> fragments)
I have just commited a fix which places transfers the request in one
send (which does not assure that it will be one packet).

Can you test to see if this solves your problems? (use snapshot at
www.debisschop.net/src/nagios if you do not have CVS tree)

--
Karl



> Here is the bug report I just entered:
>  
> http://sourceforge.net/tracker/index.php?func=detail&aid=682203&group_id=29880&atid=397597
>  
> I have a quick and very dirty work arround.
>  
> Kind regards,
>  
> PBO.
>  
>  
>  
>  
> > Can you try the same command with the -I flag instead of -H.
> > Still just a guess here, but remember the '-H' sets the hostname,
> > whereas '-I' does not. The server should either be successful 
> > or give a
> > 400, so it's for from a sure thing. But maybe worth a try.
> 
> Ok, I tried that:
> 
> <---cut here---><---cut here---><---cut here---><---cut
> here---><---cut
> here---><---cut here--->
> spaehfix:/usr/local/nagios # ./libexec/check_http --verbose -H A.B.C.D
> Socket timeout after 10 seconds
> spaehfix:/usr/local/nagios # ./libexec/check_http --verbose -I A.B.C.D
> Socket timeout after 10 seconds
> spaehfix:/usr/local/nagios # ./libexec/check_http --verbose -I
> <FQDN_pointing_to_A.B.C.D>
> Socket timeout after 10 seconds
> spaehfix:/usr/local/nagios # ./libexec/check_http --verbose -H
> <FQDN_pointing_to_A.B.C.D>
> Socket timeout after 10 seconds
> <---cut here---><---cut here---><---cut here---><---cut
> here---><---cut
> here---><---cut here--->
> 
> and again - on the "first Web" on that host, all combinations of
> IP/FQDN,
> -H/-I is working without giving any problems.
> 
> Any further ideas ?
> 
> 
> Kind Regards,
> 
> Christoph Stotz





More information about the Devel mailing list