Hitachi

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


2.6 Setting up the operating locale

SNMP Agent runs by internally specifying C for the LANG environment variable. Therefore, when you set up the system language environment, if you want to specify a value other than C for a locale environment variable that is higher than the LANG environment variable, set up the operating locale for SNMP Agent before you use it. In addition, when performing the new installation of later version of 11-00, setting is set by default. So, the setting is unnecessary.

The following describes the setup procedure.

Procedure

  1. Stop Extensible SNMP Agent.

    Execute /opt/CM2/ESA/bin/snmpstop.

  2. Edit the file /etc/SnmpAgent.d/esalocale.conf as follows.

    Before change:

    #LC_ALL=C
    #export LC_ALL
    LANG=C
    export LANG

    After change:

    LC_ALL=C
    export LC_ALL
    LANG=C
    export LANG
  3. Perform the following step only if you are using this product by overwriting version 09-00-01 or earlier:

    Add the single line shown below to the beginning of the environment variable definition file (the file that begins with Snmp under the /opt/CM2/ESA/opt directory).

    If the following line has already been added, proceed to step 4:

    The line to be added to the beginning of the file:

    . /etc/SnmpAgent.d/esalocale.conf
    Important

    The dot at the beginning of the line to be added must be entered, as well as the single-byte space following the dot.

  4. Start Extensible SNMP Agent.