mix snmpkit.mib.compile (snmpkit v2.0.1)

Compiles MIB files or directories with the native compiler and prints the warnings the parser recorded (vendor constructs, bad literals, encoding).

mix snmpkit.mib.compile PATH [PATH ...] [options]

mix snmpkit.mib.compile priv/mibs
mix snmpkit.mib.compile DOCS-IF-MIB.mib -O priv/compiled

Options:

  • -O, --output - write the compiled MIBs (binary format) to this directory
  • -q, --quiet - only print failures and the summary

Exits with a non-zero status when any file fails to compile.