Child pages
  • How to use SNMP4J-SMI with SNMP4J?

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Maven infos


The integration of SNMP4J-SMI in SNMP4J is very easy and complete. If you create an OID or Variable value from a String value or converting them using the toString() or format() methods, SNMP4J-SMI will parse and format the values as human readable object names and value combinations on-the-fly.


titleSNMP4J Maven Repository

To include SNMP4J-SMI-PRO


The following snippet adds the dependency to SNMP4J-SMI-PRO. The classifier is important to get all necessary since version SNMP4J-SMI-PRO 1.9.1 to include any transient dependencies into your build:

Code Block

in your Maven build, you need to add the SNMP4J Maven repository to your .m2/settings.xml file as shown below.

Code Block
titleMaven Repository Definition
          <name>SNMP4J Releases</name>

Code Block
titleMaven Dependency for pom.xml

Integrating SNMP4J-SMI into SNMP4J