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

Karl DeBisschop karl at debisschop.net
Mon Jan 27 04:02:04 CET 2003


On Mon, 2003-01-27 at 06:15, Christoph Stotz wrote:
> Hello,
> 
> > 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 ?

Actually, after posting last night, I checked the code at found we
(incorrectly) set the host name anyway. I fixed that. Can you try the
CVS, or can I check the IPs from the outside world if you provide them?

Or, are there true vhost names you can use with -H?

--
Karl





More information about the Devel mailing list