jmp242 wrote:
> Except, in my 2.1.2 install, you need to do:
> if 'information' in evt.summary :
> evt.severity = 4
> to actually change evt.severity
Another good thing is to check the current severity level:
Code:
if 'information' in evt.summary and evt.severity > 4 :
evt.severity = 4
You should always check if evt.severity > 0 otherwise you will end up having
problems with errors not being set to OK automatically. Because OK events with
severity == 0 will be set to severity = 4 too.
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=22451#22451
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users