Importing MIB data
How to import SNMP MIB data into MIB Manager.
Before you begin
In the Preferences window, specify locations for the MIBs that are regularly used by the vendor MIBs. Ensure your MIBs are located in vendor-specific directories, and that any associated equipment numbers are located in subdirectories. Also ensure that these directories do not contain any non-MIB text files. Most MIBs are installed into the NCHOME/omnibus/var/mibmanager/mibs/base directory, and all the RFC MIBs are installed in the NCHOME/omnibus/var/mibmanager/mibs/rfc directory.
The MIBs that you are importing might be dependant on other MIBs. To ensure that MIB Manager can search for dependant MIBs while performing the import, set the search path to the locations of the dependant MIB files.
Procedure
To import MIB data:
Results
The MIB Modules view refreshes automatically to show the newly imported MIB module names. The OID Tree view refreshes automatically to show all the newly imported MIB objects To rebuild the tree, MIB Manager searches the parent nodes of the tree (iso, ccitt, and joint-iso-ccitt) recursively for child nodes until it finds a child node that has no associated children. If no errors are detected, a fully populated MIB tree is displayed in the OID Tree view, which contains the parsed objects.
Clicking an object in the OID Tree view automatically displays the object in the MIB Modules view. The Details view displays detailed information about the selected object.
The imported MIB modules are stored in an xml file which represents the structure of that MIB module. The xml files are located in the NCHOME/omnibus/var/mibmanager/data directory.
If unresolved import statements are detected, contact the vendor responsible for the missing MIB or MIBs, add the missing file or files to the search path and repeat the import.
Vendors sometimes specify duplicate object names, or specify an object name that is identical to an object name specified in an RFC.
For
example, an object named system
is defined in module
SNMPv2-MI' with OID 1.3.6.1.2.1.1 and another object named system
is
defined in module WINDOWS-NT-PERFORMANCE, with OID 1.3.6.1.4.1.311.1.1.3.1.1.23.
Also, an object named sysDescr
is defined as system.1
in
module SNMPv2-MIB and another object named sysFileReadOperationsPerSec
is
defined as system.1
in module WINDOWS-NT-PERFORMANCE.
In this case, it is unclear which parent object the child objects
are associated with.
When an object with a duplicate parent name is located, MIB Manager attempts to find the parent that is defined in the same MIB module. In the previous example, this is WINDOWS-NT-PERFORMANCE. If neither of the parents are defined in the same MIB module, MIB Manager then searches to see if the parent is defined in other MIB modules on which the object is dependant. MIB Manager also identifies other MIB modules that reference the parent and selects the most commonly referenced parent name. However, this could result in an incorrectly populated MIB tree and incorrectly calculated OIDs. Therefore, each time MIB Manager finds a duplicate object name, it logs a warning and records the actions taken to resolve the duplication in a debug file.