RE: net-snmp can't read lm_sensors' values
"Ramachandrappa, Nataraju Karidasarahalli" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <A13FA4B2F7631E4B854D1AAA030784490284B52E@bgeexc04.asiapacific.cpqcorp.net> |
Hi, I think you are access the data from the table. If u r access the data from the table u have to give snmpwalk -v 2c -c public localhost tablename. Thanks nataraju -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Axel Thimm Sent: Wednesday, November 09, 2005 6:40 PM To: [email protected] Subject: net-snmp can't read lm_sensors' values Hi, lm_sensors has been configured and "sensors" returns some values. Using net-snmp to export these one gets # snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.13.16.2.1.1 LM-SENSORS-MIB::lmTempSensorsIndex = No more variables left in this MIB View (It is past the end of the MIB tree) Smaller OIDs, e.g. .1.3.6.1.4.1.2021.13.16 or a full walk don't give anything further. Running with -DALL gives: [...] mib_init: initializing: lmSensors trace: _sensor_load(): ucd-snmp/lmSensors.c, 307: sensors: sensor -1785654644, value 1520 trace: _sensor_load(): ucd-snmp/lmSensors.c, 307: sensors: sensor -1785654576, value 1536 trace: _sensor_load(): ucd-snmp/lmSensors.c, 307: sensors: sensor -1785654508, value 3360 trace: _sensor_load(): ucd-snmp/lmSensors.c, 307: sensors: sensor -1785654440, value 5053 [...] trace: _sensor_load(): ucd-snmp/lmSensors.c, 307: sensors: sensor -1785663012, value 0 trace: _sensor_load(): ucd-snmp/lmSensors.c, 307: sensors: sensor -1785662944, value 0 too many sensors. ignoring CPU and later: LM-SENSORS-MIB::lmTempSensorsIndex = Wrong Type (should be INTEGER): NULL This is on net-snmp 5.1.2 and 5.2.1.2 (RHEL4 and FC4). How can I get lmSensors to work? See also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=171000 Thanks! -- Axel.Thimm at ATrpms.net ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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