...
Name | Description |
---|---|
| The type of action you want to perform. Actually you can enter here |
| This is the IP address and the port of the host to poll or where to setup the Trap Receiver. Example: |
| Here you can select which protocol to use. By default it will be |
| Defines how often a retry is made before canceling the request. (Default: |
| Sets the timeout value for the request in millis. (Default: |
| Sets the snmp version for the request. (Default: |
| Sets the community octet string for the snmp request. (Default: |
| Defines the delay in seconds between to poll cycles. (Default: |
| Defines which values you are interested in. Please have a look at the Wikipedia to get a better understanding. You may provide a single OID or a coma separated list of OIDs. Example: oids="1.3.6.1.2.1.1.3.0,1.3.6.1.2.1.25.3.2.1.5.1,1.3.6.1.2.1.25.3.5.1.1.1,1.3.6.1.2.1.43.5.1.1.11.1" |
...
Code Block |
---|
snmp:192.168.178.23:161?protocol=udp&type=POLLpoll&oids=1.3.6.1.2.1.1.5.0 |
Setting up a trap receiver (Note that no OID info is needed here!):
Code Block |
---|
snmp:127.0.0.1:162?protocol=udp&type=TRAPtrap |
Routing example in Java: (converts the SNMP PDU to XML String)
Code Block |
---|
from("snmp:192.168.178.23:161?protocol=udp&type=POLLpoll&oids=1.3.6.1.2.1.1.5.0"). convertBodyTo(String.class). to("activemq:snmp.states"); |
...