Environment variable definition file (SnmpHtcunix1)
- Organization of this page
Format
SNMP_HTCUNIX1_OPTIONS="[-aperror] [-apwarn] [-apconfig] [-appacket] [-aptrap] [-apaccess] [-apemanate] [-apverbose] [-apuser] [-retry N]" SR_SNMP_TEST_PORT=SNMP-reception-port-number SNMP_HTC_FILE_EXTEND={1 | value-other-than-1}(in Linux or AIX)
Overview
The environment variable definition file (SnmpHtcunix1) defines the following environment variables:
Environment variable name |
Description |
---|---|
SNMP_HTCUNIX1_OPTIONS |
This environment variable specifies startup options for the htc_unixagt1 process. |
SR_SNMP_TEST_PORT |
This environment variable sets the master agent's SNMP reception port. |
SNMP_HTC_FILE_EXTEND |
In AIX or Linux, specify this environment variable when the total number of blocks and inodes in the file system exceeds the standard. |
Location
-
HP-UX (IPF) and Linux: /opt/CM2/ESA/opt/SnmpHtcunix1
-
Solaris: /etc/rc.config.d/SnmpHtcunix1
-
AIX: /usr/CM2/ESA/opt/SnmpHtcunix1
Detailed description
- SNMP_HTCUNIX1_OPTIONS
-
This environment variable specifies startup options for the htc_unixagt1 process.
-
-aperror: Specify this option if you want to collect error logs.
-
--apwarn: Specify this option if you want to collect error and warning logs.
-
-apconfig: Specify this option if you want to collect logs related to the configuration file.
-
-appacket: Specify this option if you want to collect logs related to packet assembly and analysis.
-
-aptrap: Specify this option if you want to collect logs related to trap messages.
-
-apaccess: Specify this option if you want to collect logs related to agent processing.
-
-apemanate: Specify this option if you want to collect logs related to the master agent and subagents.
-
-apverbose: Specify this option if you want to collect verbose logs.
-
-apuser: Specify this option if you want to collect user logs.
-
-retry N: Specify this option if you want the subagent to attempt to establish a connection with the master agent at N-second intervals.
-
- SR_SNMP_TEST_PORT
-
This environment variable sets the master agent's SNMP reception port. Normally, you do not need to specify this environment variable since it is specified in the environment variable definition file SnmpMaster.
For details about how to change the SNMP reception port, see 3.4.1 Changing the SNMP reception port on SNMP Agent.
- SNMP_HTC_FILE_EXTEND={1 | value-other-than-1}(in Linux or AIX)
-
In AIX or Linux, specify this environment variable when the total number of blocks and inodes in the file system exceeds the standard.
In AIX or Linux, if you want to use SNMP Agent in an environment in which there are more than 232-1 blocks and inodes (objects in the fileSystem64 group with ID 2.1.5 to 2.1.10) in the file system, you must specify 1.
Note that the SNMP_HTC_FILE_EXTEND environment variable does not need to be set in a new installation, because it is specified by default.
Definition examples
-
This example edits SNMP_HTCUNIX1_OPTIONS of the SnmpHtcunix1 file used in the htc_unixagt1 process:
SNMP_HTCUNIX1_OPTIONS="-aperror -apwarn -apverbose" export SNMP_HTCUNIX1_OPTIONS
-
This example uses, in AIX or Linux, SNMP Agent in an environment in which there are more than 232-1 blocks and inodes in the file system:
SNMP_HTC_FILE_EXTEND=1 export SNMP_HTC_FILE_EXTEND