Server Management - Systems Insight Manager
1835424 Members
2575 Online
110078 Solutions
New Discussion

Errors registering rfc2863.cfg using mxmib

 
Gary Cooper_1
Esteemed Contributor

Errors registering rfc2863.cfg using mxmib

Hi Guys,

I compile rfc2863.mib:

> mcompile rfc2863.mib
HP Systems Insight Manager Mib Compiler, Version 1.0
Copyright (c) 2003 Hewlett Packard Corporation
Compiling rfc2863.mib
Processing import file: SNMPv2-SMI.mib
Processing import file: SNMPv2-TC.mib
Processing import file: SNMPv2-CONF.mib
Processing import file: snmpv2.mib
Processing import file: ianaiftype.mib
Mib Compilation completed successfully

Then when I attempt to register it, I get:

> mxmib -a rfc2863.cfg
IMPORTING CFG rfc2863.cfg
Error: File 'rfc2863.cfg' Error reading MIB: OBJECT-TYPE: Unexpected word in macro Line: 806
AN ERROR OCCURRED EXECUTING THE COMMAND

I don't know if it's relevent, but the Section of the MIB seems to be the the first instance of the Counter64 construct in the main body of the MIB...

ifHCInOctets OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of octets received on the interface,
including framing characters. This object is a 64-bit
version of ifInOctets.

Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { ifXEntry 6 }

It gets converted to:

ifHCInOctets OBJECT-TYPE
SYNTAX (null)
ACCESS read-only
STATUS mandatory
DESCRIPTION "The total number of octets received on the interface,
including framing characters. This object is a 64-bit
version of ifInOctets.

Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
::= { ifXEntry 6 }

I've tried a different source for rfc2863.mib, i.e. downlading it from http://www.mibdepot.com
and get the same result. There is another version of the rfc2863 MIB on the aforementioned web site, but it is the one supplied by Avaya. It has a whole chunk missing from the end of the MIB, but I haven't tried using it.

By the way, has anyone had any luck talking to someone from HP support about SIM issues? Trying to get through to the right department using the menu system on the phone is impossible!

Any help would be much appreciated.

Thanks,

Gary