SNMP Trap Reception Endpoint patch
----------------------------------

                 Key: SMXCOMP-612
                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-612
             Project: ServiceMix Components
          Issue Type: Improvement
          Components: servicemix-snmp
    Affects Versions: servicemix-snmp-2009.01
            Reporter: Gema Perdiguero
             Fix For: servicemix-snmp-2009.02


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>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to