On Sep 29, 2008, at 8:02 AM, kingpin wrote:
I am experiencing trouble importing MIBs. I’m trying to import
several CISCO mibs. None of them seem to succeed because of
dependency issues.
Example :
[EMAIL PROTECTED]:/usr/local/zenoss/common/share/mibs/site$ zenmib run
CISCO-PORT-STORM-CONTROL-MIB.my
INFO:zen.zenmib:Unable to find a file providing the MIB SNMPv2-SMI
INFO:zen.zenmib:Unable to find a file providing the MIB SNMPv2-CONF
INFO:zen.zenmib:Unable to find a file providing the MIB IF-MIB
INFO:zen.zenmib:Unable to find a file providing the MIB SNMPv2-TC
INFO:zen.zenmib:Unable to find a file providing the MIB CISCO-SMI
INFO:zen.zenmib:Loaded mib CISCO-PORT-STORM-CONTROL-MIB
I then try to resole the dependencies by including all missing mibs :
[EMAIL PROTECTED]:/usr/local/zenoss/common/share/mibs/site$ zenmib run
SNMPv2-SMI.my SNMPv2-CONF.my CISCO-SMI.my IF-MIB.my SNMPv2-MIB.my
IANAifType-MIB.my SNMPv2-TC.my CISCO-PORT-STORM-CONTROL-MIB.my
INFO:zen.zenmib:Loaded mib SNMPv2-SMI
INFO:zen.zenmib:Loaded mib SNMPv2-CONF
INFO:zen.zenmib:Loaded mib CISCO-SMI
sh: line 1: 8623 Segmentation fault smidump -fpython -p
"SNMPv2-SMI.my" -p "SNMPv2-TC.my" -p "SNMPv2-CONF.my" -p "SNMPv2-
MIB.my" -p "IANAifType-MIB.my" "IF-MIB.my" 2>/dev/null
ERROR:zen.zenmib:Failed to load mib: IF-MIB.my
sh: line 1: 8625 Segmentation fault smidump -fpython -p
"SNMPv2-SMI.my" -p "SNMPv2-TC.my" -p "SNMPv2-CONF.my" "SNMPv2-MIB.my"
2>/dev/null
ERROR:zen.zenmib:Failed to load mib: SNMPv2-MIB.my
sh: line 1: 8627 Segmentation fault smidump -fpython -p
"SNMPv2-SMI.my" -p "SNMPv2-TC.my" "IANAifType-MIB.my" 2>/dev/null
ERROR:zen.zenmib:Failed to load mib: IANAifType-MIB.my
ERROR:zen.zenmib:Failed to load mib: SNMPv2-TC.my
sh: line 1: 8631 Segmentation fault smidump -fpython -p
"SNMPv2-SMI.my" -p "SNMPv2-CONF.my" -p "IF-MIB.my" -p "SNMPv2-TC.my"
-p "SNMPv2-MIB.my" -p "IANAifType-MIB.my" -p "CISCO-SMI.my"
"CISCO-PORT-STORM-CONTROL-MIB.my" 2>/dev/null
ERROR:zen.zenmib:Failed to load mib: CISCO-PORT-STORM-CONTROL-MIB.my
What do these segmentation fault errors mean. How can I resolve this
issue?
Try putting the MIB you're trying to import and all of its
dependencies into that mibs/site/ directory and just running "zenmib
run" with no other parameters. This should cause zenmib to resolve the
dependencies out of that directory automatically.
I think I've seen these segfaults before when using the SNMPv2-* MIBs
downloaded from Cisco's site. Try deleting SNMPv2-*.my and copying in
the ones from /usr/share/snmp/mibs/ instead. These will work._______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users