You might actually want to set it to 1 for debug, or 0 for drop - info 
is still noticeable I think, though this is really just preference for 
event level...
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



Sartuche24 wrote, On 12/1/2008 12:36 PM:
> 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
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to