defining domain for check_http for each host

Hugo van der Kooij hvdkooij at vanderkooij.org
Sun Sep 3 11:02:24 CEST 2006


On Sun, 3 Sep 2006, Richard Galvez wrote:

> Yeah, I follow you, but the issue is that I'm the user, and I care for
> the websites that I know are consistent with each machine. If that site
> goes down, then so did the machine.. That's my reason behind it. Thanks
> for your help though, all of you, I don't want to seem as if I'm not
> appreciative. I was thinking, however, in the address of the host
> definition I just add the domain (www.yahoo.com) that path should
> resolve to the same machine every time. I'm not sure if this is still
> the solution I seek. The solution I really am seeking is to add another
> variable to the host definition. That would be completely, absolutely,
> ideal. It will also allow me to add other information to the hosts in
> the future. Any ideas as to how to add custom directives to the host
> definition block?

Use the Source Luke.

But in the real world the equasion 1 host = 1 service is almost never
valid. After all there are disk involved, perhaps a database and it is
quite likely you want some means of maintaining them which could mean ssh,
.....

I think you are focussed to much on this host thing. If a normal
check_http does not work in a host definition then the website has host
restrictions. And so you have cut loose the 1on1 link between hardware and
services before you even went to look with nagios.

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