Archived community.zenoss.org | full text search
Skip navigation
1 2 Previous Next 94290 Views 16 Replies Latest reply: Aug 21, 2009 11:57 AM by mshundal RSS Go to original post
  • fdeckert Rank: Green Belt 110 posts since
    Jul 2, 2008
    Currently Being Moderated
    15. Jun 8, 2009 11:16 AM (in response to Axis)
    RE: dependencies... again!
    Hi,

    Sorry to hijack this thread, but I'm wondering if level2 dependency could be achieved in zenoss 2.4 using a custom schema.

    Say that we extend the schema for devices with a field "cParentNode", and for each node we register in the custom field it's parent device.

    Could we create a event transform for /Events/Status/Ping looking like this :

    parent=device.find(cParentNode)
    if parent is not None:
        if parent.getPingStatus() > 0:
            evt.eventState = 2
    


    I never tried this option, and I can see a problem as the registered parent node could be deleted or renamed, but is it possible to "hard link" the attribute to an object in ZopeDB ?

    This could create an "easy" level2 dependency, even if entered manually, is it ?
    --
    Florian Deckert
    SopraGroup - France
1 2 Previous Next

More Like This

  • Retrieving data ...