What about
if evt.count > 2:
    evt.severity = 5

Spacing is important in python... I also wonder if in that situation, 
evt.count exists? I haven't looked at the dev guide much, I'm just 
starting to learn python.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



guyverix wrote:
> I have spent several hours this weekend trying to get this working.  I KNOW 
> it is simple, but it appears that python is smarter than I am.  I know the 
> problem is with the evt.count but further than that, I cant get any traction 
> on the problem.
> 
> I know there are people in the forums that would know right away how to do 
> this, so hopefully they will chime in. 
> 
> It kicked my butt, sorry.
> Chris
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=27421#27421
> 
> -------------------- 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