Skip to content

btisystems/mibbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mibbler

Introduction

Mibbler is a utility for generating Java representations of entities described in SNMP MIB files.

At a high level it parses a set of SNMP MIBs and in conjunction with some supplied metadata generates a Jar file that provides JavaBeans and Helper classes for interacting with SNMP Devices that conform to the MIB definitions supplied.

To leverage the Java Classes generated by Mibbler an additional jar file is required containing common SNMP code, further information on this jar can be found at snmp-core.

Mibble Jar

Mibble is currently not available through a Maven Repository, to simplify its use i've created a local repository and installed the jar on the filesystem to be used at build time. The command used to do this is outlined below.

 $ mvn deploy:deploy-file -Durl=file:./repo -Dfile=mibble-parser-2.9.3.jar -DgroupId=net.percederberg -DartifactId=mibble-parser -Dpackaging=jar -Dversion=2.9.3
 $ mvn deploy:deploy-file -Durl=file:./repo -Dfile=mibble-mibs-2.9.3.jar -DgroupId=net.percederberg -DartifactId=mibble-mibs -Dpackaging=jar -Dversion=2.9.3

For those wishing to download the full version of the software its available here.

Getting Started

The project includes an Hello World, this is located here. Third parties wishing to generate jars from SNMP Mibs should use this project as a starter.

The project also includes support for the following standard mibs:

  • RFCs
  • NET-SNMP
  • BTI 7000 Series

For parties wishing to use the common MIBS RFC or NET-SNMP they should include the dependencies generated by these projects rather than creating the output themselves separately.

For e.g.

    <dependency>
        <groupId>com.btisystems.mibbler.mibs</groupId>
        <artifactId>rfc</artifactId>
    <dependency>

Or

    <dependency>
        <groupId>com.btisystems.mibbler.mibs</groupId>
        <artifactId>net-snmp</artifactId>
    <dependency>

License

The utility itself uses the brilliant SNMP Mib Parser, Mibble developed by Per Cederberg. This parsing library is GPL code and as such the Mibbler generator code (used only at compile time, located in the autogen directory) is provided following the GPL License model.

The output generated by the utility has no dependency on Mibble and as such is Licensed separately following the Apache License, Apache 2.0.

About

Mibbler is a utility for generating Java representations of entities described in SNMP MIB files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages