Are these being mapped to /Unknown? I had an issue yesterday with only
the transform of the mapping an event went to being applied.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
jcurry wrote:
> Chet wrote:
>
> It is possible to do this using an event class transform on the /
> Unknown event class. Go to the /Unknown event class and choose More ->
> Transform from its menu. The following is an example of a transform
> that will change the default trap severity to Error for devices in /
> MyGroup. The forum tends to kill formatting so be aware that the
> second line should be indented 4 spaces.
>
> if evt.agent == "zentrap" and evt.DeviceGroups.find('/MyGroup') >= 0:
> evt.severity = 4
>
> -------------
> I have Zenoss 2.2.4. I have created a transform on the class /Unknown. I
> have checked that /Unknown has no event mappings (with or without transforms)
> to confuse matters. I now have my agent pared down to :
>
> if evt.agent == "zentrap"
> evt.summary="gotcha"
>
> No works.
>
> I have also tried modifying zProperties for the /Unknown event class
> (changing severity and/or drop to history).
> No works.
>
> I have used the following in zendmd to look for events with transforms:
> for ec in dmd.Events.getSubOrganizers():
> if ec.transform:
> print ec.getOrganizerName()
>
> It shows 2 classes for which I have created class transforms but NOT /Unknown.
>
> Does anyone have this working on a 2.2.4 stack build (Suse 10.3)??
>
> Cheers,
> Jane
>
>
>
>
> -------------------- m2f --------------------
>
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=27954#27954
>
> -------------------- 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