Blame mibs/tubs/TUBS-IBR-TNM-MIB

Packit 022b05
TUBS-IBR-TNM-MIB DEFINITIONS ::= BEGIN
Packit 022b05
Packit 022b05
-- @(#) $Id: TUBS-IBR-TNM-MIB 807 2000-02-12 11:52:35Z strauss $
Packit 022b05
Packit 022b05
IMPORTS
Packit 022b05
    MODULE-IDENTITY, OBJECT-TYPE, Counter32, Integer32, Unsigned32
Packit 022b05
        FROM SNMPv2-SMI
Packit 022b05
    TEXTUAL-CONVENTION, DisplayString, RowStatus, DateAndTime,
Packit 022b05
    TruthValue, TimeStamp, TAddress
Packit 022b05
	FROM SNMPv2-TC
Packit 022b05
    ibr
Packit 022b05
	FROM TUBS-SMI;
Packit 022b05
Packit 022b05
tnmMIB MODULE-IDENTITY
Packit 022b05
    LAST-UPDATED "200002090000Z"
Packit 022b05
    ORGANIZATION "TU Braunschweig"
Packit 022b05
    CONTACT-INFO
Packit 022b05
	"Juergen Schoenwaelder
Packit 022b05
	 TU Braunschweig
Packit 022b05
	 Bueltenweg 74/75
Packit 022b05
	 38106 Braunschweig
Packit 022b05
	 Germany
Packit 022b05
Packit 022b05
	 Tel: +49 531 391 3283
Packit 022b05
	 Fax: +49 531 391 5936
Packit 022b05
	 E-mail: schoenw@ibr.cs.tu-bs.de"
Packit 022b05
    DESCRIPTION
Packit 022b05
            "Experimental MIB modules for tnm based agents."
Packit 022b05
    REVISION	"200002090000Z"
Packit 022b05
    DESCRIPTION
Packit 022b05
	"Updated IMPORTS and minor stylistic fixes."
Packit 022b05
    REVISION	"9702141023Z"
Packit 022b05
    DESCRIPTION
Packit 022b05
	"Various cleanups to make the module conforming to SNMPv2 SMI."
Packit 022b05
    REVISION	"9607152024Z"
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The initial revision of this module."
Packit 022b05
    ::= { ibr 1 }
Packit 022b05
Packit 022b05
-- the tnm group
Packit 022b05
Packit 022b05
tnmStatus OBJECT IDENTIFIER ::= { tnmMIB 1 }
Packit 022b05
Packit 022b05
tnmVersion OBJECT-TYPE
Packit 022b05
    SYNTAX	DisplayString
Packit 022b05
    MAX-ACCESS	read-only
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The version number of the tnm agent."
Packit 022b05
    ::= { tnmStatus 1 }
Packit 022b05
Packit 022b05
tnmTclVersion OBJECT-TYPE
Packit 022b05
   SYNTAX	DisplayString
Packit 022b05
   MAX-ACCESS	read-only
Packit 022b05
   STATUS	current
Packit 022b05
   DESCRIPTION
Packit 022b05
	"The version number of the running Tcl interpreter."
Packit 022b05
   ::= { tnmStatus 2 }
Packit 022b05
Packit 022b05
tnmTclCmdCount OBJECT-TYPE
Packit 022b05
    SYNTAX	Counter32
Packit 022b05
    MAX-ACCESS	read-only
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION	
Packit 022b05
	"The nummber of Tcl statements evaluated so far."
Packit 022b05
    ::= { tnmStatus 3 }
Packit 022b05
Packit 022b05
tnmDate OBJECT-TYPE
Packit 022b05
    SYNTAX	DateAndTime
Packit 022b05
    MAX-ACCESS	read-only
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION	
Packit 022b05
	"The current date."
Packit 022b05
    ::= { tnmStatus 4 }
Packit 022b05
Packit 022b05
tnmTrapDst OBJECT-TYPE
Packit 022b05
    SYNTAX	DisplayString
Packit 022b05
    MAX-ACCESS	read-write
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The host name of the trap sink host."
Packit 022b05
    ::= { tnmStatus 5 }
Packit 022b05
Packit 022b05
tnmTrapMsg OBJECT-TYPE
Packit 022b05
    SYNTAX	DisplayString
Packit 022b05
    MAX-ACCESS	read-only
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The description of the last trap create by this entity."
Packit 022b05
    ::= { tnmStatus 6 }
Packit 022b05
Packit 022b05
-- the download mechanism
Packit 022b05
Packit 022b05
tnmDownload OBJECT IDENTIFIER ::= { tnmMIB 2 }
Packit 022b05
Packit 022b05
URL ::= TEXTUAL-CONVENTION
Packit 022b05
    DISPLAY-HINT	"255a"
Packit 022b05
    STATUS		current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"A uniform ressource locator as defined in RFC 1738."
Packit 022b05
    SYNTAX OCTET STRING (SIZE (0..255))
Packit 022b05
Packit 022b05
tnmHttpProxy OBJECT-TYPE
Packit 022b05
    SYNTAX	DisplayString
Packit 022b05
    MAX-ACCESS	read-write
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"This variable specifies the proxy server. It must be of the
Packit 022b05
	 form <name>[:<port>] where <name> is either a domain name
Packit 022b05
	 or an IP address and <port> is the port number used to access
Packit 022b05
	 the proxy server. The default port number is 80."
Packit 022b05
    ::= { tnmDownload 1 }
Packit 022b05
Packit 022b05
tnmHttpSource OBJECT-TYPE
Packit 022b05
    SYNTAX	URL
Packit 022b05
    MAX-ACCESS	read-write
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"Setting this variable will make tnm to download
Packit 022b05
	 and source the document with the given URL. The agent
Packit 022b05
	 will try to retrieve the document and sets the variable
Packit 022b05
	 to the URL if this operations was successfull. 
Packit 022b05
	 Otherwise, the value will become an empty string."
Packit 022b05
    ::= { tnmDownload 2 }
Packit 022b05
Packit 022b05
tnmHttpError OBJECT-TYPE
Packit 022b05
    SYNTAX	DisplayString
Packit 022b05
    MAX-ACCESS	read-only
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"This variable contains an error string is an http
Packit 022b05
	 operation fails. An empty string signals that the
Packit 022b05
	 last operation completed successfully."
Packit 022b05
    ::= { tnmDownload 3 }
Packit 022b05
Packit 022b05
-- the peer table
Packit 022b05
Packit 022b05
tnmPeers OBJECT IDENTIFIER ::= { tnmMIB 3 }
Packit 022b05
Packit 022b05
tnmPeerTable OBJECT-TYPE
Packit 022b05
    SYNTAX	SEQUENCE OF TnmPeerEntry
Packit 022b05
    MAX-ACCESS	not-accessible
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"A (conceptual) table storing known tnm peers."
Packit 022b05
    ::= { tnmPeers 1 }
Packit 022b05
Packit 022b05
tnmPeerEntry OBJECT-TYPE
Packit 022b05
    SYNTAX	TnmPeerEntry
Packit 022b05
    MAX-ACCESS	not-accessible
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"An entry (conceptual row) in the peer table."
Packit 022b05
    INDEX { tnmPeerTAddress }
Packit 022b05
    ::= { tnmPeerTable 1 }
Packit 022b05
Packit 022b05
TnmPeerEntry ::= SEQUENCE {
Packit 022b05
    tnmPeerTAddress	TAddress,
Packit 022b05
    tnmPeerAuth		OCTET STRING,
Packit 022b05
    tnmPeerState	INTEGER,
Packit 022b05
    tnmPeerLastChecked	TimeStamp,
Packit 022b05
    tnmPeerStatus	RowStatus
Packit 022b05
}
Packit 022b05
Packit 022b05
tnmPeerTAddress OBJECT-TYPE
Packit 022b05
    SYNTAX	TAddress
Packit 022b05
    MAX-ACCESS	read-create
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The address and port number of the peer agent."
Packit 022b05
    ::= { tnmPeerEntry 1 }
Packit 022b05
Packit 022b05
tnmPeerAuth OBJECT-TYPE
Packit 022b05
    SYNTAX	OCTET STRING
Packit 022b05
    MAX-ACCESS	read-create
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The authentication information for this peer. This will
Packit 022b05
	 usually be a community string until we get the final SNMPv2
Packit 022b05
	 decisions about the security model."
Packit 022b05
    ::= { tnmPeerEntry 2 }
Packit 022b05
Packit 022b05
tnmPeerState OBJECT-TYPE
Packit 022b05
    SYNTAX	INTEGER { up(1), down(2) }
Packit 022b05
    MAX-ACCESS	read-create
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The current status of the peer as returned by the last
Packit 022b05
	status probe message."
Packit 022b05
    ::= { tnmPeerEntry 3 }
Packit 022b05
Packit 022b05
tnmPeerLastChecked OBJECT-TYPE
Packit 022b05
    SYNTAX	TimeStamp
Packit 022b05
    MAX-ACCESS	read-create
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The value of sysUpTime when the status of the peer was
Packit 022b05
	 retrieved and written to tnmPeerState."
Packit 022b05
    ::= { tnmPeerEntry 4 }
Packit 022b05
Packit 022b05
tnmPeerStatus OBJECT-TYPE
Packit 022b05
    SYNTAX	RowStatus
Packit 022b05
    MAX-ACCESS	read-create
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The status column used for creating, modifying,
Packit 022b05
	and deleting instances of the columnar objects in
Packit 022b05
	the tnm peer table."
Packit 022b05
    DEFVAL  { active }
Packit 022b05
    ::= { tnmPeerEntry 5 }
Packit 022b05
Packit 022b05
-- election section
Packit 022b05
Packit 022b05
tnmElection OBJECT IDENTIFIER ::= { tnmMIB 4 }
Packit 022b05
Packit 022b05
tnmElectionIndex OBJECT-TYPE
Packit 022b05
    SYNTAX	Unsigned32
Packit 022b05
    MAX-ACCESS	read-only
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The (hopefully) unique index of this peer used by the
Packit 022b05
	 bully election algorithm."
Packit 022b05
    ::= { tnmElection 1 }
Packit 022b05
Packit 022b05
tnmElectionPanic OBJECT-TYPE
Packit 022b05
    SYNTAX	TruthValue
Packit 022b05
    MAX-ACCESS	read-only
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"Reading this variable will start the panic algorithm
Packit 022b05
	 on this peer. (We should use an inform request here.)"
Packit 022b05
    ::= { tnmElection 2 }
Packit 022b05
Packit 022b05
tnmElectionMaster OBJECT-TYPE
Packit 022b05
    SYNTAX	TAddress
Packit 022b05
    MAX-ACCESS	read-write
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"This variable will be set by a new master appearing
Packit 022b05
	 on the scene. (We should use an inform request here.)"
Packit 022b05
    ::= { tnmElection 3 }
Packit 022b05
Packit 022b05
-- the tnmEvalTable example adopted from RFC 1442
Packit 022b05
Packit 022b05
tnmEval OBJECT IDENTIFIER ::= { tnmMIB 5 }
Packit 022b05
Packit 022b05
tnmEvalSlot OBJECT-TYPE
Packit 022b05
    SYNTAX	Integer32
Packit 022b05
    MAX-ACCESS	read-only
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The index number of the first unassigned entry in
Packit 022b05
	 the evaluation table.	
Packit 022b05
Packit 022b05
	 A management station should create new entries in
Packit 022b05
	 the evaluation table using this algorithm: first,
Packit 022b05
	 issue a management protocol retrieval operation to
Packit 022b05
	 determine the value of evalSlot; and, second,
Packit 022b05
	 issue a management protocol set operation to
Packit 022b05
	 create an instance of the evalStatus object
Packit 022b05
	 setting its value to underCreation(1).  If this
Packit 022b05
	 latter operation succeeds, then the management
Packit 022b05
	 station may continue modifying the instances
Packit 022b05
	 corresponding to the newly created conceptual row,
Packit 022b05
	 without fear of collision with other management
Packit 022b05
	 stations."
Packit 022b05
    ::= { tnmEval 1 }
Packit 022b05
Packit 022b05
tnmEvalTable OBJECT-TYPE
Packit 022b05
    SYNTAX	SEQUENCE OF TnmEvalEntry
Packit 022b05
    MAX-ACCESS	not-accessible
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The (conceptual) evaluation table."
Packit 022b05
    ::= { tnmEval 2 }
Packit 022b05
Packit 022b05
tnmEvalEntry OBJECT-TYPE
Packit 022b05
    SYNTAX	TnmEvalEntry
Packit 022b05
    MAX-ACCESS	not-accessible
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"An entry (conceptual row) in the evaluation table."
Packit 022b05
    INDEX { tnmEvalIndex }
Packit 022b05
    ::= { tnmEvalTable 1 }
Packit 022b05
Packit 022b05
TnmEvalEntry ::= SEQUENCE {
Packit 022b05
    tnmEvalIndex	Integer32,
Packit 022b05
    tnmEvalString	DisplayString,
Packit 022b05
    tnmEvalValue	DisplayString,
Packit 022b05
    tnmEvalStatus	RowStatus
Packit 022b05
}
Packit 022b05
Packit 022b05
tnmEvalIndex OBJECT-TYPE
Packit 022b05
    SYNTAX	Integer32 (1..'7fffffff'h)
Packit 022b05
    MAX-ACCESS	read-only
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The auxiliary variable used for identifying
Packit 022b05
	 instances of the columnar objects in the
Packit 022b05
	 evaluation table."
Packit 022b05
    ::= { tnmEvalEntry 1 }
Packit 022b05
Packit 022b05
tnmEvalString OBJECT-TYPE
Packit 022b05
    SYNTAX	DisplayString
Packit 022b05
    MAX-ACCESS	read-create
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The string to evaluate."
Packit 022b05
    ::= { tnmEvalEntry 2 }
Packit 022b05
Packit 022b05
tnmEvalValue OBJECT-TYPE
Packit 022b05
    SYNTAX	DisplayString
Packit 022b05
    MAX-ACCESS	read-only
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The value resturned by executing evalString."
Packit 022b05
    ::= { tnmEvalEntry 3 }
Packit 022b05
Packit 022b05
tnmEvalStatus OBJECT-TYPE
Packit 022b05
    SYNTAX	RowStatus
Packit 022b05
    MAX-ACCESS	read-create
Packit 022b05
    STATUS	current
Packit 022b05
    DESCRIPTION
Packit 022b05
	"The status column used for creating, modifying,
Packit 022b05
	 and deleting instances of the columnar objects in
Packit 022b05
	 the evaluation table."
Packit 022b05
    DEFVAL  { active }
Packit 022b05
    ::= { tnmEvalEntry 4 }
Packit 022b05
Packit 022b05
END