table of contents
snmpc(1) | User Commands | snmpc(1) |
NAME¶
snmpc - SNMP MIB compiler frontend
SYNOPSIS¶
snmpc [options] file.mib | file.bin
DESCRIPTION¶
The snmpc program provides a way to run the SNMP MIB compiler of the Erlang system.
snmpc compiles an SNMP MIB file. See compile/1,2 for more information.
It can also be used to generate a header file (.hrl) with definitions of Erlang constants for the objects in the MIB. See mib_to_hrl/1.
Compiler options¶
The following options are supported (note that most of these relate to the compilation of the MIB file):
--help
--version
--verbosity verbosity
verbosity = trace | debug | log | info | silence
Defaults to silence.
--warnings | --W
--wae | --Werror
--o directory
--i Directory
This option can be present several times, each time specifying one path.
--il Directory
--sgc
--dep
--desc
--ref
--imp
--mi
--mc
--ac
--mod module
The name of all instrumentation functions must be the same as the corresponding managed object it implements.
--nd
--rrnac
With this option, all values greater than zero is allowed (>= 1). This means that the error will be converted to a warning.
By default it is not included, but if this option is present it will be.
SEE ALSO¶
erlc(1), compile, snmpc
erts 15.1.3 | Ericsson AB |