Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

Using a Proxy SNMP Agent (UNIX)

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 Proxy Server master agent. Before you start, be sure to stop the native master agent. See your system documentation for detailed information.


Note –

To use a proxy agent, you must install it and then start it. You will also have to restart the native SNMP master agent using a port number other than the one the Proxy Server master agent is running on.


This section includes the following topics:

Installing the Proxy SNMP Agent

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:

ProcedureTo install the Proxy SNMP Agent

  1. Install the SNMP master agent.

    See Installing the SNMP Master Agent.

  2. Install and start the proxy SNMP agent and restart the native SNMP daemon.

    See Using a Proxy SNMP Agent (UNIX).

  3. Start the SNMP master agent.

    See Enabling and Starting the SNMP Master Agent.

  4. Enable the subagent.

    See Enabling the Subagent.

    To install the SNMP proxy agent, edit the CONFIG file, located in plugins/snmp/sagt in the server root directory. Add the port that the SNMP daemon will listen to. This file should also include the MIB trees and traps that the proxy SNMP agent will forward.

    The following example shows a CONFIG file.


    AGENT AT PORT 1161 WITH COMMUNITY public
    SUBTREES       1.3.6.1.2.1.1, 
                   3.6.1.2.1.2,
                   1.3.6.1.2.1.3,
                   1.3.6.1.2.1.4,
                   1.3.6.1.2.1.5,
                   1.3.6.1.2.1.6,
                   1.3.6.1.2.1.7,
                   1.3.6.1.2.1.8
    FORWARD ALL TRAPS;

Starting the Proxy SNMP Agent

To start the proxy SNMP agent, at the command prompt, type:

# sagt -c CONFIG&

Restarting the Native SNMP Daemon

After starting the proxy SNMP agent, restart the native SNMP daemon at the port you specified in the CONFIG file. To restart the native SNMP daemon, at the command prompt, type

# snmpd -P port-number

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, you would type:

# snmpd -P 1161