Downloading & Installing Common SNMP MIBs on Ubuntu

# installs SNMP package:
sudo apt-get install snmp
# downloads common SNMP MIBs:
sudo apt-get install snmp-mibs-downloader
# tells Ubuntu to load SNMP MIB files:
sudo sed -i 's/mibs :/# mibs :/g' /etc/snmp/snmp.conf
$ snmptranslate -On -IR ifTable
.1.3.6.1.2.1.2.2
$ snmptranslate .1.3.6.1.2.1.2.2
IF-MIB::ifTable

--

--

Go & Software enthusiast. Working at @InfluxDB. Huge fan of @Marutaro2000.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cameron Sparr

Cameron Sparr

47 Followers

Go & Software enthusiast. Working at @InfluxDB. Huge fan of @Marutaro2000.