> On a system reporting temperatures via "sensors", trying to enumerate the > corresponding OIDs via: > snmpwalk -v 2c -c public localhost LM-SENSORS-MIB::lmSensors > yields no result. > $ snmpwalk -v 2c -c public 127.0.0.1 LM-SENSORS-MIB::lmSensors | grep ': temp[0-9]' LM-SENSORS-MIB::lmTempSensorsDevice.1 = STRING: temp1 LM-SENSORS-MIB::lmTempSensorsDevice.2 = STRING: temp2 LM-SENSORS-MIB::lmTempSensorsDevice.3 = STRING: temp3 LM-SENSORS-MIB::lmTempSensorsDevice.4 = STRING: temp4 LM-SENSORS-MIB::lmTempSensorsDevice.5 = STRING: temp5 LM-SENSORS-MIB::lmTempSensorsDevice.6 = STRING: temp6
This is with snmpd 5.9.4 but there shouldn't be that much of a change. $ net-snmp-config --snmpd-module-list | grep -o 'ucd-snmp/lmsensorsMib' ucd-snmp/lmsensorsMib Try something like: $ sudo snmpd -Lo -u Debian-snmp -g Debian-snmp -f -Ducd-snmp/lmsensorsMib and run your walk again you should get a lot of messages like: Connection from UDP: [127.0.0.1]:40280->[127.0.0.1]:161 ucd-snmp/lmsensorsMib: lmSensorsTables_handler - root: LM-SENSORS-MIB::lmTempSensorsTable, mode 160 - Craig