circular parent relationships

Paul Dugas paul at dugas.cc
Fri Aug 22 03:34:12 CEST 2008


I have a need to configure parent relationships for switches that are
connected in a ring like so:

        NAGIOS     HostA      HostB      HostC
           |         |          |          |
        Router -- Switch1 -- Switch2 -- Switch3
                     |                     |
                      ---------------------

Pseudo config like so:

        host Router  { }
        host Switch1 { parents Router,Switch2 }
        host Switch2 { parents Switch1,Switch3 }
        host Switch3 { parents Switch2,Switch1 }
        host HostA   { parents Switch1 }
        host HostB   { parents Switch2 }
        host HostC   { parents Switch3 }

Stock Nagios generates a "circular parent/child path" error.  I've
commented out the Switch1/Switch3 parent entries to make it mostly work
but a fault with Switch2 will incorrectly put Switch3 in UNREACHABLE.
This seems like something that should be supported but after some
searching, I found one patch that addresses it but it's not been
incorporated into the released version of the software. 

Is there another way to handle this?

Paul
-- 
Paul Dugas <paul at dugas.cc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080821/3800192d/attachment.sig>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- 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