Interesting, I missed the post you referenced altogether... I never saw that this had been handled in the past :)

Having this readily available and mainline would be great, IMO the current behaviour severely limits the situations in which you can use servicedependencies AND inherited templates. This would reduce the size of my config trees at _least_ an order of magnitude...

/eli

Trask wrote:
What I would like:


define servicedependency{
        hostgroup_name                  hg_a
        service_description             service_m
        dependent_host_name             hg_a
        dependent_service_description   service_n
        execution_failure_criteria      o
        notification_failure_criteria   w,u
}

As written, service_n on every host in hg_a is dependent on service_M
on EVERY OTHER host in hg_a.  I would like to define a dependency for
service_n on service_m on EACH host in hg_a (also stated, I want to
service_n to be dependent on service_m on the same host, but I don't
want to make a servicedependency definition for every single host).

I have seen this question come up a few times in the past in the
archives, but looking through the official docs and poking at the
source leaves me thinking this is not included in version 2.2.

Here's a post of someone who made a patch for 2.0:
http://article.gmane.org/gmane.network.nagios.user/19511/match=hostgroup+servicedependency

I'll make another patch if necessary, but I figured I should check
this list first.  Is there any plan on having this functionality
anytime soon?  Does anyone have another way around this?

~trasko


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
_______________________________________________
Nagios-users mailing list
[email protected]
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




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to