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 :


Code:
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




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=35713#35713

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to