[Nagiosplug-help] bug report: check_http in 1.4.12 excessive redirects

Justin Amburn justinjoseph24 at hotmail.com
Fri Jul 25 00:52:45 CEST 2008


With the check_http plugin version 1.4.12 getting HTTP/1.1 on IIS 5.0, a redirect error gets produced. The final result is: "HTTP WARNING - maxiumum redirection depth 15 exceeded" After downgrading to 1.4.11, the problem abates. Here is the verbose output for the 1.4.12 check:

GET / HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/ is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7929995; Path=/; Expires=Wed, 06-Aug-2008 21:32:29 GMT
Set-Cookie: customer=9869864; Path=/; Expires=Thu, 21-Jul-2016 21:32:29 GMT
Set-Cookie: mmlID=9104800; Path=/; Expires=Thu, 21-Jul-2016 21:32:29 GMT
Set-Cookie: JSESSIONID=anCYmNSXDX-g; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7930157; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9869959; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9104978; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=b8imGKppY9A4; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7930083; Path=/; Expires=Wed, 06-Aug-2008 21:32:29 GMT
Set-Cookie: customer=9869787; Path=/; Expires=Thu, 21-Jul-2016 21:32:29 GMT
Set-Cookie: mmlID=9104881; Path=/; Expires=Thu, 21-Jul-2016 21:32:29 GMT
Set-Cookie: JSESSIONID=cM1GpaW39wqa; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7929916; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9870023; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9105018; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=dCs-oRVltX-7; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7929996; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9869865; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9105101; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=adOxc3zL6sla; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7930158; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9869960; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9104979; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=bqOGYzPMzHCe; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7930084; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9869788; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9104882; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=cFopMohy0oSh; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7929917; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9870024; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9105019; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=dkYSHzYUTlGf; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7929997; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9869866; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9105102; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=aJgStynU47N6; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7930159; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9869961; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9104980; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=bO1ukJTtAvQ5; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7930085; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9869789; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9104883; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=czBJ6QAJKnTc; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7929918; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9870025; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9105020; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=dzLEEiZ7-J6_; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7929998; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9869867; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9105103; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=awgRdFwfrW2h; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7930160; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9869962; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9104981; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=bY4hGdP35qXb; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7930086; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9869790; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9104884; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=cebow3Jf6Ql7; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

Redirection to http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE
GET /jump.jsp?itemID=0&itemType=HOME_PAGE HTTP/1.0
User-Agent: check_http/v1991 (nagios-plugins 1.4.12)
Connection: close
Host: somesite.com:80


http://somesite.com:80/jump.jsp?itemID=0&itemType=HOME_PAGE is 579 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Server: Microsoft-IIS/5.0
Date: Wed, 23 Jul 2008 21:24:32 GMT
Location: http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE
Content-Length: 102
Set-Cookie: order=7929919; Path=/; Expires=Wed, 06-Aug-2008 21:32:30 GMT
Set-Cookie: customer=9870026; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: mmlID=9105021; Path=/; Expires=Thu, 21-Jul-2016 21:32:30 GMT
Set-Cookie: JSESSIONID=dK59QGGqc3eb; Path=/
Content-Type: text/html
**** CONTENT ****
The URL has moved <a href="http://somesite.com/jump.jsp?itemID=0&itemType=HOME_PAGE">here</a>

HTTP WARNING - maximum redirection depth 15 exceeded - http://somesite.com:80jump.jsp?itemID=0&itemType=HOME_PAGE

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080724/41f8826e/attachment.html>


More information about the Help mailing list