TECHZEN Zenoss User Community ARCHIVE  

event transforms not working - evt.device filed not updated

Subject: event transforms not working - evt.device filed not updated
Author: [Not Specified]
Posted: 2015-08-17 08:24

Hi Experts,

I am working on event transform to update my evt.device filed. Transform is as below. Zenoss Ver 4.2.5

if condition

device = getattr(evt, x.x.x.x.x)

ip = getattr(evt, y.y.y.y.y.y)

evt.device = "%s" % (device)
log.info("value of evt.device is ---> " + str(evt.device ))

evt.ipAddress= "%s" % (ipAddress)

log.info("value of evt.ipAddress is ---> " + str(evt.ipAddress ))

I can see the logging information captured with IP address and Device Name. But in event console in user interface all fields are blank

I guess its a BUG - http://jira.zenoss.com/jira/browse/ZEN-4883

Is this issue fixed or any workaround please.



Subject: this was fixed in 4.2.4, if
Author: Andrew Kirch
Posted: 2015-08-24 14:35

this was fixed in 4.2.4, if you're still seeing it in 4.2.5, upgrade to the latest ZUP. If you're still seeing it, file a bug, P1, S1, and mark it a regression.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
Need 'device in UP!' event.
  Next
Zenoss 4.2.5 having problem with error "Type: <type 'exceptions.KeyError'> " Val ...
>