Re: [Nagios-users] Service Dependency Config

2009-04-13 Thread Jim Avery
2009/4/13 Nair : > Thanks you, Lei. But, I have two web servers in cluster. Webserver may be > online in any one of the servers. So I have defined www services in web > servers - host1 and host2. And dont need an alert when www is online in any > one of the servers. > > Is there any config to suppo

Re: [Nagios-users] Service Dependency Config

2009-04-13 Thread Marc Powell
On Apr 13, 2009, at 8:37 AM, Nair wrote: > Thanks you, Lei. But, I have two web servers in cluster. Webserver > may be online in any one of the servers. So I have defined www > services in web servers - host1 and host2. And dont need an alert > when www is online in any one of the servers.

Re: [Nagios-users] Service Dependency Config

2009-04-13 Thread Nair
Thanks you, Lei. But, I have two web servers in cluster. Webserver may be online in any one of the servers. So I have defined www services in web servers - host1 and host2. And dont need an alert when www is online in any one of the servers. Is there any config to support this senario. Thank y

Re: [Nagios-users] Service Dependency Config

2009-04-13 Thread Jim Avery
2009/4/13 Nair : > Friends, > I need to define mutal dependancy between two web services in different > hosts. Define each as individual services in the usual way, then use Nagios Business Process Addons http://nagiosbp.projects.nagiosforge.org/ to define a service view which is dependent on both

Re: [Nagios-users] Service Dependency Config

2009-04-13 Thread Lei Chen
Not permmit a circular execution dependency here. That may be like this: define servicedependency{ host_namehost1 service_description www dependent_host_namehost3 dependent_service_description www execution_failure_criteriao notification_failure_criteria c,p } define s

[Nagios-users] Service Dependency Config

2009-04-13 Thread Nair
Friends, I need to define mutal dependancy between two web services in different hosts. PLease see the config below which end up throwing error: --- Error: A circular execution dependency (which could result in a deadlock) exists for service 'www' on host 'host2'!