check_http - Receiving 200 OK message for wrong credentials
Posted: Wed Jul 03, 2019 10:14 am
Hello,
I'm trying to enable the monitoring for one of our application console url using check_http plugin. But when I run the script below I'm getting
STATUS: HTTP/1.1 200 OK response. Although this is the response I'm looking for, I get the same response when I enter the wrong credentials. Please advise what changes I have to make to my script.
Below is the url and the script format I used to do the health check for the application console.
url for the console:
http://servername.domain.com:port/
Script used for health check:
./check_http -v -H servername.domain.com -p port -u http://servername.domain.com:port/console/App.html\#home -a "username:password"
Thank you,
I'm trying to enable the monitoring for one of our application console url using check_http plugin. But when I run the script below I'm getting
STATUS: HTTP/1.1 200 OK response. Although this is the response I'm looking for, I get the same response when I enter the wrong credentials. Please advise what changes I have to make to my script.
Below is the url and the script format I used to do the health check for the application console.
url for the console:
http://servername.domain.com:port/
Script used for health check:
./check_http -v -H servername.domain.com -p port -u http://servername.domain.com:port/console/App.html\#home -a "username:password"
Thank you,