You need to use a proxy SNMP agent when you already have a native agent running, and you want to use continue using it concurrently with an Sun Java System Web Server master agent. Before you start, be sure to stop the native master agent. (See your system documentation for detailed information.)
To use a proxy agent, you will need to install and start it. You have to restart the native SNMP master agent using a port number other than the one the Sun Java System Web Server master agent is running on.
This section includes the following topics:
If an SNMP agent is running on your system and you want to continue using the native SNMP daemon, follow the steps in these sections
Install the SNMP master agent. See Installing the SNMP Master Agent.
Install and start the proxy SNMP agent, and restart the native SNMP daemon. See Using a Proxy SNMP Agent (UNIX/Linux).
Start the SNMP master agent. See Enabling and Starting the SNMP Master Agent.
Enable the subagent. See Enabling the Subagent.
To install the SNMP proxy agent, edit the CONFIG file (you can give this file a different name) located in plugins/snmp/sagt in the server root directory, so that this file includes the port that the SNMP daemon will listen to. It also needs to include the MIB trees and traps that the proxy SNMP agent will forward.
Here is an example of a CONFIG file:
AGENT AT PORT 1161 WITH COMMUNITY public SUBTREES 18.104.22.168.2.1.1, 22.214.171.124.2.1.2, 126.96.36.199.2.1.3, 188.8.131.52.2.1.4, 184.108.40.206.2.1.5, 220.127.116.11.2.1.6, 18.104.22.168.2.1.7, 22.214.171.124.2.1.8 FORWARD ALL TRAPS;
To start the proxy SNMP agent, at the command prompt, enter:
After starting the proxy SNMP agent, you need to restart the native SNMP daemon at the port you specified in the CONFIG file. To restart the native SNMP daemon, at the command prompt, enter the following command:
where port_number is the port number specified in the CONFIG file. For example, on the Solaris platform, using the port in the previously mentioned example of a CONFIG file, enter the following command:
# snmpd -P 1161