SNMP Configuration and Management Manual
Troubleshooting the SNMP Agent
SNMP Configuration and Management Manual—424777-006
7-5
TCP/IP
TCP/IP
For the HP TCP/IP subsystem, you can use the PTrace utility to format, display, and
examine the trace information collected by the TRACE command. You can limit the
information you format by using the options provided in the PTrace SELECT and
FILTER commands. For information on analyzing trace information with the PTrace
utility, see the TCP/IP Configuration and Management Manual (G-series).
SNMP Agent
You can generate trace records for the SNMP agent in two ways:
•
By issuing an SCF TRACE command
•
By including the TRACE startup parameter when you start the SNMP agent
The SNMP agent subsystem does not currently support the PTrace utility. Generally,
you generate trace records at the request of and for analysis by your HP support
representative.
Using SCF
The SCF TRACE command lets you:
•
Start a trace operation on the agent process.
•
Alter trace parameters set by a previous TRACE command.
•
Stop a previously requested trace operation.
The complete syntax of the SCF TRACE command is in the TRACE Command on
page 5-35.
The following command starts a trace operation on the agent process, writes results
into the file named $DATA1.TRC.TRACE, and allows the trace data to be overwritten
when the EOF is reached:
TRACE PROCESS $ZSNMP, TO $DATA.SNMP.TRACE, WRAP
This command stops the trace:
TRACE PROCESS $ZSNMP, STOP
The SCF trace facility for the SNMP agent does not support the BACKUP parameter,
so tracing stops if the backup process takes over. To enable tracing in the backup,
include the TRACE startup parameter when you start the SNMP agent.
Using the RUN Command
The TRACE startup parameter of the RUN command enables tracing of the agent
process if a takeover by the backup process occurs. The backup begins tracing its
reinitialization and stores a complete set of records for all objects.
If you start the SNMP agent with the TRACE startup parameter, it creates primary and
backup trace files—ZZSMPTRP and ZZSMPTRB, respectively—in the subvolume from