Page 1 of 1

check_http and ports

Posted: Wed Aug 17, 2011 3:17 pm
by dfunk
I want to check this webpage: http://otstweb.foo.com:8000/OA_HTML/jtflogin.jsp.

Somehow, I cannot find the correct syntax (I had to remove the "http://" from the beginning of the -u argument, so the forum wouldn't think I'm trying to post an actual URL).

None of these work:
check_http -H otstweb.foo.infoblox.com -u otstweb.foo.infoblox.com/OA_HTML/jtflogin.jsp -p 8000
check_http -H otstweb.foo.infoblox.com -u otstweb.foo.infoblox.com:8000/OA_HTML/jtflogin.jsp -p 8000
check_http -H otstweb.foo.infoblox.com -u otstweb.foo.infoblox.com:8000/OA_HTML/jtflogin.jsp
check_http -H otstweb.foo.infoblox.com:8000 -u otstweb.foo.infoblox.com/OA_HTML/jtflogin.jsp
check_http -H otstweb.foo.infoblox.com:8000 -u otstweb.foo.infoblox.com/OA_HTML/jtflogin.jsp -p 8000

This *does*work, but I want to check the above path, not this one:
check_http -H otstweb.foo.infoblox.com -u http://otstweb.foo.infoblox.com -p 8000

Any ideas?

- dave -

Re: check_http and ports

Posted: Fri Aug 19, 2011 12:36 pm
by gimmer
You can try:

check_http -H otstweb.foo.infoblox.com -u /OA_HTML/jtflogin.jsp -p 8000

Re: check_http and ports

Posted: Fri Aug 19, 2011 3:22 pm
by dfunk
>>You can try:
>>
>> check_http -H otstweb.foo.infoblox.com -u http://OA_HTML/jtflogin.jsp -p 8000

That worked perfectly!!!! Thank you!!

- dave -