A quick note on the difference between eventState and severity.  severity (0-5) 
maps to Critical, Warn, etc.  eventState (0,1,2) maps to New, Acknowledged, 
Suppressed.  I think what you're looking for would be along the lines of:


Code:

if device.location().id == 'location_1' and device.id != 'test_router_1':
    dc1_router = device.findDevice('test_router_1')
    if dc1_router.getPingStatus() > 0:
        evt.eventState = 2





chip
zenoss




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

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

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



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

Reply via email to