Search: 
Available in: SNMPV3
MibBrowser Component [IP*Works! S/SNMP V6]

Properties   Methods   Events   Configuration Settings  

The MIBBrowser component is used to parse SNMP MIB Module definitions.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

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 "1.3.6.4", a combination of the two: "iso.3.dod.internet", or a label in a particular module such as "RFC1213-MIB!interfaces".

Node children and successors are provided by the ListChildren and ListSuccessors methods. The individual node information is provided via the MibNode event.

Module traps are listed via the ListTraps method. The individual trap information is provided through the TrapNode event.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for complete descriptions.

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.
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.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for complete descriptions.

Config Sets or retrieves a component 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.
SelectNode Used to select individual nodes in the loaded MIB module(s).

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for complete descriptions.

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 or .
TrapNode Lists module trap information.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for complete descriptions.

AutoLoadMibs Determines whether imported MIB modules are loaded automatically.
CacheDescriptions Controls caching of Node descriptions.
CacheMibs Controls MIB module caching.
CodePage The system code page used for Unicode to Multibyte translations (Windows/COM only).
MibFolder The location where the MibBrowser looks for imported modules.
UndefinedSymbols Coma separated list of nodes that have not been resolved.

| About | Privacy Policy | Terms of Use |
© Copyright 2008 /n software inc.