Installing the Automation Engine SNMP Subagent (UNIX)

SNMP (Simple Network Management Protocol) is an industry standard for monitoring and controlling systems, devices and components within a network environment. This document guides you through the UNIX installation for AE SNMP Subagent.

Important! The AE SNMP Subagent must be installed on a computer on which at least one of the Automation Engine's work processes is available.

This page includes the following:

Requirements

To Install the SNMP Subagent in UNIX

  1. Install the files.

    1. Unpack the AE SNMP Subagent's TAR file.
    2. Copy the unpacked files to any directory of your choice or to the Automation Engine's folder.
  2. Configure the INI files.

    1. Activate the SNMP connection in the INI file (UCSRV.INI) of the Automation Engine using the snmp=1 parameter in the [GLOBAL] section. Also set the parameters snmp= and snmpreconnect= in the section [TCP/IP]. For more information,. see Automation Engine.
    2. End and restart the Automation Engine's communication and work processes on all computers. No restart is necessary if the Automation Engine's INI file is already adjusted.
    3. Adjust the relevant parameters in the INI file of the SNMP agent. For more information, see Agent SNMP.
  3. Specify masteragent mode.

    1. On HP UX, it is essential to specify Masteragent mode. On all other platforms, you can select whether the AE SNMP Subagent should run as Masteragent. For more information, see Agent Mode on UNIX.
    2. Set the Masteragent mode in the AE SNMP Subagent's INI file using the role=1 parameter.
    3. Adjust the supplied configuration files naacnf and ucsnmp1.conf.
    4. The variable SNMPCONFPATH must be set. It contains the directory with the file ucsnmp1.conf (such as export SNMPCONFPATH=./).
    5. It is not required to set the environment variables MIB and MIBDIR.
  4. Start the AE SNMP Subagent and specify the INI file.

    Note: The SNMP Subagent must start under the root user because otherwise the Automation Engine cannot establish a connection.

    Example

    ./ucsnmp1 -i /home/UC4/Server/ucsnmp1.ini &

    The following start parameters are available:

    • -i INI file path and name
      Path and name of the INI file to be used
      By default, the INI file is searched in the folder in which the AE SNMP Subagent is stored.

    • -h
      Shows available parameters and usage

    • -v
      Shows the AE SNMP Subagent's version

    • -crtini INI file path and name
      Generates a standard INI file
      By default, the INI file is searched in the folder in which theAE SNMP Subagent is stored.

    The order in which you start the Automation Engine and the SNMP Subagent is irrelevant.

Notes:

See also: