|
|
| Author |
Message |
usa Beginner
Joined: 04 Aug 2004 Posts: 8
|
Posted: Fri Aug 06, 2004 2:08 pm Post subject: Voltages, temperature and fan speed |
|
|
There are several sensors in your demo (Voltages, temperature and fan speed)
How could you manage to create it???? |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Fri Aug 06, 2004 5:17 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
usa Beginner
Joined: 04 Aug 2004 Posts: 8
|
Posted: Sat Aug 07, 2004 8:26 am Post subject: |
|
|
| Code: |
#./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 |
( |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Sat Aug 07, 2004 12:58 pm Post subject: |
|
|
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.
-Doug |
|
| Back to top |
|
 |
|