[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Installing and Using the Net-SNMP Agent in an SRC Environment

The SRC software distribution includes a prepackaged integration for the Net-SNMP agent. For information about using the Net-SNMP master agent in an SRC environment, see:

Installing the Net-SNMP Agent

Before you install the Net-SNMP agent, you must install the Python Runtime Environment (UMCpython and UMCpyadd packages) and disable all other SNMP master agents.

For more information about installing the SRC software packages, see Chapter 33, Installing the SRC Software on a Solaris Platform.

To install the Net-SNMP agent:

  1. On the UNIX host where you will install the Net-SNMP agent, log in as root.
  2. Load SRC software disk 1 in the CD drive.
  3. Install the UMCnetsnmp package using the UNIX pkgadd tool.
  4. pkgadd -d /cdrom/cdrom0/solaris UMCnetsnmp 
    
    
    

The UMCnetsnmp package is installed in the /opt/UMC/net-snmp folder. Once installed, the Net-SNMP agent starts up automatically. The Net-SNMP agent also automatically restarts in the event of a host reboot.

Configuring the Net-SNMP Agent

The configuration file for the Net-SNMP agent is located in the installation directory (by default, /opt/UMC/net-snmp/etc/snmpd.conf). For more information about configuring the Net-SNMP agent, see the Net-SNMP documentation at:

http://net-snmp.sourceforge.net/

Starting the Net-SNMP Agent

To manually start the Net-SNMP agent:

  1. On the Net-SNMP agent host, log in as root or as an authorized nonroot admin user.
  2. Start the Net-SNMP agent from its installation directory.
  3. /opt/UMC/net-snmp/etc/snmpd start
    

Stopping the Net-SNMP Agent

To stop the Net-SNMP agent:

  1. On the Net-SNMP agent host, log in as root or as an authorized nonroot admin user.
  2. Stop the Net-SNMP agent from its installation directory.
  3. /opt/UMC/net-snmp/etc/snmpd stop 
    

Monitoring the Net-SNMP Agent

To display the Net-SNMP agent status:

  1. On the Net-SNMP agent host, log in as root or as an authorized nonroot admin user.
  2. Display the status from the Net-SNMP agent installation directory.
  3. /opt/UMC/net-snmp/etc/snmpd status 
    

Locating the Log File

The log file for the Net-SNMP agent is located in the installation directory (by default, /opt/UMC/net-snmp/log/snmpd.log).


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]