Hitachi

JP1 Version 12 JP1/Extensible SNMP Agent Description, Operator's Guide and Reference


2.17.1 Notes about setup (for AIX)

Each of the AIX processes hostmibd, aixmibd, and snmpmibd acquires MIB values by issuing GET and GET-NEXT requests to the process that uses the port number specified in the SNMP_PORT value defined in the OS-provided file /etc/environment (or 161/udp if SNMP_PORT is not set). If SNMP Agent is not installed, the AIX snmpd process typically performs this communication.

The following figure shows the flow of the native agent functions provided by AIX.

Figure 2‒9: Flow of the native agent functions provided by AIX

[Figure]

When SNMP Agent is installed, by default it is configured so that the native agent snmpd process uses port 8161/udp as the port for receiving SNMP requests. In addition, public is automatically set as the community name that is used when the AIX processes hostmibd, aixmibd, and snmpmibd acquire MIB values by issuing GET and GET-NEXT requests to the process that uses the port number specified in the SNMP_PORT value defined in the OS-provided file /etc/environment (or 161/udp if SNMP_PORT is not set).

Therefore, the AIX processes hostmibd, aixmibd, and snmpmibd must be configured to communicate with the AIX snmpd process (8161/udp), and the community name must be set according to the native agent (snmpd).

These changes are shown in the steps listed below, and they must be made while the user is logged on as a superuser.

  1. Stop SNMP Agent and the native agent by using the snmpstop command with no arguments.

    /usr/CM2/ESA/bin/snmpstop
  2. Open /usr/CM2/ESA/opt/SnmpNative with an editor such as vi.

  3. Change public in the following lines to the community name for the native agent snmpd process that permits GET and GET-NEXT requests.

    SNMP_SNMPMIBD_OPTIONS="-c public"
    SNMP_HOSTMIBD_OPTIONS="-c public"
    SNMP_AIXMIBD_OPTIONS="-c public"
  4. Add the line below to the OS-provided /etc/environment.

    If you have changed the port number used by the native agent snmpd process, use that port number instead of 8161.

    SNMP_PORT=8161
  5. Restart SNMP Agent by using the snmpstart command with no arguments.

    Restarting SNMP Agent also restarts hostmibd, aixmibd, and snmpmibd.

    Execute the following command:

    /usr/CM2/ESA/bin/snmpstart