Hi! I get the following command to work in CLI.
./check_http -H "this.site.com" –u "/login.aspx?loginName=user1&passWord=pass1"
When I have the correct user/pass I get a redirect (302) and when I don't I just get OK (200).
When I try to do this i cfg-files I just get 302, no matter what. See below.
check_command check_http!-H this.site.com -u “/login.aspx?loginName=user1&passWord=pass1"
I've also tested this with this check_command
check_command check_http!-H this.site.com -u /login.aspx -P "loginName=user1&passWord=pass1"
And also with and without ip (-I). I know I do something wrong, can you people help me out?