Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
langxml
titlePolling (consumer) endpoint
<snmp:poller service="test:mySNMPService"
             endpoint="pollerEndpoint"
             targetService="test:myProcessor"
             period="10000"
             address="udp:192.168.2.122/161"
             oids="classpath:myOIDList.txt" />
Code Block
langxml
titleTrap consumer endpoint

<snmp:trap-consumer service="test:mySNMPService"
             endpoint="trapConsumerEndpoint"
             targetService="test:myProcessor"
             address="udp:192.168.2.122/162" />

Consumer Endpoint (Polling)

...

Info
titlePoller endpoint attributes
borderStylesolidbgColor='lighblue'

Name

Description

protocol

the protocol to use (udp / tcp)

ip-address

the ip address of the device to poll from

port

the port number

 
 

Trap Consumer Endpoint

The trap consumer endpoint waits for incoming SNMP messages.

Info
titlePoller endpoint attributes
borderStylesolidbgColor='lighblue'

Name

Type

Description

Default

address

String

the address to use for snmp connection

null (must be spec'd)

marshaler

class

org.apache.servicemix.snmp.marshaler.SnmpMarshalerSupport

DefaultSnmpMarshaler

 
 

Provider Endpoint (Sending)

...