check_http problem


I am trying to get check_http to check this address:$?un=xxx&pw=yyy
From command line it works when i use \ -sign in front of &, it works. Eg. ./check_http -I -p xxxx -u /website?un=xxx&pw=yyy
My command definition is: command_line $USER1$/check_http -I $ARG1$ -p $ARG2$ -u $ARG3$ but when I put the -u into the check_command, it doesn’t work. It just gives HTTP/1.0 404, when it gives HTTP/1.0 200 from command line. What could be wrong?


try using quotes. something like


Thank you very much! Now it works.