What's the difference between event state suppressed, and event dropped?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



mrchippy wrote, On 5/1/2009 11:10 AM:
> 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
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to