Environment variable definition file (SnmpTrpDst)
- Organization of this page
Format
SNMP_TRAPDEST_OPTIONS="[-aperror] [-apwarn] [-apconfig] [-appacket] [-aptrap] [-apaccess] [-apemanate] [-apverbose] [-apuser] [-retry N]" SR_SNMP_TEST_PORT=SNMP-reception-port-number
Overview
The environment variable definition file (SnmpTrpDst) defines the following environment variables:
Environment variable name |
Description |
---|---|
SNMP_TRAPDEST_OPTIONS |
This environment variable specifies startup options for the trapdestagt process. |
SR_SNMP_TEST_PORT |
This environment variable sets the master agent's SNMP reception port. |
Location
-
HP-UX (IPF) and Linux: /opt/CM2/ESA/opt/SnmpTrpDst
-
Solaris: /etc/rc.config.d/SnmpTrpDst
-
AIX: /usr/CM2/ESA/opt/SnmpTrpDst
Detailed description
- SNMP_TRAPDEST_OPTIONS
-
This environment variable specifies startup options for the trapdestagt 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.
Definition examples
-
This example edits SNMP_TRAPDEST_OPTIONS of the SnmpTrpDst file used in the trapdestagt process:
SNMP_TRAPDEST_OPTIONS="-aperror -apwarn -apverbose" export SNMP_TRAPDEST_OPTIONS