I am trying to find a way to validate a login to a
website on IIS that has a web-enabled login screen as
oppose to a windows Pop-Up screen.
It seems that the check_http will only check to see if
the port is open and a page is displayed/retrieved
however when I pass the username / password
information it seems to get ignored and returns back a
status of "OK".
Unfortunately it is not enough to say that the login
page is available or that the http service is running,
I need to verify that the site is servicing login
validations.
Is there a way I can configure the check_http to send
login information to a web based login screen much
like the one found with Outlook Web Access that has a
Java Based script accepting input for login validation?
The command I am running is as follows:
/usr/lib/netsaint/check_http -H $HOSTNAME$ -u HTTP//
$URLPATH$ -p $PORT$ -a $USERNAME$:$PASSWORD$
regarless if I includ the username or password I get
the same results... HTTP "OK".
Even if I put a username that does not exist.....
Any help would be greatly appreciated.
Thanks in advance
Michael Chokrach
Givaudan Flavors
michael.chokrach@givaudan.com
Logged In: YES
user_id=287989
That's because a valid page is returned and that's all your
request is checking. Use the -s option and specify a string
that would appear on the page only if the login was successful.