Maintenance and Troubleshooting << >>

MIB Installation for Microsoft Exchange Server

Windows NT Server includes an SNMP agent that can respond to SNMP requests by accessing MIBs in the Mib.bin file. To enable Microsoft Exchange Server to support SNMP, you must install the MIB for the Microsoft Exchange Server computer (Exchange.mib) on your server in the Mib.bin file.

Microsoft Exchange Server provides a compiled version of Exchange.mib that you can install by running a batch file. If you've already configured extension MIBs on your server, you must use other tools included on the Microsoft Exchange Server compact disc to install Exchange.mib instead of the batch file.

Important    Before you install SNMP support for Microsoft Exchange Server, the Windows NT SNMP service must already be installed. To install the Windows NT SNMP service, from Control Panel, choose Network. After you install the service, you must reinstall the Windows NT Service Pack 3.

Using the Batch File

If you have not installed any MIBs on your server other than those included with Windows NT, run the batch file included on the Microsoft Exchange Server compact disc.

Using Perf2mib.exe and Mibcc.exe

Microsoft Exchange Server includes tools that you can use to install SNMP support. You can use Perf2mib.exe to compile Performance Monitor counters into a new MIB for Microsoft Exchange Server. Mibcc.exe recompiles the Perfmib.mib file created by Perf2mib.exe and creates a new Mib.bin file.

You should use Perf2mib.exe and Mibcc.exe to add Exchange.mib to Mib.bin in the following cases.

These tools are available on the Microsoft Exchange Server compact disc in the Support\Snmp\platform directory and in the Windows NT Resource Kit. For more information about using these tools, see the Windows NT Resource Kit.

The following procedure describes how to use Perf2mib.exe and Mibcc.exe.

  1. At the command prompt, run the Perf2mib command to create the Perfmib.mib and Perfmib.ini files, for example:
  2. Perf2mib Perfmib.mib Perfmib.ini MSExchangeMTA 1 MTA "MSExchangeMTA Connections" 2 "MTA Connections" MSExchangeIMC 3 IMS <counter name> <index> <description>
    where counter name, index, and description are additional Performance Monitor counters you want to make available in the MIB.
  3. Run the Mibcc command to create Mib.bin.
  4. Mibcc -Omib.bin -n -t -w2 Smi.mib LMMIB2.MIB Mib_II.mib 
  5. Copy Perfmib.dll, Perfmib.ini, and Mib.bin to the System32 subdirectory.

  6. Run the regini command to set up the registry with the values to support the performance MIB.
  7. regini perfmib.reg
  8. Restart the SNMP service by choosing Services from the Control Panel.