Having a strange problem using Ubuntu 15.10. Yesterday I had to do a reboot due to a system update, and after the reboot 2 of the MIBs I use - LM-SENSORS-MIB and UCD-DISKIO-MIB do not work in snmpwalk. I can still find the OID with snmptranslate, and it's installed in /usr/share/snmp/mibs.
snmptranslate -IR -On LM-SENSORS-MIB::lmTempSensorsValue.6 .188.8.131.52.4.1.2021.13.16.2.1.3.6
^ works to find the OID, but below does not find anything except what I typed:
snmpwalk localhost . | grep lmTemp HOST-RESOURCES-MIB::hrSWRunParameters.28399 = STRING: "--color=auto lmTemp"
It's not seeing the OID either:
snmpwalk localhost . | grep 2021.13.16.2.1.3.6
Verified it's installed:
ls /usr/share/snmp/mibs/LM* /usr/share/snmp/mibs/LM-SENSORS-MIB.txt
Contents of /etc/default/snmp:
cat /etc/default/snmpd # This file controls the activity of snmpd # Don't load any MIBs by default. # You might comment this lines once you have the MIBs downloaded. #export MIBS= # snmpd control (yes means start daemon). SNMPDRUN=yes # snmpd options (use syslog, close stdin/out/err). SNMPDOPTS='-Lsd -Lf /dev/null -u root -g 0 -I -smux,mteTrigger,mteTriggerConf -p /run/snmpd.pid'
Note - I do have mibs +ALL in the /etc/snmp/snmpd.conf file.