I compile net-snmp-5.4.1 as follows:
# cd net-snmp-5.4.1
# ./configure --with-libs=/usr/local/lib/libsensors.a
--with-defaults --with-openssl=/
--with-mib-modules="dev/ent ucd-snmp/lmSensors"
--with-out-mib-modules="agent_mibs utilities"

Then I install it and test it like this:
$ snmpwalk -v 3 -u admin -l authPriv -a MD5 -A
12345678 -x DES -X 87654321 mypc lmSensors
LM-SENSORS-MIB::lmSensors = No Such Object available
on this agent at this OID

Another pc had net-snmp-5.0.9 compiled and installed
in the same configure option and it worked.
$ snmpwalk -v 3 -u admin -l authPriv -a MD5 -A
12345678 -x DES -X 87654321 mypc2 lmSensors
LM-SENSORS-MIB::lmTempSensorsIndex.1 = INTEGER: 15
LM-SENSORS-MIB::lmTempSensorsIndex.2 = INTEGER: 0
LM-SENSORS-MIB::lmTempSensorsDevice.1 = STRING: M/B
Temp
...

Please help.
Thanks.


      Looking for a X-Mas gift?  Everybody needs a Flickr Pro Account.

 

http://www.flickr.com/gift/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to