
8 Jun
2007
8 Jun
'07
9:45 a.m.
I have used the off-the-shelf FreeBSD libsmi 0.4.5 using MIBs installed with libsmi.
1. RFC1158-MIB according to smilint contains lots of errors, I think that until they are fixed there is little chance to get the smidump output right. Have you tried RFC1213-MIB instead? This one generates output (attached) that looks like sensible XML to me.
RFC 1158 was obsoleted by RFC 1213.
2. Following command-line:
smidump -f xml -pSNMPv2-SMI -pSNMPv2-TC -pSNMPv2-CONF -pIF-MIB\ -pTOKEN-RING-RMON-MIB -pRMON-MIB -oRMON2-MIB.xml RMON2-MIB
using MIBs that come with libsmi gives me result attached.
Can you check your libsmi installation? Please note I am not using dots and slashes in the module names.
Are you using libsmi-provided MIBs?
--
<< Marcin Cieslak // saper@saper.info >>