Installing IETF MIB files in ubuntu 10.10

Ubuntu 10.10 (and I assume other Debian based distributions too) come without the IETF MIB files installed with the default Net-SNMP package.
This means you can’t query OIDs directly by name anymore, such as “system.sysUpTime.0″.

The easiest way to install the missing MIB files, is using the snmp-mibs-downloader package:

$ sudo apt-get install snmp-mibs-downloader
$ sudo download-mibs
$ sudo sed -i 's/^mibs/#mibs/g' /etc/snmp/snmp.conf
This entry was posted in linux, minipost and tagged , , . Bookmark the permalink.

4 Responses to Installing IETF MIB files in ubuntu 10.10

  1. Grant Emsley says:

    Thanks for this post. It was a big help.

    I had found the snmp-mibs-downloader package, but hadn’t realized I needed to edit snmp.conf for them to show up.

  2. Zwubber says:

    This really helped me, thanks!

  3. Ray says:

    Thanks a lot, simple, straight to the point!

  4. Juan says:

    Hello, I am having a problem because I have not snmp.config file where you have to comment out the lines mib, however I have only snmpd.config file. A may be due? How do I fix it? Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>