Technical data

Configuring SNMP
13.5 SNMP Log Files
Agent Process SYS$OUTPUT SYS$ERROR
Master agent TCPIP$SNMP TCPIP$SNMP_
RUN.LOG
TCPIP$SNMP_RUN.LOG
Resident
subagent
TCPIP$SNMP TCPIP$SNMP_
RUN.LOG
TCPIP$SNMP_RUN.LOG
OS_MIBS
1
TCPIP$OS_MIBS TCPIP$OS_MIBS.LOG TCPIP$OS_MIBS.ERR
HR_MIB TCPIP$HR_MIB
1
TCPIP$HR_MIB.LOG TCPIP$HR_MIB.ERR
1
If no output has been generated, a .LOG or .ERR file might not exist.
If the configuration option SNMP_GEN_LOGFILE is set, files in the preceding
table continue to be used for SYS$ERROR data. For SYS$OUTPUT data, as
soon as the agents detect the option, data is written to the following files, where
process-ID is the hexadecimal process ID of the process listed:
Agent Process SYS$OUTPUT
Master agent TCPIP$SNMP TCPIP$ESNMP_SERVERprocess-ID.LOG
Resident
subagent
TCPIP$SNMP TCPIP$ESNMP_RESIDENT_SUBAGENTprocess-ID.LOG
OS_MIBS TCPIP$OS_MIBS TCPIP$OS_MIBSprocess-ID.LOG
HR_MIB TCPIP$HR_MIB TCPIP$HR_MIBprocess-ID.LOG
Unless it is suppressed, the timestamp gives a line-by-line record of when output
was written to each file and is useful in resolving timing-related problems.
The SNMP_GEN_LOGFILE option does not affect the name of
the output file for customer written subagents. Customer-written
subagents generate files based on the IMAGENAME symbol in
SYS$SYSDEVICE:[TCPIP$SNMP]TCPIP$EXTENSION_MIB_RUN.COM.
For details about logging from customer extension subagents, refer to the Compaq
TCP/IP Services for OpenVMS SNMP Programming and Reference guide.
13.6 Solving SNMP Problems
The following sections contain information about how to analyze and solve many
SNMP problems. Be sure to configure SNMP according to the instructions in
this guide, and use the information here and in the Compaq TCP/IP Services
for OpenVMS SNMP Programming and Reference guide when writing your own
subagents.
13.6.1 Multiple SNMP Processes Displayed for SHOW SYSTEM Command
When you enter the DCL command SHOW SYSTEM during the TCPIP or SNMP
startup sequence, the process TCPIP$SNMP_n may appear in the display without
the subagent processes (TCPIP$OS_MIBS and TCPIP$HR_MIB). This is because
TCPIP$SNMP is the main SNMP process started by the TCP/IP kernel when
the SNMP service is enabled; it starts the subagents as detached processes, and
then continues to run as the master agent. The number at the end of this process
name reflects the number of times this main process has started since SNMP has
been enabled.
Configuring SNMP 13–21