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;