Skip to content
Snippets Groups Projects
Commit 3c7c4b5b authored by Taya Snijder's avatar Taya Snijder
Browse files

added readme

parent f3c0626c
No related branches found
No related tags found
1 merge request!288Resolve L2SS-446 "Extend snmp client to support mib files"
#MIB Compiler
The MIB compiler script 'compiles' .mib files to a custom python representation that pysnmp can load immediately.
In order to compile scripts there must be a valid mib file in the source directory as well as any potential imported files.
You can find out which mib files need to be imported by opening the file and looking at the `IMPORTS` section, where imported mib files are listed. These mibs may also have subsequent mib files that need to be imported. Alternatively these imports may also be found in the verbose debug log.
`--mibs`: A list of mib files that need to be compiled.
`--destination`: The output folder for the compiled mibs. This argument is optional. The default destination folder is `~/output_pymibs`
`--source`: The source folder from where the mib files are sourced. This argument is optional. The default source folder is `~/mibs`
`--debug`: enable verbose debugging. Useful for figuring out errors.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment