Hi,
as i have a problem with event mappings (see:
http://community.zenoss.com/forums/viewtopic.php?t=6099)
i thought of trying it with an event transform.
and, as i'm pretty much an absolut beginner in python i tried it like this:
- go to Events -> Unknown
- select More -> Transform
- entered the following:
if evt.component == '/usr/local/sbin/openser' and evt.severity != 0:
evt.severity = 1
- hit save
this ain't working.
even restarted zenoss, with no effect.
i tried:
if evt.component == '/usr/local/sbin/openser' and evt.severity != 0:
evt.summary = "test"
just to see is it does anything, but no effect either.
is there a tutorial with working! examples (sorry, could not find anything with
the search function)
thanks for your help!
Michael
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=20579#20579
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users