<P>
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.<BR>
<BR>
Is there any config to support this senario.<BR>
<BR>
Thank you<BR>
Nair.<BR>
<BR>
<BR>
On Mon, 13 Apr 2009 Lei Chen wrote :<BR>
>Not permmit a circular execution dependency here.<BR>
><BR>
>That may be like this:<BR>
><BR>
>define servicedependency{<BR>
>host_name            host1<BR>
>service_description      www<BR>
>dependent_host_name    host3<BR>
>dependent_service_description  www<BR>
>execution_failure_criteria    o<BR>
>notification_failure_criteria  c,p<BR>
>}<BR>
><BR>
>define servicedependency{<BR>
>host_name            host2<BR>
>service_description        www<BR>
>dependent_host_name      host3<BR>
>dependent_service_description  www<BR>
>execution_failure_criteria    o<BR>
>notification_failure_criteria  c,p<BR>
>}<BR>
><BR>
>Or:<BR>
>define servicedependency{<BR>
>host_name            host1<BR>
>service_description      www<BR>
>dependent_host_name    host1<BR>
>dependent_service_description  ping<BR>
>execution_failure_criteria    o<BR>
>notification_failure_criteria  c,p<BR>
>}<BR>
><BR>
>define servicedependency{<BR>
>host_name            host2<BR>
>service_description        www<BR>
>dependent_host_name      host1<BR>
>dependent_service_description  ping<BR>
>execution_failure_criteria    o<BR>
>notification_failure_criteria  c,p<BR>
>}<BR>
><BR>
><BR>
>2009/4/13 Nair <vmanojv@rediffmail.com>:<BR>
> > Friends,<BR>
> > I need to define mutal dependancy between two web services in different<BR>
> > hosts.<BR>
> ><BR>
> > PLease see the config below which end up throwing error:<BR>
> > -----------------------<BR>
> > Error: A circular execution dependency (which could result in a deadlock)<BR>
> > exists for service 'www' on host 'host2'!<BR>
> > -----------------------<BR>
> > # Service Dependency Definition for cfservd<BR>
> > define servicedependency{<BR>
> > host_name            host1<BR>
> > service_description      www<BR>
> > dependent_host_name    host2<BR>
> > dependent_service_description  www<BR>
> > execution_failure_criteria    o<BR>
> > notification_failure_criteria  c,p<BR>
> > }<BR>
> ><BR>
> > define servicedependency{<BR>
> > host_name            host2<BR>
> > service_description        www<BR>
> > dependent_host_name      host1<BR>
> > dependent_service_description  www<BR>
> > execution_failure_criteria    o<BR>
> > notification_failure_criteria  c,p<BR>
> > }<BR>
> ><BR>
> > Please share your thoughts for getting the config right.<BR>
> ><BR>
> > Thank you in advance<BR>
> > Nair<BR>
> ><BR>
> ><BR>
> > ------------------------------------------------------------------------------<BR>
> > This SF.net email is sponsored by:<BR>
> > High Quality Requirements in a Collaborative Environment.<BR>
> > Download a free trial of Rational Requirements Composer Now!<BR>
> > http://p.sf.net/sfu/www-ibm-com<BR>
> > _______________________________________________<BR>
> > Nagios-users mailing list<BR>
> > Nagios-users@lists.sourceforge.net<BR>
> > https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>
> > ::: Please include Nagios version, plugin version (-v) and OS when reporting<BR>
> > any issue.<BR>
> > ::: Messages without supporting info will risk being sent to /dev/null<BR>
> ><BR>
><BR>
><BR>
><BR>
>--<BR>
>Thanks,<BR>
>Chenlei & ʯͷ++<BR>
>MSN Messenger: chnl@163.com<BR>

</P>


<br><br>
<Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style="font-family:Verdana;font-size:11px;line-height:15px;"><TR><td><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A></td></TR></Table>