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

Paul Boot - Bateau Knowledge pb at bateauknowledge.nl
Sat Feb 8 03:18:05 CET 2003


The new check_http "$Revision: 1.21 $" has solved the multiple TCP segments problem and the double cr lf at the end of the GET request.

It monitors my humble wireless access-point beautifully!


Kind regards,

Paul Boot.

--------------------------------------------------------------------------

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
 http://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
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20030208/6fadf1b9/attachment.html>


More information about the Devel mailing list