The MIBBrowser component is used to parse SNMP MIB Module definitions.
The MIBBrowser component allows easy loading and querying of definitions in the SNMP Management Information Base (MIB) specifications.
The LoadMib method allows loading of MIB modules, which get stored in an internal tree structure for further queries.
If modules reference (import) other modules, recursive loading of modules is performed automatically and/or controlled by the ImportSymbols event.
The MIB tree is navigated through the SelectNode method, which enables pointing to a node in the tree specified by NodeOid and NodeLabel. Other node information is provided through the NodeModuleName, NodeFileName, NodeSyntax, NodeType, and NodeAccess properties.
The node selector parameter in SelectNode can be a label such as "internet", an OID such as "22.214.171.124", a combination of the two: "iso.3.dod.internet", or a label in a particular module such as "RFC1213-MIB!interfaces".
The following is the full list of the properties of the component with short descriptions. Click on the links for further details.
|ExactMatch||Controls the way the OID matching is done (complete or partial).|
|NodeAccess||The access permissions for the selected node.|
|NodeDescription||Textual description of the selected node.|
|NodeFileName||The absolute path of the file where the selected node is declared.|
|NodeFullLabel||The full label of the selected node.|
|NodeIndex||The index of the node in a table.|
|NodeLabel||The label of the selected node.|
|NodeModuleName||The name of the module where the selected node is declared.|
|NodeOid||The Object ID of the selected node.|
|NodeSubId||The SubId of the currently selected node.|
|NodeSyntax||The syntax of the selected node.|
|NodeSyntaxString||The node syntax of the selected node in text format.|
|NodeType||The type of the selected node.|
|NodeTypeString||The node type of the selected node in text format.|
The following is the full list of the methods of the component with short descriptions. Click on the links for further details.
|Config||Sets or retrieves a configuration setting.|
|ListChildren||Lists the immediate children of the selected node.|
|ListSuccessors||Lists all successors of the selected node.|
|ListTraps||Lists all the traps defined in the loaded modules.|
|LoadMib||Parses the file FileName and adds the parsed nodes to the collection of existing nodes.|
|Reset||Reset all properties of the component.|
|SelectNode||Used to select individual nodes in the loaded MIB module(s).|
The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.
|Error||Errors that occur while loading/parsing MIB modules are fired through this event.|
|ImportSymbols||List of imported symbols and the respective modules where they are declared.|
|MibNode||This event fires once for every child or successor of the currently selected node when invoking ListChildren or ListSuccessors .|
|TrapNode||Lists module trap information.|
The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.
|AutoLoadMibs||Determines whether imported MIB modules are loaded automatically.|
|CacheDescriptions||Controls caching of Node descriptions.|
|CacheMibs||Controls MIB module caching.|
|CheckNoKnownRoots||Controls whether or not the component fails when a file with no known root is loaded.|
|DisplayHint||The DISPLAY-HINT property for the current node.|
|MibExtensions||Controls the file extensions that the component will search for.|
|NodeIsColumnar||Whether the current node is columnar.|
|NodeIsScalar||Whether the current node is scalar.|
|ReleaseTempNodes||Will release any temporary nodes stored by the component.|
|ReturnEnumValues||Comma-separated list of the current node's enumeration textual-conventions.|
|UndefinedSymbols||Comma-separated list of nodes that have not been resolved.|
|BuildInfo||Information about the product's build.|
|CodePage||The system code page used for Unicode to Multibyte translations.|
|LicenseInfo||Information about the current license.|
|UseInternalSecurityAPI||Tells the component whether or not to use the system security libraries or an internal implementation.|