GENSNMPDEF(1)

NAME
gensnmpdef - generate a MIB description file from MIBs

SYNOPSIS
gensnmpdef [-h] [-c cut] name [...]

DESCRIPTION
The gensnmpdef utility is used to create an initial MIB description file from one or more MIBs. The description file must be edited to be actually useful for feeding it into gensnmptree(1).

The -c option specifies the number of initial sub-oids that should be omitted from the tree. gensnmptree(1) automatically adds 1.3.6 in front of all OIDs so the default value of 3 is just correct in most cases.

gensnmpdef does no attempt on sorting the OID tree so in case of complex and non-standard MIBs it is necessary to sort the tree in the resulting definition file by hand.

SEE ALSO
snmpd(1)

AUTHORS
Hartmut Brandt <harti@freebsd.org>

BUGS
The utility is by no means bullet-proof and may fail for complex or non-standard MIBs. Its output is expected to be edited by hand.