Discussion:
can zenoss event viewer show separate instances of same evid?
Liam Carey
2013-06-18 02:10:10 UTC
Permalink
Liam Carey [http://community.zenoss.org/people/liam_94609] created the discussion

"can zenoss event viewer show separate instances of same evid?"

To view the discussion, visit: http://community.zenoss.org/message/73640#73640

--------------------------------------------------------------
We have CA Autosys sending out snmptraps with same evid, but with different names of Jobs which have failed.

Can these be shown separately in the event console and treated as separate events which can be closed, acknowledged, etc?


Regards
Liam Carey
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73640#73640]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Rob Eagle
2013-06-18 12:56:47 UTC
Permalink
Rob Eagle [http://community.zenoss.org/people/reagle] created the discussion

"Re: can zenoss event viewer show separate instances of same evid?"

To view the discussion, visit: http://community.zenoss.org/message/73661#73661

--------------------------------------------------------------
Liam,
Can probably use a transform like referenced in Jane's Event Management paper (sec 9.6):
for attr in evt.details._map.keys():
     if attr.startswith('enterprises.123'):
          evt.myRestOfOID=attr.replace('enterprises.123.','')
          evt.myFieldValue=' '.join(list(evt.details.getAll(attr)))
          evt.summary = (evt.summary + “ “ + evt.myFieldValue)
or grab interesting attributes (event detail) from the trap individually by:
+myInterestingAttrName+ = getattr(evt,"+EventAttributeNameIWant+")

Can make events unique by setting an event key to the event in the same transform, ie:
evt.eventKey = +myInterestingAttrName ++ +myInterestingAttr2Name+
--Rob+
+
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73661#73661]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Liam Carey
2013-06-19 02:23:32 UTC
Permalink
Liam Carey [http://community.zenoss.org/people/liam_94609] created the discussion

"Re: can zenoss event viewer show separate instances of same evid?"

To view the discussion, visit: http://community.zenoss.org/message/73670#73670

--------------------------------------------------------------
Perfect - this also addresses an issue we were seeing with simultaneous traps not sending out the expected notifcation.

Thanks!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73670#73670]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...