Giter VIP home page Giter VIP logo

opennms-mib2conf's Introduction

OpenNMS-Mib2Conf

A command line tool to compile MIBs using Mibble to generate Event definitions based on SNMP Traps, or Data Collection Group files based on scalar and tabular metrics found on the MIB.

WARNING: This is still under development.

Compilation

gradle fatJar

The generated JAR with dependencies should be available on the ./build/lib/ directory.

As latest JARs from Mibble are not available on Maven central. The ./lib directory contains those JARs and are packaged with the rest of the dependencies on a single JAR to execute the CLI compiler.

Usage

$ java -jar build/libs/mib2conf-all-1.0.jar -h
Usage: mib2conf [-hV] -m=mib [-t=target]
  -h, --help            Show this help message and exit.
  -m, --mibFile=mib     Path to the MIB file
                        Dependencies should be on the same directory
  -t, --target=target   Target Configuration: events, dataCollection
                        Default: events
  -V, --version         Print version information and exit.

The mibs directory contains multiple core MIBs and several sample MIBs to help you compile your own. The idea is copy your new MIB there, and try to compile it. If more dependencies are needed, find and download those dependencies, and copy them to that folder as well.

Future Enhancements

  • Implement a name cutter for the MibObj aliases. For this, do it after generating the configuration, in order to have a common preffix for all the aliases on the same group, and then cut the names based on a common prefix to make the aliases more readable, which is the problem with the current implementation.

opennms-mib2conf's People

Contributors

agalue avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.