I cannot recommend the Zenoss book enough here - it goes over each of
these fields. You want to use the transform for python code. I would
quote the book, but I'm not sure of copyright issues, so I'll paraphrase
(hopefully legal):
Rule is a python expression to match the mapping rule to an event (you
can have several mappings that might match, this narrows it down I believe)
Regex is a different way to match for a mapping, uses Regular Expressions...
Transform uses TALES expressions to change the event (seems like python
code to me, but I'm not well versed in python or TALES, so far I've just
manipulated posted examples to do what I want).
Resolution - this is a little vague even in the book, I think it's just
a descriptive field for the end user getting the event(or alert from the
event) saying how to fix the problem. Either that or it's another place
you can put in what clears the event automatically.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
martonem wrote:
Can someone enlighten me on what the differences are for each of the entries in
the event class mapping? Also, whether they require Python expressions, TALES,
or some other format....
Rule - Does this determine whether the event gets entered into the console?
What is it matching against? What type of code?
Regex - I know what a regex is - but is this to match or modify? When and how
is it normally used?
Transform -
Allows you to modify any of the event detail fields based on code/expression results - correct?
Resolution - I have no idea what this is... Is this for auto-correlation or
soemthing else?
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=23365#23365
-------------------- 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