Problems with MIBS included with observium...
![](https://secure.gravatar.com/avatar/23ed4a33d0b9dbf89145dec889cdcf4d.jpg?s=120&d=mm&r=g)
Hello,
Does anyone else see a large number of MIBs that cause errors when attempting to do snmp walks/gets? When I had the free version of Observium, I simply removed the offending MIBs from /opt/observium/mibs but since I have moved to the SVN version, this may become more of an annoyance since I will be updating frequently, and may actually need the MIBs as I find other uses for Observium.
I'm getting many errors similar to this:
Cannot find module (ZYXEL-MIB): At line 10 in /opt/observium/mibs/220AQV1C0-private
However, in this case (and probably many others) ZYXEL-MIB exists just fine in /opt/observium/mibs/zyxel/ZYXEL-MIB.
My snmp.conf is as follows:
/opt/observium/mibs# cat /etc/snmp/snmp.conf # # As the snmp packages come without MIB files due to license reasons, loading # of MIBs is disabled by default. If you added the MIBs you can reenable # loaging them by commenting out the following line. #mibDirs +/sw/share/snmp/mibs:/usr/share/mibs/netsnmp:/opt/observium/mibs mibDirs +/opt/observium/mibs mibs all showMibErrors no
I am sure I'm just missing something simple but it's escaping me at the moment.
Thanks, Ricardo Meleschi
![](https://secure.gravatar.com/avatar/23ed4a33d0b9dbf89145dec889cdcf4d.jpg?s=120&d=mm&r=g)
Abort, Abort! I took out the "mibs all" statement and my problem went away. I should have tried that first!
Thanks, Ricardo
On Mar 19, 2014, at 6:12 PM, Ricardo M Meleschi wrote:
Hello,
Does anyone else see a large number of MIBs that cause errors when attempting to do snmp walks/gets? When I had the free version of Observium, I simply removed the offending MIBs from /opt/observium/mibs but since I have moved to the SVN version, this may become more of an annoyance since I will be updating frequently, and may actually need the MIBs as I find other uses for Observium.
I'm getting many errors similar to this:
Cannot find module (ZYXEL-MIB): At line 10 in /opt/observium/mibs/220AQV1C0-private
However, in this case (and probably many others) ZYXEL-MIB exists just fine in /opt/observium/mibs/zyxel/ZYXEL-MIB.
My snmp.conf is as follows:
/opt/observium/mibs# cat /etc/snmp/snmp.conf # # As the snmp packages come without MIB files due to license reasons, loading # of MIBs is disabled by default. If you added the MIBs you can reenable # loaging them by commenting out the following line. #mibDirs +/sw/share/snmp/mibs:/usr/share/mibs/netsnmp:/opt/observium/mibs mibDirs +/opt/observium/mibs mibs all showMibErrors no
I am sure I'm just missing something simple but it's escaping me at the moment.
Thanks, Ricardo Meleschi
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
On 2014-03-19 17:30, Ricardo M Meleschi wrote:
Abort, Abort! I took out the "mibs all" statement and my problem went away. I should have tried that first!
It's literally impossible to make all of the mibs load cleanly, especially Juniper and Cisco who keep making conflicting MIBs.
The error you reported seems to be a MIB in the wrong place, though.
Note, that only using observium/mibs/ won't show you all of our MIBs, and as time goes on we move more and more out of the root into subdirectories for easier management.
adam.
participants (2)
-
Adam Armstrong
-
Ricardo M Meleschi