SNMPPage edited by Lars HeinemannSNMP ComponentAvailable as of Camel 2.1 The snmp: component gives you the ability to poll SNMP capable devices or receiving traps. URI format
snmp://hostname[:port][?Options]
The component supports polling OID values from an SNMP enabled device and receiving traps.
ExamplesPolling a remote device: snmp:192.168.178.23:161?protocol=udp&type=poll&oids=1.3.6.1.2.1.1.5.0 Setting up a trap receiver (Note that no OID info is needed here!): snmp:127.0.0.1:162?protocol=udp&type=trap Routing example in Java: (converts the SNMP PDU to XML String) from("snmp:192.168.178.23:161?protocol=udp&type=poll&oids=1.3.6.1.2.1.1.5.0"). convertBodyTo(String.class). to("activemq:snmp.states"); See Also
Change Notification Preferences
View Online
|
View Change
|
Add Comment
|
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
- [CONF] Apache Camel > SNMP confluence
