1 TUBS-IBR-TNM-MIB DEFINITIONS ::= BEGIN
3 -- @(#) $Id: TUBS-IBR-TNM-MIB 807 2000-02-12 11:52:35Z strauss $
6 MODULE-IDENTITY, OBJECT-TYPE, Counter32, Integer32, Unsigned32
8 TEXTUAL-CONVENTION, DisplayString, RowStatus, DateAndTime,
9 TruthValue, TimeStamp, TAddress
14 tnmMIB MODULE-IDENTITY
15 LAST-UPDATED "200002090000Z"
16 ORGANIZATION "TU Braunschweig"
18 "Juergen Schoenwaelder
26 E-mail: schoenw@ibr.cs.tu-bs.de"
28 "Experimental MIB modules for tnm based agents."
29 REVISION "200002090000Z"
31 "Updated IMPORTS and minor stylistic fixes."
32 REVISION "9702141023Z"
34 "Various cleanups to make the module conforming to SNMPv2 SMI."
35 REVISION "9607152024Z"
37 "The initial revision of this module."
42 tnmStatus OBJECT IDENTIFIER ::= { tnmMIB 1 }
44 tnmVersion OBJECT-TYPE
49 "The version number of the tnm agent."
52 tnmTclVersion OBJECT-TYPE
57 "The version number of the running Tcl interpreter."
60 tnmTclCmdCount OBJECT-TYPE
65 "The nummber of Tcl statements evaluated so far."
76 tnmTrapDst OBJECT-TYPE
81 "The host name of the trap sink host."
84 tnmTrapMsg OBJECT-TYPE
89 "The description of the last trap create by this entity."
92 -- the download mechanism
94 tnmDownload OBJECT IDENTIFIER ::= { tnmMIB 2 }
96 URL ::= TEXTUAL-CONVENTION
100 "A uniform ressource locator as defined in RFC 1738."
101 SYNTAX OCTET STRING (SIZE (0..255))
103 tnmHttpProxy OBJECT-TYPE
105 MAX-ACCESS read-write
108 "This variable specifies the proxy server. It must be of the
109 form <name>[:<port>] where <name> is either a domain name
110 or an IP address and <port> is the port number used to access
111 the proxy server. The default port number is 80."
112 ::= { tnmDownload 1 }
114 tnmHttpSource OBJECT-TYPE
116 MAX-ACCESS read-write
119 "Setting this variable will make tnm to download
120 and source the document with the given URL. The agent
121 will try to retrieve the document and sets the variable
122 to the URL if this operations was successfull.
123 Otherwise, the value will become an empty string."
124 ::= { tnmDownload 2 }
126 tnmHttpError OBJECT-TYPE
131 "This variable contains an error string is an http
132 operation fails. An empty string signals that the
133 last operation completed successfully."
134 ::= { tnmDownload 3 }
138 tnmPeers OBJECT IDENTIFIER ::= { tnmMIB 3 }
140 tnmPeerTable OBJECT-TYPE
141 SYNTAX SEQUENCE OF TnmPeerEntry
142 MAX-ACCESS not-accessible
145 "A (conceptual) table storing known tnm peers."
148 tnmPeerEntry OBJECT-TYPE
150 MAX-ACCESS not-accessible
153 "An entry (conceptual row) in the peer table."
154 INDEX { tnmPeerTAddress }
155 ::= { tnmPeerTable 1 }
157 TnmPeerEntry ::= SEQUENCE {
158 tnmPeerTAddress TAddress,
159 tnmPeerAuth OCTET STRING,
160 tnmPeerState INTEGER,
161 tnmPeerLastChecked TimeStamp,
162 tnmPeerStatus RowStatus
165 tnmPeerTAddress OBJECT-TYPE
167 MAX-ACCESS read-create
170 "The address and port number of the peer agent."
171 ::= { tnmPeerEntry 1 }
173 tnmPeerAuth OBJECT-TYPE
175 MAX-ACCESS read-create
178 "The authentication information for this peer. This will
179 usually be a community string until we get the final SNMPv2
180 decisions about the security model."
181 ::= { tnmPeerEntry 2 }
183 tnmPeerState OBJECT-TYPE
184 SYNTAX INTEGER { up(1), down(2) }
185 MAX-ACCESS read-create
188 "The current status of the peer as returned by the last
189 status probe message."
190 ::= { tnmPeerEntry 3 }
192 tnmPeerLastChecked OBJECT-TYPE
194 MAX-ACCESS read-create
197 "The value of sysUpTime when the status of the peer was
198 retrieved and written to tnmPeerState."
199 ::= { tnmPeerEntry 4 }
201 tnmPeerStatus OBJECT-TYPE
203 MAX-ACCESS read-create
206 "The status column used for creating, modifying,
207 and deleting instances of the columnar objects in
210 ::= { tnmPeerEntry 5 }
214 tnmElection OBJECT IDENTIFIER ::= { tnmMIB 4 }
216 tnmElectionIndex OBJECT-TYPE
221 "The (hopefully) unique index of this peer used by the
222 bully election algorithm."
223 ::= { tnmElection 1 }
225 tnmElectionPanic OBJECT-TYPE
230 "Reading this variable will start the panic algorithm
231 on this peer. (We should use an inform request here.)"
232 ::= { tnmElection 2 }
234 tnmElectionMaster OBJECT-TYPE
236 MAX-ACCESS read-write
239 "This variable will be set by a new master appearing
240 on the scene. (We should use an inform request here.)"
241 ::= { tnmElection 3 }
243 -- the tnmEvalTable example adopted from RFC 1442
245 tnmEval OBJECT IDENTIFIER ::= { tnmMIB 5 }
247 tnmEvalSlot OBJECT-TYPE
252 "The index number of the first unassigned entry in
253 the evaluation table.
255 A management station should create new entries in
256 the evaluation table using this algorithm: first,
257 issue a management protocol retrieval operation to
258 determine the value of evalSlot; and, second,
259 issue a management protocol set operation to
260 create an instance of the evalStatus object
261 setting its value to underCreation(1). If this
262 latter operation succeeds, then the management
263 station may continue modifying the instances
264 corresponding to the newly created conceptual row,
265 without fear of collision with other management
269 tnmEvalTable OBJECT-TYPE
270 SYNTAX SEQUENCE OF TnmEvalEntry
271 MAX-ACCESS not-accessible
274 "The (conceptual) evaluation table."
277 tnmEvalEntry OBJECT-TYPE
279 MAX-ACCESS not-accessible
282 "An entry (conceptual row) in the evaluation table."
283 INDEX { tnmEvalIndex }
284 ::= { tnmEvalTable 1 }
286 TnmEvalEntry ::= SEQUENCE {
287 tnmEvalIndex Integer32,
288 tnmEvalString DisplayString,
289 tnmEvalValue DisplayString,
290 tnmEvalStatus RowStatus
293 tnmEvalIndex OBJECT-TYPE
294 SYNTAX Integer32 (1..'7fffffff'h)
298 "The auxiliary variable used for identifying
299 instances of the columnar objects in the
301 ::= { tnmEvalEntry 1 }
303 tnmEvalString OBJECT-TYPE
305 MAX-ACCESS read-create
308 "The string to evaluate."
309 ::= { tnmEvalEntry 2 }
311 tnmEvalValue OBJECT-TYPE
316 "The value resturned by executing evalString."
317 ::= { tnmEvalEntry 3 }
319 tnmEvalStatus OBJECT-TYPE
321 MAX-ACCESS read-create
324 "The status column used for creating, modifying,
325 and deleting instances of the columnar objects in
326 the evaluation table."
328 ::= { tnmEvalEntry 4 }