How to Compile IIS MIB Files (143176)



The information in this article applies to:

  • Microsoft Internet Information Server 1.0

This article was previously published under Q143176
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

SUMMARY

Internet Information Server (IIS) contains four Management Information Base (MIB) files. You can compile the four MIB files with the existing MIB files using MIBCC.EXE in Windows NT.

MORE INFORMATION

The following MIB files are available in IIS CD-ROM in the SDK directory:
   INETSRV.MIB    ( InetSrvCommon )
   FTP.MIB        ( FtpServer )
   GOPHERD.MIB    ( GopherServer )
   HTTP.MIB       ( HttpServer )
				

To compile a Simple Network Management Protocol (SNMP) Management Information Base (MIB) file with the Windows Internet Name Service (WINS) and Dynamic Host Configuration Protocol (DHCP) MIB files, use MIBCC.EXE (included in the Windows NT Resource Kit version 3.5). For example:
   MIBCC -oOUT.BIN SMI.MIB LMMIB2.MIB MIB_II.MIB WINS.MIB DHCP.MIB
   INETSRV.MIB FTP.MIB GOPHERD.MIB HTTP.MIB
				

The order of the MIB files is important. In this example, you need to copy OUT.BIN to MIB.BIN and place it in the %SYSTEMROOT%\SYSTEM32 directory. If you compile without the -o option, MIBCC.EXE overwrites the MIB.BIN file that is already in your %SYSTEMROOT%\SYSTEM32 directory.

To print each node as it is added, and print the MIB tree when finished, compile with -n and -t, respectively. For example:
   MIBCC -n -oOUT.BIN -t SMI.MIB LMMIB2.MIB MIB_II.MIB WINS.MIB DHCP.MIB
				

Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kbhowto kbnetwork KB143176