|
|
This appendix provides a formal definition of the StrataView SNMP Proxy Agent Robust Trap Mechanism (RTM ) Management Information Base (MIB).
----------------------------------------------------------------------------
--
-- Robust Trap Mechanism (RTM) MIB
--
----------------------------------------------------------------------------
-- Since this MIB is common to agents such as AXIS and INS, it is provided a
-- a distinct branch under StrataCom MIB
RTM-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises,Counter, TimeTicks FROM RFC1155-SMI
TRAP-TYPE,OBJECT-TYPE FROM RFC-1212
DisplayString FROM RFC1213-MIB;
stratacom OBJECT IDENTIFIER ::= { enterprises 351 }
-- snmpAgents OBJECT IDENTIFIER ::= { stratacom 100 }
-- basis OBJECT IDENTIFIER ::= { stratacom 110 }
rtm OBJECT IDENTIFIER ::= { stratacom 120 }
-- ipx OBJECT IDENTIFIER ::= { snmpAgents 1 }
-- bpx OBJECT IDENTIFIER ::= { snmpAgents 2 }
trapsConfig OBJECT IDENTIFIER ::= { rtm 1}
----------------------------------------------------------------------------
-- Group "trapConfigTable"
----------------------------------------------------------------------------
trapConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF TrapConfigEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The table has the information on the manager receiving traps
"
::= { trapsConfig 1 }
----------------------------------------------------------------------------
trapConfigEntry OBJECT-TYPE
SYNTAX TrapConfigEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"An entry for the manager
"
INDEX { managerIPaddress }
::= { trapConfigTable 1 }
TrapConfigEntry ::=
SEQUENCE {
managerIPaddress IpAddress,
managerPortNumber INTEGER,
managerRowStatus INTEGER,
readingTrapsFlag INTEGER,
nextTrapSeqNum INTEGER
}
managerIPaddress OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"IP address of the manager used as an index to the table.
This manager receives the traps from AXIS.
The traps are defined in another document.
"
::= { trapConfigEntry 1 }
managerPortNumber OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Port number on which the manager receives traps from an agent.
"
::= { trapConfigEntry 2}
managerRowStatus OBJECT-TYPE
SYNTAX INTEGER {
addRow (1),
delRow (2)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"When the manager registers with the agent, this is set to
addRow. This variable is checked by the manager's keep-alive
request (to find if it is registered with the agent.
"
::= { trapConfigEntry 3}
readingTrapsFlag OBJECT-TYPE
SYNTAX INTEGER {
false(1),
true(2)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"An entry for the state of the manager - reading
or not reading traps from the agent
"
::= { trapConfigEntry 4}
nextTrapSeqNum OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Set by the manager to indicate the first trap it is
interested in uploading. The agent updates the nextTrapPointer
internally to point to FIFO trap with sequence number equals
to nextTrapSeqNum. If there is no trap in the FIFO with this
sequence number, the agent will set nextTrapPointer to the
head of FIFO and return an error response.
"
::= { trapConfigEntry 5}
----------------------------------------------------------------------------
managerNumOfValidEntries OBJECT-TYPE
SYNTAX INTEGER (0..8)
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of managers in the table that are programmed to
receive traps
"
::= { trapsConfig 2 }
lastSequenceNumber OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The sequence number of the last trap generated on the agent
"
::= { trapsConfig 3}
----------------------------------------------------------------------------
-- Group "trapUploadTable"
----------------------------------------------------------------------------
trapUploadTable OBJECT-TYPE
SYNTAX SEQUENCE OF TrapConfigEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The table used by the manager to retrieve missing traps
using robust trap mechanism.
The manager does a Get request on this table.
"
::= { trapsConfig 4}
----------------------------------------------------------------------------
TrapUploadEntry ::=
SEQUENCE {
trapManagerIPaddress IpAddress,
trapSequenceNum INTEGER,
trapPduString DisplayString,
endOfQueueFlag INTEGER
}
trapManagerIPaddress OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"IP address of the manager used as an index to the table.
This manager receives the traps from AXIS.
The traps are defined in another document."
::= { trapUploadEntry 1 }
trapSequenceNum OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The sequence number associated with the trap"
::= { trapUploadEntry 2}
trapPduString OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Trap description string"
::= { trapUploadEntry 3}
endOfQueueFlag OBJECT-TYPE
SYNTAX INTEGER {
false (1),
true (2)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Flag indicating the last trap saved in the agent's FIFO queue. "
::= { trapUploadEntry 4}
----------------------------------------------------------------------------
END
|
|