Jonathan Barber created CAMEL-5270:
--------------------------------------
Summary: Add community and peer address of SNMP TRAP PDUs to
camel-snmp header
Key: CAMEL-5270
URL: https://issues.apache.org/jira/browse/CAMEL-5270
Project: Camel
Issue Type: Improvement
Components: camel-snmp
Affects Versions: 2.10.0
Reporter: Jonathan Barber
Attachments: snmp-peer-and-community.patch
A patch is included to add the community and peer address of SNMP traps that
are received by camel. This is useful to determine where a trap originated
from, as not all SNMPv2 traps include an OID that identifies the sender.
The information is placed in the message header as strings with names:
securityName
peerAddress
These names correspond to the accessor names in the snmp4j API for the
CommandResponderEvent class. securityName is not the correct name for SNMP v1/2
traps, but it's probably better to stick with a name that can be consistant
between SNMP versions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira