Bug 1252053 - net-snmp does not display correct lm_sensors sensor data / missing CPU cores
net-snmp does not display correct lm_sensors sensor data / missing CPU cores
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: net-snmp (Show other bugs)
7.1
All Linux
unspecified Severity medium
: rc
: ---
Assigned To: Jan Safranek
Dalibor Pospíšil
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-10 10:48 EDT by Dalibor Pospíšil
Modified: 2015-11-19 06:46 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: snmpd expected, that sensor names reported by lm_sensors library are unique. However, on systems with multiple sockets with Xeon family CPUs, the thermal sensors on all CPUs have the same name. Consequence: snmpd reported temperature only of one CPU. Fix: snmpd adds prefix to all sensors, that have the same name. Result: snmpd reports temperature of all CPUs. For example, on 2-socket machine with two-core CPUs, the old snmpd reported just two thermal sensors (from the first CPU) in LM-SENSORS-MIB::lmTempSensorsTable: lmTempSensorsDevice.2 = STRING: Core 0 lmTempSensorsDevice.3 = STRING: Core 1 With this update, all four thermal sensors are reported. Notice the prefix of second set of sensor names: lmTempSensorsDevice.2 = STRING: Core 0 lmTempSensorsDevice.3 = STRING: Core 1 lmTempSensorsDevice.6 = STRING: coretemp-isa-0004:Core 0 lmTempSensorsDevice.7 = STRING: coretemp-isa-0004:Core 1 The first set of sensors is kept without prefix to keep compatibility with old applications, which may expect sensor named 'Core 0'.
Story Points: ---
Clone Of: 967871
Environment:
Last Closed: 2015-11-19 06:46:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dalibor Pospíšil 2015-08-10 10:48:53 EDT
+++ This bug was initially created as a clone of Bug #967871 +++

Description of problem:  Using Dell R620 hardware with dual Dual Intel Xeon E5-2670 Eight Core, net-snmp fails to show data for all CPU cores detected by lm_sensors.  Only a subset are displayed.


Version-Release number of selected component (if applicable):

net-snmp-5.7.2-20.el7
Comment 4 errata-xmlrpc 2015-11-19 06:46:14 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-2345.html

Note You need to log in before you can comment on or make changes to this bug.