Child pages
  • What MIB modules are already built-in SNMP4J-SMI?
Skip to end of metadata
Go to start of metadata

Problem

MIB files do not compile because of missing imported MIB files or with missing object definitions from standard SMI MIIBs. 

Solution

SNMP4J-SMI and SNMP4J-SMI-PRO provide built-in MIB modules (see table below) that are part of the SMIv1 and SMIv2 specifications.

Although you could compile your own versions of those MIB modules, it is strongly recommended to never compile your own versions for the following reasons:

  1. The original MIB specifications of those modules are written in ASN.1 and not SMI because those MIB modules are meant to define SMI. Thus, those MIB modules boot the SMI standard using ASN.1. A SMI compiler will and should not be able to compile them properly.
  2. In the World Wide Web there exists many versions of those MIB modules which were modified in many ways - often to circumvent (1) but also to add company specific "extensions" or modifications. Any of those generally prohibit a successful compilation of other MIB modules that expect clean standard versions.

The built-in MIB modules of SNMP4J-SMI and SNMP4J-SMI-PRO are:

SMIv1SMIv2
RFC1155-SMISNMPv2-SMI
RFC-1212SNMPv2-CONF
RFC-1215SNMPv2-TC