Environment variable definition file (SnmpHtcunix2)
- Organization of this page
Format
SNMP_HTCUNIX2_OPTIONS="[-aperror] [-apwarn] [-apconfig] [-appacket] [-aptrap] [-apaccess] [-apemanate] [-apverbose] [-apuser] [-retry N]" SR_SNMP_TEST_PORT=SNMP-reception-port-number SNMP_HTC_HPUX_ENABLE_PROCESSOR={Y | value-other-than-Y}(in HP-UX (IPF))
Overview
The environment variable definition file (SnmpHtcunix2) defines the following environment variables:
Environment variable name |
Description |
---|---|
SNMP_HTCUNIX2_OPTIONS |
This environment variable specifies startup options for the htc_unixagt2 process. |
SR_SNMP_TEST_PORT |
This environment variable sets the master agent's SNMP reception port. |
SNMP_HTC_HPUX_ENABLE_PROCESSOR |
This environment variable specifies how processor information is acquired from the OS. |
Location
HP-UX (IPF): /opt/CM2/ESA/opt/SnmpHtcunix2
Detailed description
- SNMP_HTCUNIX2_OPTIONS
-
This environment variable specifies startup options for the htc_unixagt2 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_HPUX_ENABLE_PROCESSOR={Y | value-other-than-Y} (in HP-UX (IPF))
-
This environment variable specifies how processor information is acquired from the OS.
By default, SNMP Agent acquires information on all processors from the OS, regardless of whether a processor is enabled or disabled.
This environment variable specifies how processor information is acquired.
-
Y: Acquire information only for processors that are enabled.
-
Value other than Y: Acquire information from the OS on all processors, regardless of whether they are enabled or disabled.
The default is a value other than Y.
-
Definition examples
-
This example acquires information only for processors that are enabled:
SNMP_HTC_HPUX_ENABLE_PROCESSOR=Y export SNMP_HTC_HPUX_ENABLE_PROCESSOR