Issue with event class transform - Zenoss-Core-4.2.5-SUP-671

2 posts / 0 new
Last post
Mulliganv
Mulliganv's picture
Offline
Last seen: 3 months 6 days ago
Joined: 08/24/2016 - 09:47
Posts: 3
Issue with event class transform - Zenoss-Core-4.2.5-SUP-671

 

Migrating from 3.2 to 4.2.5 ( latest build). We have a transform we use alot to change the eventClass of an event based on device name etc. In 4.2.5 this does not work as expected.  The eventClass field does indeed get updated but the event itself remains in the original event class. If you drill down to the new target class the event is not visible. Also found that the tansfrom will update the eventClass field even if the new class specified does not exist

#from client - generate event using zensendevent
zensendevent -d testnode -p test -k test -s Error -c /Perf/ORCA  --server=x.x.x.60 "Test message"

#Zenoos - under class /Perf/ORCA the following transform exists

if evt.device.startswith("test") :
    evt.eventClass="/Suppressed"


# /Suppressed exists and the event is updated, but when I drill to new class the event is not listed, but remains listed under original /Perf/ORCA - the message detail also shows the new class. If I run the transform to set eventClass to a non existing class it will also update the event, but drilling fails as expected as class does not exist. 

 

Jcurry
Jcurry's picture
Offline
Last seen: 1 day 11 hours ago
Joined: 01/02/2014 - 13:04
Posts: 391
Logged as a bug on JIRA - 

Logged as a bug on JIRA -  https://jira.zenoss.com/browse/ZEN-26504 

Cheers,

Jane

Log in to post comments