I didn't know if anybody would like this transform on SNMP agent being down with the device isn't responding to pings. I was pretty annoying so this is what I cam up with and it seems to work pretty well for me.
Code: my_device = device.findDevice(device.id) if my_device.pingStatus() > 0: evt.eventState = 2 # suppressed -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=28458#28458 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
