Hello, all. I am trying to read lm_sensors data from my SNMP server, version 5.3.1-14.fc6 for Fedora Core 6 (the current stable Fedora release RPM). I have installed the lm_sensors package and can read my sensor data from the command-line with 'sensors': k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp: +41°C Core1 Temp: +40°C Case Fan: 2083 RPM etc...
I have attempted to make sure that all MIB data for this host are available through the SNMP server, in snmpd.conf: view systemview included .1.3.6.1.2.1 This seems correct, because I can read network interface stats and disk usage stats through SNMP just fine. But I still cannot get any sensor data. :( The command "snmpwalk -c <my_community> -v1 localhost lmSensors" produces only the line "End of MIB". The command "snmpwalk -c <my_community> -v1 localhost" produces information from the following MIBs, none of which seems to be sensor data: DISMAN-EVENT-MIB, HOST-RESOURCES-MIB, IF-MIB, IP-FORWARD-MIB, IP-MIB, IPV6-MIB, MTA-MIB, NOTIFICATION-LOG-MIB, RFC1213-MIB, SNMPv2-MIB, TCP-MIB, UDP-MIB I am 99% sure that this build of the SNMP server *does* include support for lm_sensors, for three reasons. First, the release notes for this RRPM contain the following entries: * Wed Aug 23 2006 Radek Vokal <[EMAIL PROTECTED]> 5.3.1.0-5 - fix lm_sensors issues * Wed Nov 26 2003 Phil Knirsch <[EMAIL PROTECTED]> 5.1-2 - Included BuildPrereq on lm_sensors-devel on x86 archs (#110616). * Wed Nov 19 2003 Phil Knirsch <[EMAIL PROTECTED]> 5.1-1 - Added lm_sensors support patch for x86 archs from Kaj J. Niemi (#107618). Second, this RPM contains the file /usr/share/snmp/mibs/LM-SENSORS-MIB.txt! And third, when I issue the command "rpmbuild --rebuild SRPMS/net-snmp-5.3.1-14.fc6.src.rpm", I get: error: Failed build dependencies: lm_sensors-devel is needed by net-snmp-5.3.1-14.i386 When I resolve these dependencies and rebuild the RPM, it behaves exactly as the stock build -- that is, it shows no lm_sensor data at all. I have even tried to force loading the MIB with a directive in snmpd.conf: mibs +lmSensors This has no noticeable effect. So it seems that there may be some run-time directive I'm missing. Or is it an SNMP version problem? Why wouldn't the lmSensors MIB be loading? Has anyone else here tried this, or have any idea why it isn't working? Thanks in advance, - benton ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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