Voltages, temperature and fan speed


06-08-2004 10:08:24

There are several sensors in your demo (Voltages, temperature and fan speed)
How could you manage to create it????


06-08-2004 13:17:09

We used lm-sensors on linux. Net-SNMP has bindings for it, and the information ends up in the HOST-MIB. You can snmpwalk hrSensorValue to see if you have anything being reported. Running lm-sensors by itself will also be useful to see if any problems are related to lm-sensors or net-snmp.


07-08-2004 04:26:34

[code1338455016a]#./configure --with-perl-modules --prefix=/usr/local --with-mib-modules=host --with-mib-modules=event-mib --with-mib-modules=mibII/mta_sendmail --with-mib-modules=ucd-snmp/diskio --with-mib-modules=misc/ipfwacc --with-mib-modules=ucd-snmp/lmSensors


snmpwalk -v2c -c public localhost lmSensors
LM-SENSORS-MIB::lmSensors = No Such Object available on this agent at this OID[/code1338455016a]



07-08-2004 08:58:48

What Brady didn't know is that the Net-SNMP Red Hat provides includes a patch for LM-Sensors to work within Net-SNMP.
Maybe try lm-sensors' website and see if the patch is there; I'm not sure where else you could try after that.
You could also try to create a wrapper script around the 'sensors' program that you could run out of net-snmp's 'exec' setup.