Yup - exactly that.  The event maps to  /Unknown but the class transform 
doesn't work.  I've done a bit more digging since...
1) I find any modifications to the event class transform don't "take" with the 
Save button.  I've had to either recycle all the Zenoss daemons or, using 
zendmd, use:
dmd.Events.reIndex()
commit()

You can see what the database thinks is in the transform with:
for ec in dmd.Events.getSubOrganizers():
    if ec.transform:
         print ec, ec.getOrganizerName(), ec.transform

After a reIndex it gets the changes; before it doesn't

2) To make sure my transform isn't buggy, I have cut and paste it into an event 
class mapping for a different Event Class - it works fine there.

3) Also tried changing my /Unknown transform to a single line that changes 
evt.summary.  If I test with the AddEvent dropdown and just specify message, 
device and class then the transform works but it does NOT transform any "real" 
events coming in with the /Unknown class.

Cheers,
Jane




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

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

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



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

Reply via email to