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
-
Stop Extensible SNMP Agent.
Execute /opt/CM2/ESA/bin/snmpstop.
-
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
-
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.
-
Start Extensible SNMP Agent.
-
Execute /opt/CM2/ESA/bin/snmpstart.
- Important
-
When you set up the system language environment, if you specified a value other than C for a locale environment variable that is higher than the LANG environment variable, but no operating locale for SNMP Agent is set up, SNMP Agent might not run correctly. (For example, it might not be able to acquire MIB values.)