snmpd returns incorrect data intermittently
Issue
- The customer is using OpManager and it retrieves process information (hrSWRunTable) from a RHEL6.3 node.
- Sometimes snmpd returns somewhat incorrect data and it causes unexpected behavior of OpManager.
- The customer took network trace when the problem is happening. Following is the part of it.
Frame 3121 (180 bytes on wire, 180 bytes captured)
data: get-next-request (1)
get-next-request
request-id: 301003338
error-status: noError (0)
error-index: 0
Object Name: 1.3.6.1.2.1.25.4.2.1.1.6798
(RFC1213-MIB::mib-2.25.4.2.1.1.6798)
Object Name: 1.3.6.1.2.1.25.4.2.1.2.6798
(RFC1213-MIB::mib-2.25.4.2.1.2.6798)
Object Name: 1.3.6.1.2.1.25.4.2.1.4.6798
(RFC1213-MIB::mib-2.25.4.2.1.4.6798)
Object Name: 1.3.6.1.2.1.25.4.2.1.5.6798
(RFC1213-MIB::mib-2.25.4.2.1.5.6798)
Object Name: 1.3.6.1.2.1.25.5.1.1.1.6798
(RFC1213-MIB::mib-2.25.5.1.1.1.6798)
Object Name: 1.3.6.1.2.1.25.5.1.1.2.6798
(RFC1213-MIB::mib-2.25.5.1.1.2.6798)
Frame 3122 (204 bytes on wire, 204 bytes captured)
data: get-response (2)
get-response
request-id: 301003338
error-status: noError (0)
error-index: 0
Object Name: 1.3.6.1.2.1.25.4.2.1.1.21607
(RFC1213-MIB::mib-2.25.4.2.1.1.21607) <==
Object Name: 1.3.6.1.2.1.25.4.2.1.2.21607
(RFC1213-MIB::mib-2.25.4.2.1.2.21607) <==
Object Name: 1.3.6.1.2.1.25.4.2.1.4.20709
(RFC1213-MIB::mib-2.25.4.2.1.4.20709) <==
Object Name: 1.3.6.1.2.1.25.4.2.1.5.20709
(RFC1213-MIB::mib-2.25.4.2.1.5.20709) <==
Object Name: 1.3.6.1.2.1.25.5.1.1.1.20709
(RFC1213-MIB::mib-2.25.5.1.1.1.20709) <==
Object Name: 1.3.6.1.2.1.25.5.1.1.2.20709
(RFC1213-MIB::mib-2.25.5.1.1.2.20709) <==
- You can see the index value (last number of the OID) is changed from 21607 and 20709 at frame 3122 while other frame returns data with same index value.
- And the bad frame #3122 is returning
.hrSWRunIndex(1) - 21607
.hrSWRunName(2) - hpsmhd
.hrSWRunPath(4) - crond
.hrSWRunParameters(5) - "" <MISSING>
- Apparently the returning object name especially the INDEX ID is changed in the middle.
Environment
- Red Hat Enterprise Linux 6.3
- net-snmp-5.5-41.el6.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.