Skip to content

Instantly share code, notes, and snippets.

View patrikarlos's full-sized avatar

Patrik Arlos patrikarlos

View GitHub Profile
@patrikarlos
patrikarlos / snmp-mibs-ubuntu-fix.md
Created July 1, 2026 13:50
Fix snmp-mibs-downloader MIB errors on Ubuntu 24.04/26.04 — missing IANA TC MIBs and IEEE MIBs

Fix SNMP MIB errors after snmp-mibs-downloader on Ubuntu 24.04 / 26.04

After running sudo download-mibs and adding mibs +ALL to /etc/snmp/snmp.conf, every snmpget call still floods stderr with errors like:

Cannot find module (IANA-BFD-TC-STD-MIB): At line 30 in /usr/share/snmp/mibs/ietf/BFD-STD-MIB
Cannot find module (IANA-SMF-MIB): At line 28 in /usr/share/snmp/mibs/ietf/SMF-MIB
Cannot find module (IANA-OLSRv2-LINK-METRIC-TYPE-MIB): At line 26 in /usr/share/snmp/mibs/ietf/OLSRv2-MIB
Cannot find module (IANA-ENERGY-RELATION-MIB): At line 22 in /usr/share/snmp/mibs/ietf/ENERGY-OBJECT-CONTEXT-MIB