R: check+http on asp.net site
Hugo van der Kooij
hvdkooij at vanderkooij.org
Wed Aug 9 20:58:35 CEST 2006
On Wed, 9 Aug 2006, Marco Borsani wrote:
> ================================================
> Telnet <ip> 80
> ......
> GET / HTTP/1.0
> Host: <ip>
Ouch. I don not think you refer to this host as http://<ip>/ but
http://<hostname>/ in your web browser. That would render the test
illegal.
But by all means add the proper name (or IP if you so desire) into the
parameters for check_http:
-H, --hostname=ADDRESS
Host name argument for servers using host headers (virtual host)
Append a port to include it in the header (eg: example.com:5000)
You need to check wether or not hostheaders are required in your webserver
setup. My bet is you need to specify them and can 't do without them.
Hugo.
--
I hate duplicates. Just reply to the relevant mailinglist.
hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list