...
Code Block |
---|
lang | xml |
---|
title | Polling (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 |
---|
lang | xml |
---|
title | Trap consumer endpoint |
---|
|
<snmp:trap-consumer service="test:mySNMPService"
endpoint="trapConsumerEndpoint"
targetService="test:myProcessor"
address="udp:192.168.2.122/162" />
|
Consumer Endpoint (Polling)
...
Info |
---|
title | Poller endpoint attributes |
---|
borderStyle | solidbgColor='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 |
---|
title | Poller endpoint attributes |
---|
borderStyle | solidbgColor='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)
...