R: R: check+http on asp.net site

Marco Borsani m.borsani at it.net
Thu Aug 10 13:58:22 CEST 2006


I refer to this host as http://<ip>

I way to solve (partially) the problem is to add "-e HTTP" at the end of
check_http command, but I don't like it very much

Marco

-}-----Messaggio originale-----
-}Da: hvdkooij at vanderkooij.org [mailto:hvdkooij at vanderkooij.org] 
-}Inviato: mercoledì 9 agosto 2006 20.59
-}A: Marco Borsani
-}Cc: 'Nagios Users Mailinglist'
-}Oggetto: Re: [Nagios-users] R: check+http on asp.net site
-}
-}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