I'm trying to read lmsensors values. Read the archive but to no avail.
Some installation data:

net-snmp-config --version
5.1.2

net-snmp-config --configure-options
'--build=i386-redhat-linux' '--host=i386-redhat-linux'
'--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--datadir=/usr/share' '--includedir=/usr/include/net-snmp'
'--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--enable-static' '--enable-shared'
'--with-cflags=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4'
'--with-sys-location=Unknown' '--with-logfile=/var/log/snmpd.log'
'--with-persistent-directory=/var/net-snmp' '--with-mib-modules=host
agentx smux ucd-snmp/lmSensors' '--with-libwrap=/usr/lib'
'--sysconfdir=/etc' '--enable-ipv6' '--enable-ucd-snmp-compatibility'
'--with-pic' '[EMAIL PROTECTED]' 'CFLAGS=-O2 -g -pipe
-m32 -march=i386 -mtune=pentium4' 'build_alias=i386-redhat-linux'
'host_alias=i386-redhat-linux' 'target_alias=i386-redhat-linux-gnu'

(please notice --with-mib-modules=ucd-snmp/lmSensors)

net-snmp-config --agent-libs
-L/usr/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lnetsnmp
-lsensors -ldl -lrpm -lrpmio -lpopt -lbz2 -lz -lcrypto -lelf -lm
-L/usr/lib/lib -lwrap

(please notice -lsensors)

ls /usr/share/snmp/mibs|grep -i sensors
LM-SENSORS-MIB.txt

I'm not aware of any /etc/snmp/snmpd.conf options for lmsensors; are
there any?

And finally:

snmpwalk -c <community> -v2c gandalf lmsensors
LM-SENSORS-MIB::lmSensors = No Such Object available on this agent at
this OID

Running on
uname -a
Linux gandalf 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386
GNU/Linux
Hardware = IBM T30 laptop (just for testing ...)

Am I missing something?
Thanks
Reinhard


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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

Reply via email to