Page 1 of 1

WAF Causing endless loop

Posted: Mon Jul 03, 2017 10:08 am
by BanditBBS
I have an issue with check_http returning with this:

Code: Select all

HTTP WARNING - redirection creates an infinite loop - https://xxxx.xxxx.xxxx.com:443/
We have a F5 that forwards the URL to a WAF that then sends it back to the F5 that then sends to the actual hosting server. Any idea how I can set this on the command line to make it work with check_http? I have tried -f follow and -f sticky and no -f option. No -f I get:

Code: Select all

HTTP OK: HTTP/1.0 302 Found - 297 bytes in 0.253 second response time
But that of course never gets to the hosting server to validate the web url is up.

Any hints?

Re: WAF Causing endless loop

Posted: Wed Jul 05, 2017 1:46 pm
by tgriep
I have seen you have had this issue before.
https://support.nagios.com/forum/viewto ... 16&t=41571
Have you tried the suggestions from the earlier post?

Can you run the check from the command line with the -v option and PM me or post the the output so I can see what is happening?