Moogsoft Docs

Mibparser Command Reference

T his is a reference for parsing MIBs . The Mibparser command-line utility accepts the following arguments:

Argument
Input
Description
-c, --mib2lam <arg> String <path> Print a JSON file of the trap tree. This file can be used by the Mib2lam utility.
-h,--help
-

Display the M ibparser utility syntax and option descriptions.

-i, --inputDir <arg> String <path> Full path of the directory containing the unparsed MIB files. Defaults to $MOOGSOFT_HOME/etc/mibs .
-l,--loglevel <arg> DEBUG | INFO | WARN | FATAL Log level controlling the amount of information that Mibparser logs. Defaults to WARN.
-m,--merge <arg> String <path> Path of an existing JSON file you want to import and parse.
-o,--output <arg> String <path> Path for mibparser to export any successfully parsed JSON files.
-p,--print <arg> String <path> File path for Mibparser to export a finalized and resolved Object Identifier (OID) tree.
-s,--singleThreaded - Determines whether Mibparser parses MIB files using a single thread.
-v,--version - Display the version information for Mibparser.