Installing the Automation Engine SNMP Subagent (UNIX)

The following document guides you through the UNIX installation for AE SNMP Subagent.

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

Requirements

Installation

  1. Install the files

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

    • Activate the SNMP connection in the Automation Engine's INI file UCSRV.INI using the parameter snmp=1 (section [GLOBAL]). Also set the parameters snmp= and snmpreconnect= (section [TCP/IP].
    • 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.
    • Adjust the relevant parameters in the AE SNMP Subagent's INI file.
  3. Specify masteragent mode

    • 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.
    • Set the Masteragent mode in the AE SNMP Subagent's INI file using the parameter role=1.
    • Adjust the supplied configuration files naacnf and ucsnmp1.conf.
    • The variable SNMPCONFPATH must be set. It contains the directory with the file ucsnmp1.conf (such as export SNMPCONFPATH=./).
    • It is not required to set the environment variables MIB and MIBDIR.
  4. Start the AE SNMP Subagent

    • Start the AE SNMP Subagent and specify the INI file.
    • Note that the SNMP Subagent must start under the root user because otherwise the Automation Engine cannot establish a connection.

      For example:
      ./ucsnmp1 -i /home/UC4/Server/ucsnmp1.ini &

    The following start parameters are available:

    Start parameters Description
    -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.

Note the following:

Messages are output when the SNMP agent starts. These messages are warnings and do not affect the system's functionality (as opposed to error messages). The following message is always output and can be ignored: "No log handling enabled - turning on stderr logging"