net-snmp 5.2.2 and LM-SENSORS-MIB on Solaris 9

Raphaël 'SurcouF' Bordet <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1152312070.5461.16.camel@localhost>
Hi, 

I'm currently testing a custom package of net-snmp 5.2.2 (5.3.0.1 work
fine but not ucd-snmp/lm-sensors module) with ucd-snmp/lm-sensors module
compiled in and on solaris 2.9.
I'm able to query snmpd for lmTempSensors but I can't understand the
return value for lmTempSensorValues : 

$ snmpwalk -v 1 -c public localhost lmTempSensors
LM-SENSORS-MIB::lmTempSensorsIndex.1 = INTEGER: 0
LM-SENSORS-MIB::lmTempSensorsIndex.2 = INTEGER: 1
LM-SENSORS-MIB::lmTempSensorsIndex.3 = INTEGER: 2
LM-SENSORS-MIB::lmTempSensorsDevice.1 = STRING: mb_p0_t_core
LM-SENSORS-MIB::lmTempSensorsDevice.2 = STRING: mb_p1_t_core
LM-SENSORS-MIB::lmTempSensorsDevice.3 = STRING: mb_t_enc
LM-SENSORS-MIB::lmTempSensorsValue.1 = Gauge32: 3370341
LM-SENSORS-MIB::lmTempSensorsValue.2 = Gauge32: 2780517
LM-SENSORS-MIB::lmTempSensorsValue.3 = Gauge32: 1142117
---8<---

According to LM-SENSORS-MIB, this value is exprimed in "mC".
But I can't believe the temperature can be hotter than 100°C !

And, if I asked to prtdiag or prtpicl (I've a SunFire v210), theses
tools are reporting 55, 46 and 19°C for theses sensors. 

# prtpicl -v -c temperature-sensor
  mb_p0_t_core (temperature-sensor, 440000087e)
  :_fru_parent   (4400000702H)
  :Label         T_CORE
  :HighPowerOffThreshold         100
  :HighShutdownThreshold         93
  :HighWarningThreshold  88
  :Temperature   55
  :_class        temperature-sensor
  :name  mb_p0_t_core
  mb_p1_t_core (temperature-sensor, 4400000886)
  :_fru_parent   (440000072fH)
  :Label         T_CORE
  :HighPowerOffThreshold         100
  :HighShutdownThreshold         93
  :HighWarningThreshold  88
  :Temperature   46
  :_class        temperature-sensor
  :name  mb_p1_t_core
  mb_t_enc (temperature-sensor, 440000088e)
  :_fru_parent   (44000006e4H)
  :Label         T_ENC
  :HighPowerOffThreshold         51
  :HighShutdownThreshold         48
  :HighWarningThreshold  40
  :LowPowerOffThreshold  -6
  :LowShutdownThreshold  -3
  :LowWarningThreshold   5
  :Temperature   19
  :_class        temperature-sensor
  :name  mb_t_enc
---8<---
 
Is anyone have already tested net-snmp and his module lm-sensors on
solaris ?

Regards,

-- 
Raphaël 'SurcouF' Bordet <[email protected]>


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.