Dependency Stuff

Johannes Dagemark johannes.dagemark at op5.se
Wed Mar 26 10:47:16 CET 2003


An idea for the developers...

Why not use the parents directive to handle host-dependency as well. I see
no point in having the redundant configuration that we have today with
both parents and host/service dependencies.

just an idea

Regards

Johannes Dagemark

> Am Mittwoch, 26. März 2003 06:34 schrieb Roy S. Rapoport:
> Hi Roy,
> Status-Map-CGI works with the parent-directive, service- and
> host-dependency  are doing the notifications, if a host or a service is
> going down. So you don't receive a lot of notifications of hosts and
> services if the dependent  host NEXTHOP is going down.
>
> --
> Michael
>
>> I suspect this was answered before on the mailing list, but I can't
>> search it right now.
>>
>> I'm trying to get statusmap to show hosts in a way that corresponds
>> with the dependency file (so, for example, the next hop is shown
>> connected in a line to my gateway, not directly to the nagios system).
>>
>> My dependency file is:
>> define servicedependency {
>>         host_name                       gw
>>         service_description             ALIVE
>>         dependent_host_name             nexthop
>>         dependent_service_description   ALIVE
>>         execution_failure_criteria      w,u,c
>>         notification_failure_criteria   w,u,c
>> }
>>
>> define hostdependency   {
>>         host_name                       gw
>>         dependent_host_name             nexthop
>>         notification_failure_criteria   d,u
>> }
>>
>> gw is my first hop, nexthop is, well, my next hop.
>>
>> I haven't tested a failure to see if Nagios will do the right thing
>> yet, but statusmap shows gw and nexthop on the same 'level'.  What am
>> I missing?
>>
>> -roy
>>
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by:
>> The Definitive IT and Networking Event. Be There!
>> NetWorld+Interop Las Vegas 2003 -- Register today!
>> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
>> _______________________________________________
>> 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
>
>
>
>
> **********************************************************************
> Diese E-Mail wurde auf Viren ueberprueft.
> www.mimesweeper.com
> **********************************************************************
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> 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





-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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