check_http and ports
Posted: Wed Aug 17, 2011 3:17 pm
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 -
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 -