Service Dependency Config

Nair vmanojv at rediffmail.com
Mon Apr 13 15:37:33 CEST 2009


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 you
Nair.


On Mon, 13 Apr 2009 Lei Chen wrote :
>Not permmit a circular execution dependency here.
>
>That may be like this:
>
>define servicedependency{
>host_name            host1
>service_description      www
>dependent_host_name    host3
>dependent_service_description  www
>execution_failure_criteria    o
>notification_failure_criteria  c,p
>}
>
>define servicedependency{
>host_name            host2
>service_description        www
>dependent_host_name      host3
>dependent_service_description  www
>execution_failure_criteria    o
>notification_failure_criteria  c,p
>}
>
>Or:
>define servicedependency{
>host_name            host1
>service_description      www
>dependent_host_name    host1
>dependent_service_description  ping
>execution_failure_criteria    o
>notification_failure_criteria  c,p
>}
>
>define servicedependency{
>host_name            host2
>service_description        www
>dependent_host_name      host1
>dependent_service_description  ping
>execution_failure_criteria    o
>notification_failure_criteria  c,p
>}
>
>
>2009/4/13 Nair <vmanojv at rediffmail.com>:
> > 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'!
> > -----------------------
> > # Service Dependency Definition for cfservd
> > define servicedependency{
> > host_name            host1
> > service_description      www
> > dependent_host_name    host2
> > dependent_service_description  www
> > execution_failure_criteria    o
> > notification_failure_criteria  c,p
> > }
> >
> > define servicedependency{
> > host_name            host2
> > service_description        www
> > dependent_host_name      host1
> > dependent_service_description  www
> > execution_failure_criteria    o
> > notification_failure_criteria  c,p
> > }
> >
> > Please share your thoughts for getting the config right.
> >
> > Thank you in advance
> > Nair
> >
> >
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by:
> > High Quality Requirements in a Collaborative Environment.
> > Download a free trial of Rational Requirements Composer Now!
> > http://p.sf.net/sfu/www-ibm-com
> > _______________________________________________
> > 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
> >
>
>
>
>--
>Thanks,
>Chenlei & ʯͷ++
>MSN Messenger: chnl at 163.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090413/79e56567/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
-------------- next part --------------
_______________________________________________
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