Once you've entered the transform, you do need to move any old events to history (any that may increase by count).
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



faber wrote:
Thanks a lot for your help jmp242!
Your idea seems describing what I actually wanted to do.

I am now trying to fiddle with the Event Transform and did something like


Code:

if evt.prodState == 300 and evt.severity >= 3:
  evt.severity = 3;
if evt.prodState == 400 and evt.severity >= 4:
  evt.severity = 4;




Now I have 2 questions:
1. I took the event fields from Appendix B: Event Database Dictionary of the 
user manual, do you guys think this is the right place to look into?
2. How can I test if the transformation worked? If I only have to create a new 
event, then I think there must be some errors because it didn't actually lower 
the severity of the event I created...

Thanks in advance for your help.
Faber




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

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

-------------------- 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