Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-612

SNMP Trap Reception Endpoint patch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • servicemix-snmp-2009.01
    • servicemix-snmp-2009.02
    • servicemix-snmp
    • None
    • Patch Available

    Description

      The attached patch contains a new endpoint (called "trapReceiver") that receives traps from a device.

      To configure the endpoint you must specify the address to use for snmp connection. The port must be 162, since that is the one used by SNMP to receive trap PDUs.

      You can also specify a marshaler to process incoming traps. If no marshaler is specified, then the DefaultSnmpMarshaler will be used.

      The endpoint configuration looks like this:

      <snmp:trapReceiver service="test:trapReceiver"
      endpoint="trapReceiver"
      targetService="test:receiver"
      listenAddress="udp:127.0.0.1/162">
      <property name="marshaler">
      <bean class="com.mycompany.MySNMPMarshaler" />
      </property>
      </snmp:trapReceiver>

      Attachments

        Activity

          People

            jb@nanthrax.net Jean-Baptiste Onofré
            gperdiguero Gema Perdiguero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: