Troubleshooting
Problem
This document describes the steps needed to collect the appropriate documentation to troubleshoot SNMP issues on IBM i.
Resolving The Problem
Function Description
SNMP - Simple Network Management Protocol collects various statistics about a system on a network. A 'Manager' can request this data from an SNMP agent provided the community name (SNMPv1) or SNMPv3 username and password is set correctly. The host can also send unsolicited Traps (or SNMPv3 Informs from R740 or higher) to the manager signaling important events or a message from a third-party application. For a further overview of SNMP, see technote N1011620.
Related Jobs and Tasks
SNMP Agent jobs (started with command STRTCPSVR *SNMP)
QSNMPSA - The SNMP subagent job.
QTMSNMP - The SNMP agent job. Data is passed from the QTMSNMPRCV job to this one for processing. Most error messages are shown in this job
QTMSNMPRCV - The receiver job. SNMP get requests are received from the SNMP manager through this job. It listens on port 161 (UDP)
QTMSNMPINF - (V7R4M0 or higher only) Handles the sending of SNMPv3 Inform messages
SNMP Trap Manager jobs (started with command STRTRPMGR)
QTRPRCV - The SNMP Trap Manager receiver job. It receives traps from SNMP agents running on other systems. It listens on port 162 (UDP)
QTRPMGR - The SNMP Trap manager job. It manages the traps received through QTRPRCV and optionally forwards them onto another SNMP Trap Manager
Materials required for analysis of the most common SNMP Agent issues
|
|
|
|
|
Other materials required for less common issues
-
For debug of issues involving sending SNMP Inform messages to an external SNMP Trap Manager (V7R4M0 or higher only):
Collect same materials as detailed in common issues but with the inclusion of the QTMSNMPINF job log, and modify the STRTRC to be:
STRTRC SSNID(SNMP) JOB((*ALL/QSNMPSA *ALL) (*ALL/QTMSNMP *ALL) (*ALL/QTMSNMPRCV *ALL) (*ALL/QTMSNMPINF)) JOBTRCTYPE(*TRCTYPE) TRCTYPE((*SNMP *VERBOSE)) -
For debug of IBM i SNMP Trap Manager issues:
Collect same materials as detailed in common issues but with the inclusion of the QTRPMGR and QTRPMGRRCV jobs (and QTMSNMPINF if the IBM i is at R740 or higher and configured to receive SNMPv3 Informs), and modify the STRTRC statement to include these additional jobs
Related Information
Historical Number
486270962
Was this topic helpful?
Document Information
Modified date:
11 November 2019
UID
nas8N1013694