You can probally ask these questions your self but...
If my understanding of this is correct, How will this work in a
templated environment?
eg Will the parent service be configured via a hostname / service name pair
Or just a service name, that Nagios will look on the applied host to find?
(I ask as we use host templates to apply service to hosts).
I am probably being very anal here, would this situation work?
Host
|
- service0 NRPE -->
-- service1 App check1
-- service2 App check2
|
- service3 HTTP check1
- service4 HTTP check2
Could we have "HTTP check1" depend on "App check1" but not "NRPE"?
eg NRPE dies so service1 alerts are suppressed, but "service3" will
alert if needed.
But if "App check1" fails (but not NRPE) "HTTP check1" will not alert?
--
Ritchie
On Tue, May 17, 2011 at 9:57 AM, Andreas Ericsson wrote:
> Ahoy.
>
> This is the first of a few requests for comments and patches that
> I'll be sending out, requesting comments and patches. Please keep
> bikeshedding to a minimum.
>
> One of the more common ideas at ideas.nagios.org is to make Nagios
> easier to configure with regards to service dependencies in order
> to suppress notifications from being sent out. The most common
> case when this happens is when an agent on a monitored host goes to
> lunch but several of the checks configured for the host depends on
> that agent being up and running.
>
> The idea to easily solve such dependencies is to allow services to
> have "parents". There will be some few limitations to how these
> parents work, however, since we want to make it easy for people to
> use and we also want to make it easy to implement.
> * The parent of a service must reside on the same host as the child
> =C2=A0service.
> * If the parent is in any non-ok state, notifications from the child
> =C2=A0service will be blocked, but the child service check will still be
> =C2=A0executed normally.
> * Internally, Nagios will create a servicedependency with a simple
> =C2=A0 =C2=A0notification_failure_criteria =3D ~STATE_OK
> =C2=A0upon the service parent. This is necessary to avoid breaking the
> =C2=A0eventbroker ABI. In Nagios 4, this can be changed, but for now we
> =C2=A0remain binary compatible with current eventbrokers.
>
>
> Comments and patches welcome.
>
> --
> Andreas Ericsson =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 [email protected]
> OP5 AB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 www.op5.se
> Tel: +46 8-230225 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0Fax: +46 8-230231
>
> Considering the successes of the wars on alcohol, poverty, drugs and
> terror, I think we should give some serious thought to declaring war
> on peace.
>
> -------------------------------------------------------------------------=
-----
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]