check_http --onredirect=follow not working with use of '-u'
Posted: Mon Oct 21, 2013 2:26 pm
Hi,
I am not sure if it is a bug or a feature logic. I need to monitor a URL which redirects from HTTP to HTTPS and check_http only works when I use only '-H' option. it does not work with both '-H' and '-u' used together.
works but does not meet the needs
returns HTTP OK - with HTTP 302
returns error.
Could you please check and let me know if it is reproducable in your enviornment and how to fix it?
Thanks
Ashish
I am not sure if it is a bug or a feature logic. I need to monitor a URL which redirects from HTTP to HTTPS and check_http only works when I use only '-H' option. it does not work with both '-H' and '-u' used together.
Code: Select all
./check_http -H xxxx --onredirect=follow
Code: Select all
./check_http -H xxxx -u xxxx
Code: Select all
./check_http -H xxxx -u xxxx --onredirect=follow
Could you please check and let me know if it is reproducable in your enviornment and how to fix it?
Thanks
Ashish