How to install additional SNMP MIBs in Ubuntu

First, download the standard set of MIBs using

install_snmp_mibs.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

download_mibs.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):

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

 


Check out similar posts by category: Networking, SNMP