check_http fails for two Sprint sites

Joerg Linge pitchfork at ederdrom.de
Fri Feb 24 06:40:19 CET 2012


Hi Frank,
your side does not respond to http requests

OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -H www.sprint.net
CRITICAL - Socket timeout after 10 seconds
OMD[gearman]:~$ ./lib/nagios/plugins/check_http -H www.sprint.net
CRITICAL - Socket timeout after 10 seconds

HTTPS works well

OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -S -H www.sprint.net
HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.744 second response time |time=0.743648s;;;0.000000 size=18004B;;;0
OMD[gearman]:~$ ./lib/nagios/plugins/check_http -S -H www.sprint.net
HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.736 second response time |time=0.735588s;;;0.000000 size=18004B;;;0

wget redirects directly to HTTPS 

OMD[gearman]:~$ wget www.sprint.net
--2012-02-24 06:37:35--  http://www.sprint.net/
Resolving www.sprint.net... 2600::, 208.24.22.50
Connecting to www.sprint.net|2600::|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.sprint.net/ [following]
--2012-02-24 06:37:36--  https://www.sprint.net/
Connecting to www.sprint.net|2600::|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “index.html”
2012-02-24 06:37:37 (1.31 MB/s) - “index.html” saved [17739]

 
Joerg

Am 24.02.2012 um 00:58 schrieb Frank Bulk:

> Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net
> failed to pass check_http.  What's strange is that the v4 version of
> www.sprint.net also fails.  
> 
> I see that there are 302's (redirection) to the secure version of the site,
> but using the '-f follow' command doesn't help, either.  It seems that if
> the site one being is redirected to is secure that the check command fails.
> 
> I'm running check_http version 1.4.15.
> 
> Here's my output:
> 
> ============================================================================
> ==
> nagios:/etc/nagios3#
> nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -4
> CRITICAL - Socket timeout after 10 seconds
> nagios:/etc/nagios3#
> nagios:/etc/nagios3# wget -4 www.sprint.net
> --2012-02-23 17:52:06--  http://www.sprint.net/
> Resolving www.sprint.net... 208.24.22.50
> Connecting to www.sprint.net|208.24.22.50|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: https://www.sprint.net/ [following]
> --2012-02-23 17:52:06--  https://www.sprint.net/
> Connecting to www.sprint.net|208.24.22.50|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: âindex.html.4â
> 
>    [ <=>
> ] 16,997      --.-K/s   in 0.05s
> 
> 2012-02-23 17:52:06 (348 KB/s) - âindex.html.4â
> 
> nagios:/etc/nagios3#
> ============================================================================
> ==
> nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -6
> CRITICAL - Socket timeout after 10 seconds
> nagios:/etc/nagios3#
> nagios:/etc/nagios3# wget -6 www.sprint.net
> --2012-02-23 17:54:49--  http://www.sprint.net/
> Resolving www.sprint.net... 2600::
> Connecting to www.sprint.net|2600::|:80... connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location: https://www.sprint.net/ [following]
> --2012-02-23 17:54:49--  https://www.sprint.net/
> Connecting to www.sprint.net|2600::|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: âindex.html.5â
> 
>    [ <=>
> ] 17,739      --.-K/s   in 0s
> 
> 2012-02-23 17:54:49 (174 MB/s) - âindex.html.5â
> 
> nagios:/etc/nagios3#
> ============================================================================
> ==
> 
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> 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


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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