[Nagiosplug-help] Using check_http with host header

Jeff Rendl jeff.rendl at ifsna.com
Wed Oct 23 15:06:04 CEST 2002


In services.cfg, for this particular web server, I have the following:
 
host_name                bigwebserver
...blah, blah, blah
check_command        check_http -H virtualhost.thisplace.com -u /thisdir
}
 
It worded before I added the host header stuff, but the web server doesn't
give anything back when you go to it by its host name, only when you go by
one of the *many* hosted sites on the server.
 
Am I fundamentally missing something here?  What's the right way to setup a
web server in Nagios that has many different sites running on it?  Do I
setup individual hosts for it for each site?  I really don't want this thing
showing up as a bunch of hosts, but if I must, I must.
 
Thanks!
-Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20021023/f3d14a3a/attachment.html>


More information about the Help mailing list