heres what im using exactly... 

this transform is on /EVENTS/STATUS/PING


Code:
if device.location().id == 'Peer1' and device.id != 'v60-WWW1':
    dc1_router = device.findDevice('v60-WWW1')
    if dc1_router.getPingStatus() > 0:
        evt.eventState = 2
if device.location().id == 'Puretracks' and device.id != 'x5505e-260King':
    dc2_router = device.findDevice('x5505e-260King')
    if dc2_router.getPingStatus() > 0:
        evt.eventState = 2 



locations are as follows:
/Peer1/Rack80
/Peer1/Rack81
/Peer1/Rack83
/Puretracks/B100
/Puretracks/B204

v60-www1 is in /Peer1/Rack80 but i want it as dependency for that entire DC
x5505e-260King is in /Puretracks/B100 but again I need this to be the 
dependency for all the nodes in this building, not just B100.




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

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

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



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

Reply via email to