feldman wrote:
> Ok, I reinstalled zenoss and now, the event command is mapping : result is 
> echoed on a local file.....great!!
> 
> Nevertheless, the event mapping is not functionning. Even if i try such a 
> command :
> evt.summary="toto", when I echo the summary, I obtain the previous summary 
> "threshold of size exceeded: current value 543.00".
> 
> This is what I have done:
> Threshold launches a Perf/Filessystem event...
> 
> In Events/Perf/FileSystem, I create a new Event Class Mapping called "size" 
> with EventClass Key ="size"
> 
> Sequence is = 0
> 
> and transform = evt.summary = "toto" or evt.summary=evt.message.split()[6]
> 
> But the mapping is not working....
> 
> What happens?


I am actually not sure how the EventClass Mappings work exactly and I am not 
using one in this case.

I am adding the transform at the Event Class level. When you go to 
/Perf/FileSystem and click on the drop-down next to 'Classes' you find a 
transform that will run on any event with that Event Class.
Put the line of code there and you should get the result you're after.

You should be able to get it to work with an EventClass Mapping as well, but I 
am not sure how that works ..

HTH,
Jay




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

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

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



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

Reply via email to