MIB errors

Albert Chin-A-Young (richard@fiu.edu)
Fri, 30 Sep 1994 03:55:44 -0400

Any chance for more verbose error reporting when parsing MIB files? I
have scotty 1.1, tkined 1.0.3 and am getting an error when reading the
following MIB file. I don't knowenough about MIBs to figure out the
problem but I'm trying. Any help would be appreciated.

Also, if you select the 'snmp-monitor' menu item to bring up the
'snmp-monitor' menu twice, you get two 'snmp-monitor' menus. You can
continue doing this. You can probably do it for any menu item that
brings up a menu.

albert

Error with MIB is generated on first ENTERPRISE line. You will note a
reference to IES.MIB. The same error occurs with this MIB file.
--- snip snip
CUBIX-BC-MIB DEFINITIONS ::= BEGIN

IMPORTS
enterprises, Counter FROM RFC1155-SMI
DisplayString FROM RFC1213-MIB;

cubix OBJECT IDENTIFIER ::= {enterprises 708}
mibdoc OBJECT IDENTIFIER ::= {cubix 1}
bcmib OBJECT IDENTIFIER ::= {mibdoc 1}

bcInformation OBJECT IDENTIFIER ::= {bcmib 1}

bcTable OBJECT-TYPE
SYNTAX SEQUENCE OF BcEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A table of BC information contained by a Cubix IES Module."
::={bcInformation 1}

CPRStatus ::= INTEGER {disabled(0), enabled(1)}

BCStatus ::= INTEGER
{startup(0), notAttached(1), offline(2), inReset(3), inactive(4), active(5)}

BCCommand ::= INTEGER
{reset(0), online(1), offline(2), enableCPR(3), disableCPR(4),
enablePOL(5), disablePOL(6), clearResetCounters(7), noCommand(8)}

bcEntry OBJECT-TYPE
SYNTAX BcEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"An entry in the BC table "
INDEX {bcDataHwy, bcGroup}

::= {bcTable 1}

BcEntry ::= SEQUENCE
{
bcDataHwyINTEGER,
bcGroup INTEGER,
bcAlias DisplayString (SIZE(0..31))
bcStatus BCStatus,
bcCprStatus CPRStatus,
bcPendOff CPRStatus,
bcCprResets Counter,
bcManResets Counter,
bcNorResets Counter,
bcCommand BCCommand
}

bcDataHwy OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The data highway number of the Cubix IES Module
monitoring this processor."
::={bcEntry 1}

bcGroup OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Group refers to the group of slots (segment) in which this processor
resides."
::={bcEntry 2}

bcAlias OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..31))
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The user-entered text description for a processor. The alias may contain
a maximum of 31 characters."
::={bcEntry 3}

bcStatus OBJECT-TYPE
SYNTAX BCStatus
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The current status of a BC processor. Indicated as:
active - The processor is responding to poll.
inactive - The processor is not responding to poll.
offline - The processor is being held offline.
reset - A hard reset has been initiated."
::={bcEntry 4}

bcCprStatus OBJECT-TYPE
SYNTAX CPRStatus
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The current status of the CPR (Cubix Processor Recovery function) of a
BC processor. Indicated as:
enabled - CPR is active for a processor (unresponsive processor will be reset)
disabled - CPR is inactive for a processor"
::={bcEntry 5}

bcPendOff OBJECT-TYPE
SYNTAX CPRStatus
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The current status of the pending Offline function of a BC processor.
Indicated as: enabled or disabled

If Pending Offline is enabled, when a processor is reset, it will be held
offline until a command is received to bring it back online.
This function allows for an orderly shutdown of a subsystem."
::={bcEntry 6}

bcCprResets OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of automatic resets sent to a processor (via a CPR reset)."
::={bcEntry 7}

bcManResets OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of times a user has reset a processor uing BCVision or SNMP."
::={bcEntry 8}

bcNorResets OBJECT-TYPE
SYNTAX Counter
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of normal (CTRL-ALT-DEL) resets of a processor."
::={bcEntry 9}

bcCommand OBJECT-TYPE
SYNTAX BCCommand
ACCESS read-write
STATUS mandatory
DESCRIPTION
"A command for a particular BC processor. The commands are as follows:
reset - resets a processor.
online - places a processor online.
offline - takes a processor offline.
enableCPR - enables the CPR (Cubix Processor Recovery) function
for a processor.
disableCPR - disables the CPR for a processor.
enablePO - enables Pending Offline function
disablePO - disables Pending Offline function
clearCtrs - clears the reset counters for a processor (cpr resets,
manual resets, and normal resets)."

::={bcEntry 10}

--
-- NOTE: Traps 1-24 defined in IES.MIB --
--

bcCPRReset TRAP-TYPE ENTERPRISE bcmib VARIABLES {bcDataHwy, bcGroup} DESCRIPTION "A BC processor has not responded to a CPR packet and has been reset." --#TYPE "BC CPR Reset" --#SUMMARY "Data Highway Address %d, Group %d: CPR reset" --#ARGUMENTS {0,1} --#SEVERITY MAJOR --#STATE OPERATIONAL ::= 25

bcCPRResetMax TRAP-TYPE ENTERPRISE bcmib VARIABLES {bcDataHwy, bcGroup} DESCRIPTION "A BC processor has not responded to a CPR packet and has been reset more than 254 times." --#TYPE "BC CPR Reset" --#SUMMARY "Data Highway Address %d, Group %d: More than 254 CPR resets" --#ARGUMENTS {0,1} --#SEVERITY MAJOR --#STATE OPERATIONAL ::= 26

bcPOLReset TRAP-TYPE ENTERPRISE bcmib VARIABLES {bcDataHwy, bcGroup} DESCRIPTION "A BC processor has gone offline and a pending offline took affect." --#TYPE "BC POL Reset" --#SUMMARY "Data Highway Address %d, Group %d: POL took affect" --#ARGUMENTS {0,1} --#SEVERITY INFORMATIONAL --#STATE OPERATIONAL ::= 27

bcPOLResetMax TRAP-TYPE ENTERPRISE bcmib VARIABLES {bcDataHwy, bcGroup} DESCRIPTION "A BC processor has gone offline and pending offlines have taken affect more than 254 times." --#TYPE "BC POL Reset" --#SUMMARY "Data Highway Address %d, Group %d: More than 254 POLs took affect" --#ARGUMENTS {0,1} --#SEVERITY INFORMATIONAL --#STATE OPERATIONAL ::= 28

END