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

Christoph Stotz stotz at logo.de
Mon Jan 27 03:19:03 CET 2003


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 ?


Kind Regards,

Christoph Stotz




More information about the Devel mailing list