Create custom SNMP Manager, Trap and Agent applications for monitoring and controlling network devices.

SnmpMib Object



Use the SnmpMib object to easily load external MIB files and cross-reference OID information. Features include:
  • Supports SNMP versions 1 and 2.
  • Reads MIB files and compiles them into easy-to-use objects.
  • No knowledge of SNMP MIB formats required.


Development Environments

  • Visual Studio .NET (.NET Framework)
  • Visual Basic (VB)
  • Visual C++ (VC++)
  • FoxPro
  • PowerBuilder
  • Delphi
  • C++ Builder
  • ASP
  • Office 97/2000



Public Properties
Modules Collection of loaded module names.
Name Returns a human readable name given an OID.
Oid Returns an OID given a human readable name.
Traps Collection of SnmpTrap Objects.
Variables Collection of SnmpVariable Objects included in the message.
Public Methods
Compile Load and compile a group of .mib files into an SNMP MIB object.
Load Load a MIB module from a file, or load a serialized group of MIBs from a binary file.
RemoveTable Removes all OIDs dependent on the specified OID.

Code Example

How easy is the MIB Object to use? Check out the following VB example below, which demonstrates cross-referencing a MIB object when receiving a trap to display a description of the trap.

Dim Message As SnmpMessage
Dim Trap As SnmpTrap
Dim Mib As SnmpMib
Dim Packet() As Byte

Mib.Load "c:\MIBs\Dart.mib"
Udp1.Receive Packet
Message.Decode Packet

For Each Trap In Mib.Traps
   If Trap.Enterprise = Message.Enterprise Then
      If Trap.SpecificTrap = Message.SpecificTrap Then
         List1.AddItem Trap.Description
      End If
   End If