Configure MIB for Solaris

For SNMP MIB functionality to work on your Solaris system, the SNMP Service must first be configured, and the ColdFusion Server 5 installation must include the MIB option. For details about installing ColdFusion Server 5, refer to the book Installing and Configuring ColdFusion Server.

 

After ColdFusion Server 5 installation, if you want to get ColdFusion runtime statistics, display the Debug Options page of the ColdFusion Administrator and activate the Enable Performance Monitoring option. Restart the ColdFusion Server after 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 simply modify the content of /usr/lib/btcats/database/mib.properties file. 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 process by entering the following command:

    /etc/init.d/init.snmpdx stop
    kill -9 <the pid of the allaire_mibd process>

     

  2. In the file /etc/snmp/conf/allaire_mib.acl, find the following code:

    trap = {
    {
    trap-community = public
    hosts = localhost
    {
    enterprise = "allaire"
    trap-num = 1, 2, 3, 4
    }
    }
    }


    Change localhost to point to the servers that are to receive trap messages from the local host. If there are two or more machines to receive the traps, the line should be in  the format:

    hosts = host1, host2

    The machine names must be valid on your network. For example, you must be able to ping them from the local host. If the machine names are invalid, the MIB will not work correctly and the MIB log file will grow large. It is not valid to delete or comment out the trap section of allaire_mib.acl.

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

  3. Start the SNMP process by entering the following command:

    /etc/init.d/init.snmpdx start  

Related topics