For reference, I am now using the following transform on Ineoqest iVMS probe 
traps:
Code:
if getattr(evt, "1.3.6.1.4.1.15181.11.4.1.1.10") >=0:
    evt.severity = 4
    evt.summary = "Channel alert: " + getattr(evt, 
"1.3.6.1.4.1.15181.11.4.1.1.10") + " (" + getattr(evt, 
"1.3.6.1.4.1.15181.11.4.1.1.2") + ")"
if getattr(evt, "1.3.6.1.4.1.15181.11.4.1.1.15") == "CLEAR":
    evt.severity = 0


Btw, cluther, you can get around the formatting loss in phpBB by using [code] 
tags, as seen above.




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

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

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



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to