lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Voltages, temperature and fan speed

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
usa
Beginner


Joined: 04 Aug 2004
Posts: 8

PostPosted: Fri Aug 06, 2004 2:08 pm    Post subject: Voltages, temperature and fan speed Reply with quote

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

PostPosted: Fri Aug 06, 2004 5:17 pm    Post subject: Reply with quote

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

PostPosted: Sat Aug 07, 2004 8:26 am    Post subject: Reply with quote

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


Sad(
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Sat Aug 07, 2004 12:58 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group