trapdestagt
- Organization of this page
Syntax
trapdestagt [-aperror] [-apwarn] [-aptrace][-apconfig] [-appacket] [-aptrap] [-apaccess] [-apemanate] [-apverbose] [-apuser] [-apall] [-help] [-retry N]
Description
The trapdestagt process provides the Trap group from the Hewlett-Packard enterprise-specific MIB (enterprises.hp.nm.snmp.trap).
Location
-
HP-UX (IPF), Solaris: /opt/CM2/ESA/bin
-
AIX, Linux: /usr/sbin
Arguments
- -aperror
-
Specify this option if you want to collect error logs.
- -apwarn
-
Specify this option if you want to collect error and warning logs.
- -aptrace
-
Specify this option if you want to collect trace 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.
- -apall
-
Specify this option if you want to collect all types of logs.
- -help
-
Specify this option if you want to display the command syntax.
- -retry N
-
Specify this option if you want the subagent to attempt to establish a connection with the master agent at N-second intervals.
External influences
- Environment variables
-
Specify the following environment variable in the SnmpTrpDst file.
- SR_SNMP_TEST_PORT
-
The environment variable SR_SNMP_TEST_PORT specifies the SNMP reception port on the master agent. If this environment variable is specified on a subagent, it will be used as data required for connection to the master agent. Therefore, the value assigned to this environment variable must be equal to the port number specified on the master agent. If this environment variable is not specified, the pertinent value on the snmp line in the /etc/services file will be used. In general, you do not need to specify this environment variable. You only need to specify it if you want to change the SNMP reception port on the master agent.