Technical data

Configuring SNMP
13.6 Solving SNMP Problems
13.6.2 Problems Starting and Stopping SNMP Processes
If there are startup errors noted in the SNMP log files, or if SNMP startup seems
normal but one or more of the SNMP processes disappears, follow these steps:
1. Check the log files for any errors indicating timeouts, protection problems, or
configuration errors.
2. Start up the master agent and subagents by running the images interactively
and enabling tracing (see Section 13.6.4).
To verify the SNMP installation, enter the command SHOW CONFIGURATION
SNMP, as described in Section 13.4.2.
To stop all SNMP processes, enter:
$ @SYS$STARTUP:TCPIP$SNMP_SHUTDOWN
If you disable the SNMP service by entering the DISABLE SERVICE SNMP
command, automatic restarts are prevented, but detached SNMP master and
subagent processes are not stopped.
13.6.3 Restarting MIB Subagent Processes
Usually the SNMP master agent and subagent processes start up and are shut
down together as described in Section 13.1.1.
If the SNMP master agent process stops for any reason, TCP/IP Services attempts
to restart it and, if successful, increments the count (n) in the process name
TCPIP$SNMP_n. As part of the startup sequence, any subagents that have
stopped will be restarted. If a subagent process has not stopped, an attempt to
restart it will have no effect because OpenVMS does not allow a duplicate process
name (unlike the SNMP master agent, subagent names do not include a startup
count).
If the master agent continues to run but a subagent stops, there is no automatic
restart attempt. You can correct the problem by doing one of the following:
Restart TCP/IP Services.
Restart SNMP.
Manually stop the TCPIP$SNMP_n process to force a master agent restart.
Configure the SNMP variable AUTRESTARTS and stop all the subagent
processes. See Section 13.4.3 for more information.
13.6.4 Obtaining Trace Log Messages
To get trace log messages you can:
Configure SNMP to enable trace output while SNMP continues processing.
Enable tracing while running SNMP interactively.
To configure SNMP to log tracing messages while it is running, set the
snmp_trace
configuration option. With this option enabled, trace output is
produced and written to standard logs (see Section 13.5) when agents are run in
normal production mode.
See Section 13.4.3 for details about the configuration options and about how to
enable those options dynamically or without running interactively.
13–22 Configuring SNMP