Configure MIB for Windows

For SNMP MIB functionality to work on your Windows-based system, the SNMP Service must first be installed on your system, then the ColdFusion Server 5 installation must be run to include the MIB option. For details about installing or reinstalling ColdFusion Server 5, refer to the book Installing and Configuring ColdFusion Server.

 

After ColdFusion Server 5 installation, access the Debug Options page of the ColdFusion Administrator and make sure that the Enable Performance Monitoring option is selected. If this option is not selected, you cannot get ColdFusion runtime statistics. (Restart the ColdFusion Server if you change this option.)

 

If you want to use HTTPS, a different Web server name, or a different port to access the Web document root for ColdFusion MIB information, you can modify the contents of <installdir>/cfam/Database/mib.properties.

 

For example, this file usually contains a single entry, such as http://maine. In this example, maine represents the name of the local host, and http://maine represents the Web document root directory for the ColdFusion MIB information. To use HTTPS, a different Web document root (maine1) and port (459) simply edit the entry to https://maine1:459.

 

If you want to add additional hosts to receive trap messages, take these steps:

  1. Stop the SNMP service.

  2. For each system, such as a system with IP address 192.178.64.88, that is to receive trap messages from the local host, go to the local host's Registry key at:

    \\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\TrapConfiguration\public

    and add a value for each system in the following format:

    1:REG_SZ:192.178.64.88

    Make sure that the destination server, such as 192.178.64.88, is configured to receive traps from the specified community, such as public.

  3. Start the SNMP service.

 

Note: The book Windows NT SNMP by James D.Murray (O'Reilly) is a good reference on SNMP for Windows NT.

Related topics