OK, now I found out that if zenmib tries to load the file "3COM0045.MIB", it
imports the MIB "A3Com-products-MIB" into Zenoss, but without any nodes or
notifications. Could this be the error? Below is the log of an import of
"3COM0045.MIB":
>
> [EMAIL PROTECTED]:/home/KOBLENZ/barth$ /usr/local/zenoss/zenoss/bin/zenmib
> run -v10 /usr/local/zenoss/common/share/mibs/site/3COM0045.MIB
> INFO:zen.zenmib:Skipping file
> /usr/local/zenoss/common/share/mibs/site/3COM0045.MIB
> DEBUG:zen.zenmib:3COM0045.MIB
> DEBUG:zen.zenmib:running smidump -fpython
> "/usr/local/zenoss/common/share/mibs/site/3COM0045.MIB" 2>/dev/null
> INFO:zen.zenmib:Loaded mib A3Com-products-MIB
>
Below is a smidump of the file:
>
> [EMAIL PROTECTED]:/home/KOBLENZ/barth$ smidump -fpython
> "/usr/local/zenoss/common/share/mibs/site/3COM0045.MIB"
> /usr/local/zenoss/common/share/mibs/site/3COM0045.MIB:785: failed to locate
> MIB module `RFC1155-SMI'
> /usr/local/zenoss/common/share/mibs/site/3COM0045.MIB:787: unknown object
> identifier label `enterprises'
> smidump: module `/usr/local/zenoss/common/share/mibs/site/3COM0045.MIB'
> contains errors, expect flawed output
> # python version 1.0 DO NOT EDIT
> #
> # Generated by smidump version 0.4.5:
> #
> # smidump -f python A3Com-products-MIB
>
> FILENAME = "/usr/local/zenoss/common/share/mibs/site/3COM0045.MIB"
>
> MIB = {
> "moduleName" : "A3Com-products-MIB",
>
> "A3Com-products-MIB" : {
> "nodetype" : "module",
> "language" : "SMIv1",
> },
>
> "imports" : (
> {"module" : "", "name" : "enterprises"},
> ),
>
> }
>
As you may note there are errors at the top of this output - what do they mean
and why doesn't zenmib tell me to include RFC1155-SMI if smidump needs it?
Any help is appreciated,
tinLoaf
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=24100#24100
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users