Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5270

Add community and peer address of SNMP TRAP PDUs to camel-snmp header

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0
    • 2.10.0
    • camel-snmp
    • None
    • Patch Available
    • Novice

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            njiang Willem Jiang
            jbarber Jonathan Barber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment