Service Dependency Config
Lei Chen
cloved at gmail.com
Mon Apr 13 11:09:42 CEST 2009
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
------------------------------------------------------------------------------
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
More information about the Users
mailing list