Patrick vL
2013-11-13 10:42:21 UTC
Patrick vL [http://community.zenoss.org/people/PatrickvL] created the discussion
"trap event transform; add to multiple components"
To view the discussion, visit: http://community.zenoss.org/message/75234#75234
--------------------------------------------------------------
We have a switch that is configured to send traps to the Zenoss machine. It is an old switch that sends one trap that contains information about more than one port. Say for example if the link of two ports goes down roughly at the same time than one trap is sent containing information about these two ports.
The trap shows up as an event. I used an event class mapping to transform the O.I.D.s to readable text. Normally I also set the evt.component field to the port information in the trap. How can I do that if multiple ports are given in one trap? I know that evt.component is a 'str' so it can only hold the id of one component, right? Is it possible to split the trap event into multiple events? Any other ideas?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75234#75234]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"trap event transform; add to multiple components"
To view the discussion, visit: http://community.zenoss.org/message/75234#75234
--------------------------------------------------------------
We have a switch that is configured to send traps to the Zenoss machine. It is an old switch that sends one trap that contains information about more than one port. Say for example if the link of two ports goes down roughly at the same time than one trap is sent containing information about these two ports.
The trap shows up as an event. I used an event class mapping to transform the O.I.D.s to readable text. Normally I also set the evt.component field to the port information in the trap. How can I do that if multiple ports are given in one trap? I know that evt.component is a 'str' so it can only hold the id of one component, right? Is it possible to split the trap event into multiple events? Any other ideas?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75234#75234]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]