I am trying to load mibs in Zenoss using this command:
[EMAIL PROTECTED] site]# /opt/zenoss/bin/zenmib run
I keep getting the following errors:
ERROR:zen.zenmib:Failed to load mib: /opt/zenoss/share/mibs/site/
cpqwinos.mib
ERROR:zen.zenmib:Failed to load mib: /opt/zenoss/share/mibs/site/
cisco-port-security-mib.mib
ERROR:zen.zenmib:Failed to load mib: /opt/zenoss/share/mibs/site/
cisco-nac-nad.mib
ERROR:zen.zenmib:Failed to load mib: /opt/zenoss/share/mibs/site/
cpqapli.mib
ERROR:zen.zenmib:Failed to load mib: /opt/zenoss/share/mibs/site/
cpqscsi.mib
ERROR:zen.zenmib:Failed to load mib: /opt/zenoss/share/mibs/site/
cisco-igmp-filter.mib
ERROR:zen.zenmib:Failed to load mib: /opt/zenoss/share/mibs/site/
snmp-framework-mib.mib
ERROR:zen.zenmib:Failed to load mib: /opt/zenoss/share/mibs/site/
snmp-mpd-mib.mib
There is some extra debugging you can do with zenmib to get to the
root of why it would fail to load one of these MIBs. If you run
"zenmib run -v 10" you will actually see the smidump commands that
zenmib uses to parse the MIB files. For example..
smidump -fpython -p "/opt/zenoss/share/mibs/ietf/RFC1155-SMI" -p "/
opt/zenoss/share/mibs/ietf/RFC-1212" -p "/opt/zenoss/share/mibs/ietf/
RFC1158-MIB" -p "/opt/zenoss/share/mibs/ietf/RFC-1215" -p "/opt/zenoss/
share/mibs/ietf/RFC1213-MIB" "/opt/zenoss/share/mibs/site/castironsys-
MIB.txt" 2>/dev/null
If you then run that smidump command without the trailing "2>/dev/
null" any MIB decoding errors will be printed right to the console.
This should help you understand why the MIB failed to load.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users