If you encounter error something like this:

Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)

Then, where are in the same path. Path where we searching for the answers. XD
So, here is the solution to solve this error.

First, edit this sources.list file:

sudo vi /etc/apt/sources.list

add this line to the end of file:

deb http://fr.archive.ubuntu.com/ubuntu precise main multiverse

:w to save and :q to exit vi editor

Then, install this packages:

sudo apt-get install snmpd snmp-mibs-downloader

And then run this:

sudo download-mibs

Voila! Done. Hope it helps. 🙂

By zam

One thought on “SNMP Cannot Find Module on Ubuntu 14.04”
  1. I can’t seem to find a solution for:

    “cp: cannot stat ‘/usr/share/doc/mibrfcs/*’: No such file or directory
    Downloading the MIBs failed.”

    Any ideas?

Any Comments?

This site uses Akismet to reduce spam. Learn how your comment data is processed.