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