jcurry
2013-03-12 09:16:03 UTC
jcurry [http://community.zenoss.org/people/jcurry] created the discussion
"Re: Need to update evt.ipAddress filed"
To view the discussion, visit: http://community.zenoss.org/message/72349#72349
--------------------------------------------------------------
Hi Gowrish,
You don't say what version of Zenoss your are on - is this 4.2.3???
The evt/ipAddress is aprt of "device context". There is currently a bug in 4.2.3 whereby if you update the evt.device field then Zenoss is SUPPOSED to look up the other device context fields (group, location, etc) in the database, but it ACTUALLY clears all these fields and leaves them blank. The bug is documented here - http://jira.zenoss.com/jira/browse/ZEN-4883 http://jira.zenoss.com/jira/browse/ZEN-4883 . It is supposed to be fixed by engineering but has not yet been released generally.
I suspect that this is what is causing your problem.
Can you get around it be creating your own event field - something like:
evt.MyIpAddress= "%s" % (ipAddress)
Cheers,
Jane
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72349#72349]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Re: Need to update evt.ipAddress filed"
To view the discussion, visit: http://community.zenoss.org/message/72349#72349
--------------------------------------------------------------
Hi Gowrish,
You don't say what version of Zenoss your are on - is this 4.2.3???
The evt/ipAddress is aprt of "device context". There is currently a bug in 4.2.3 whereby if you update the evt.device field then Zenoss is SUPPOSED to look up the other device context fields (group, location, etc) in the database, but it ACTUALLY clears all these fields and leaves them blank. The bug is documented here - http://jira.zenoss.com/jira/browse/ZEN-4883 http://jira.zenoss.com/jira/browse/ZEN-4883 . It is supposed to be fixed by engineering but has not yet been released generally.
I suspect that this is what is causing your problem.
Can you get around it be creating your own event field - something like:
evt.MyIpAddress= "%s" % (ipAddress)
Cheers,
Jane
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72349#72349]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]