Installing and configuring a master agent manually

The runsnmp.ksh script automatically performs the steps in this section for the master agents provided with the database server. If you bought a master agent from another vendor, follow the installation instructions that the vendor provides.

To configure the EMANATE master agent:

  1. Set the following environment variables:
    • Make sure that the PATH environment variable includes $INFORMIXDIR/bin.
    • Set SR_AGT_CONF_DIR to the directory for the EMANATE configuration file.
    • Set SR_LOG_DIR to the directory for the EMANATE log file.

    The EMANATE configuration files are located in the $INFORMIXDIR/snmp/snmpr directory. The log files are located in the /tmp directory. The /tmp directory is the default location if the variable is not set.

  2. Make sure that either the Network Information Services or the /etc/services file configures UDP ports 161 and 162 as the SNMP ports.
    1. Use the grep command to search /etc/services for snmp. The output from grep is similar to the following lines:
      snmp         161/udp
      snmp-trap    162/udp
    2. Make sure that UDP port 161 is available so that the master agent can be the owner of the port.
  3. Add the following line to the snmp configuration file for the snmpd daemon to accept messages from onsnmp:
    smuxpeer 0.0
    If this line does not exist, and the snmpd daemon is log enabled, the following message is reported:
     snmpd log: 
    refused smux peer: oid SNMPv2-SMI::zeroDotZero, password , descr rdbms subagent
     onsrvapd log: 
    INFO :  onsrvapd pid 9045, poll 5 secs, linger 5 mts, logfile
    /tmp/onsrvapd.42f0d7392355.log.
    MAJOR:  signalCatcher - Caught SIGCHLD.
    MAJOR:  childKilled - Subagent pid 9046 Status 65280.
     onsnmp log: 
    MAJOR:  SMUX subagent failed to instantiate managed row

Copyright© 2019 HCL Technologies Limited