Check_http and redirection
Posted: Wed Feb 05, 2014 12:04 pm
Hello,
I 'd like to check a webservice.
The fact is that webservice is behind Load-balancer and Reverse-proxy.
when I try in a browser https://mywebserviceurl/my/parameters/xx I have some output.
This is that output i'd like to monitor.
When I do a :
check_http -H mywebserviceurl -s "output" -f ok -u '/my/parameters/xx'
I have a HTTP OK - HTTP/1.0 302 Redirect but he didn't check my string.
If I add -S i have a CRITICAL - Socket timeout after 10 seconds, same with -f follow, and same again with both.
I have made a lot of test with different parameters but same results...
Is someone already seen that issue ?
Thanks,
Regards
I 'd like to check a webservice.
The fact is that webservice is behind Load-balancer and Reverse-proxy.
when I try in a browser https://mywebserviceurl/my/parameters/xx I have some output.
This is that output i'd like to monitor.
When I do a :
check_http -H mywebserviceurl -s "output" -f ok -u '/my/parameters/xx'
I have a HTTP OK - HTTP/1.0 302 Redirect but he didn't check my string.
If I add -S i have a CRITICAL - Socket timeout after 10 seconds, same with -f follow, and same again with both.
I have made a lot of test with different parameters but same results...
Is someone already seen that issue ?
Thanks,
Regards