How to install additional SNMP MIBs in Ubuntu

First, download the standard set of MIBs using

example.sh
sudo apt -y install snmp-mibs-downloader

This will download all available MIBS files during package installation but if at any time you want to download/update them, use

example.sh
sudo download-mibs

After that, you’ll need to activate loading the MIBS for the SNMP client (original source for this command: @CameronSparr on medium.com):

example.sh
sudo sed -i 's/mibs :/# mibs :/g' /etc/snmp/snmp.conf

 


Check out similar posts by category: Networking, SNMP