Public bug reported:

The LM-SENSORS-MIB values includes thresholds (at least for temperature;
I don't have any other sensors on this machine). This means that:

 - there's no programatic way to identify the actual temperature
 - cacti can't use lmTempSensorsDevice as the index (because its there multiple 
times), and instead has to use the index. This isn't stable across reboots.

In the below, either only rows 0 and 4 should show, or the others should
have different names. ("CPU temp" and "Motherboard temp") come from a
sensors.conf file

$ snmptable -v 2c -c XXXXXXX localhost LM-SENSORS-MIB::lmTempSensorsTable
SNMP table: LM-SENSORS-MIB::lmTempSensorsTable

 lmTempSensorsIndex lmTempSensorsDevice lmTempSensorsValue
                  0            CPU temp              34500
                  1            CPU temp              70000
                  2            CPU temp             100000
                  3            CPU temp              95000
                  4    Motherboard temp              28000
                  5    Motherboard temp              70000
                  6    Motherboard temp              70000
                  7    Motherboard temp                  0
                  8    Motherboard temp              85000
                  9    Motherboard temp              85000
                 10    Motherboard temp                  0
                 11    Motherboard temp                  0
                 12    Motherboard temp                  0

$ sensors
k10temp-pci-00c3
Adapter: PCI adapter
CPU temp:     +34.5°C  (high = +70.0°C)
                       (crit = +100.0°C, hyst = +95.0°C)

jc42-i2c-0-18
Adapter: SMBus PIIX4 adapter at 0b00
Motherboard temp:  +27.8°C  (low  =  +0.0°C)
                            (high = +70.0°C, hyst = +70.0°C)
                            (crit = +85.0°C, hyst = +85.0°C)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: snmpd 5.4.3~dfsg-2.4ubuntu1.1
ProcVersionSignature: Ubuntu 3.2.0-34.53-generic 3.2.33
Uname: Linux 3.2.0-34-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu15
Architecture: amd64
Date: Tue Dec 11 22:02:16 2012
InstallationMedia: Mythbuntu 12.04 "Precise Pangolin" - Beta amd64 (20120328)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_AU:en
 TERM=xterm
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: net-snmp
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: net-snmp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/1088857

Title:
  LM-SENSORS-MIB includes thresholds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1088857/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to