I have loaded a custom MIB into Zenoss but when SNMP traps arrive Zenoss doesnt print the description. It displays the OID of the trap.
I've checked in the MIB that the trap exists.
It feels like this MIB didnt get loaded completely.
I don't have any immediate ideas, but a little more info might invoke answers from someone that knows more about custom MIBS than I.
What version of Zenoss, which OS? Assuming you loaded the MIBS using the zenmib command? or did you take some other steps? Is there any output from the mibload (good or bad)? Have you tried loading the mib again (in case it did silently for some reason the 1st time)
Sorry to not be more helpful, but shy of someone else having the same experience a little more information might invoke some ideas.
As dpetzel syas, do provide us with a little more info.
Mib loading is one of the flakiest parts of Zenoss IMHO. Check on the Mibs page in the GUI - do you ACTUALLY have nodes and traps/notifications loaded - you should see numbers for each.
Mibs are a bit of a black art whatever your management system. If you look at the source file, there is usually an IMPORTS section near the top whichare pre-requisites for loading a Mib. If you have an enterprise specific Mib, it may have all sorts of pre-reqs from both standard mibs like SNMPv2-SMI, RFC1213, .... and pre-reqs from other enterprise specific mibs - which may themselves have pre-reqs. You need to get all the prereqs loaded up first, in the right order, before you actually get your mib loaded successfully.
I always do mib loading through the command line rather than the GUI because then you do at least see failure messages. Copy your mib source file to $ZENHOME/../common/share/mibs/site (I have a feeling that this directory may vary slightly depending on your architecture and Zenoss version - dig around until you find a mibs directory that has subdirs for ietf, site and 2-or-3 others). As the zenoss user, I use
zenmib run -v 10 <mib to load>
Even if you have pre-reqs loaded, I have found that sometimes you need to specify pre-reqs on the zenmib line so if you are still having problems loading mib C, having already loaded Mibs A and B, then try:
zenmib run -v 10 A B C
I have zenoss 3.2.1 running as a VM appliance.
After an import I see the MIB loaded in the MIB organizer.
I've tried loading it through command line and through the interface.
It says it was loaded successfully.
I dont think it requires specific pre-reqs because it is using unique OID for this particular vendor.
THe SNMP trap that comes in as OID. I was able to find it in the GUI in the MIB organizer that particular trap.
From my experiance many mibs released by manufacturers dont work and arent tested.
I suggested downloading a "mib browser" and loading the mib into it, just as a test to make sure its valid.
I did not get any errors while importing the mib. It loaded just fine. It shows in zenoss just fine as well.
The problem is that description of the traps dont get displayed as they come in. It shows OID numbers instead.
It feels like it is not using the MIB or something.
Does that make sense?
Yes, I understand your issue.
I have seen it but usually its caused by a bad mib or when loading the mib some other mibs it depends on is missing.
I am assuming you have restarted zenoss since this problem began
Yes, I have restarted zenoss service and the box itself.
I wonder if any of the imported MIBs work. Do you know if there is a way to test imported MIB?
I mean import some MIB generate an event and see if it works.
If you have some standard Linux boxes with net-snmp, import the net-snmp MIB and you should see translated enterprise-specific traps when you stop / start the snmpd agent.
In my experience, most of these do work.
Follow Us On Twitter »
||Latest from the Zenoss Blog »||Community||Products||Services||Customers||About Us|
Copyright © 2005-2011 Zenoss, Inc.