Thanks Chet,
smidump identified, and I fixed, one issue. However, it's still failing to
load, and smidump doesn't appear to be flagging anything.
Ken....
----- Original Message -----
From: "Chet Luther" <[EMAIL PROTECTED]>
To: "General discussion of using zenoss system" <[email protected]>
Sent: Saturday, July 07, 2007 12:54 PM
Subject: Re: [zenoss-users] Failed to load mib...
On Jul 6, 2007, at 10:58 PM, [EMAIL PROTECTED] wrote:
I'm trying to load my MIB with zenmib, and am getting the following:
[EMAIL PROTECTED] ~]# /opt/zenoss/bin/zenmib run KWARED-MIB.txt
INFO:zen.zenmib:Skipping file /opt/zenoss/share/mibs/irtf/IRTF-NMRG-
SMING
INFO:zen.zenmib:Skipping file /opt/zenoss/share/mibs/irtf/IRTF-NMRG-
SMING-TYPES
INFO:zen.zenmib:Skipping file /opt/zenoss/share/mibs/irtf/IRTF-NMRG-
SMING-EXTENSIONS
ERROR:zen.zenmib:Failed to load mib: KWARED-MIB.txt
[EMAIL PROTECTED] ~]#
Ken,
You should put all of the MIB files you want to add into your
$ZENHOME/share/mibs/site directory, then run "zenmib run" with no other
arguments. This will allow Zenoss to sort out of all the dependencies.
If it still fails to load the MIB, you can run "zenmib run -v 10" to get
extra debugging output. You'll see the smidump command that zenmib runs
to extract the data from the MIB. You can run this smidump command
without the 2>/dev/null argument to see the real debugging output.
As an example:
zenmib run -v 10
...
DEBUG:zen.zenmib:running smidump -fpython -p "/opt/zenoss/share/mibs/
ietf/SNMPv2-SMI" -p "/opt/zenoss/share/mibs/ietf/SNMPv2-TC" -p "/opt/
zenoss/share/mibs/ietf/SNMPv2-CONF" "/opt/zenoss/share/mibs/site/
Juniper-BGP-MIB.mib" 2>/dev/null
...
smidump -fpython -p "/opt/zenoss/share/mibs/ietf/SNMPv2-SMI" -p "/
opt/zenoss/share/mibs/ietf/SNMPv2-TC" -p "/opt/zenoss/share/mibs/ietf/
SNMPv2-CONF" "/opt/zenoss/share/mibs/site/Juniper-BGP-MIB.mib"
... smidump output ...
Chet Luther
[EMAIL PROTECTED]
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users