File: tubs-tnm.mib

package info (click to toggle)
scotty 2.1.9-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 9,984 kB
  • ctags: 4,313
  • sloc: ansic: 35,946; sh: 12,591; tcl: 8,122; yacc: 2,442; makefile: 898; lex: 370
file content (328 lines) | stat: -rw-r--r-- 8,071 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
TUBS-TNM-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, 
    enterprises, Counter32, Integer32, TimeTicks, Unsigned32
        FROM SNMPv2-SMI
    DisplayString, RowStatus, DateAndTime, TruthValue, TimeStamp, TAddress
    FROM SNMPv2-TC;

tnmMIB MODULE-IDENTITY
    LAST-UPDATED "9411152024Z"
    ORGANIZATION "TU Braunschweig"
    CONTACT-INFO
            "        Juergen Schoenwaelder

             Postal: TU Braunschweig
                     Bueltenweg 74/75
                     D-38108 Braunschweig
                     GERMANY

                Tel: +49 531 391 3249
                Fax: +49 531 391 5936

             E-mail: schoenw@ibr.cs.tu-bs.de"
    DESCRIPTION
            "Experimental MIB modules for tnm based agents."
    ::= { enterprises tubs(1575) ibr(1) 1 }

-- the tnm group

tnmStatus OBJECT IDENTIFIER ::= { tnmMIB 1 }

tnmVersion OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The version number of the tnm agent."
	::= { tnmStatus 1 }

tnmTclVersion OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The version number of the running Tcl interpreter."
	::= { tnmStatus 2 }

tnmTclCmdCount OBJECT-TYPE
	SYNTAX    	Counter32
	MAX-ACCESS	read-only
	STATUS	  	current
	DESCRIPTION	
		"The nummber of Tcl statements evaluated so far."
	::= { tnmStatus 3 }

tnmDate OBJECT-TYPE
	SYNTAX		DateAndTime
	MAX-ACCESS      read-only
	STATUS		current
	DESCRIPTION	
		"The current date."
	::= { tnmStatus 4 }

tnmTrapDst OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS      read-write
	STATUS		current
	DESCRIPTION
		"The host name of the trap sink host."
	::= { tnmStatus 5 }

tnmTrapMsg OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS      read-only
	STATUS		current
	DESCRIPTION
		"The description of the last trap create by this entity."
	::= { tnmStatus 6 }

--
--
--

tnmDownload OBJECT IDENTIFIER ::= { tnmMIB 2 }

URL ::= TEXTUAL-CONVENTION
	DISPLAY-HINT	"255a"
	STATUS		current
 	DESCRIPTION
		"A uniform ressource locator as defined in RFC 1738."
	SYNTAX		OCTET STRING (SIZE  (0..255))

tnmHttpProxy OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-write
	STATUS		current
	DESCRIPTION
		"This variable specifies the proxy server. It must be of the
		 form <name>[:<port>] where <name> is either a domain name
		 or an IP address and <port> is the port number used to access
		 the proxy server. The default port number is 80."
	::= { tnmDownload 1 }

tnmHttpSource OBJECT-TYPE
	SYNTAX		URL
	MAX-ACCESS	read-write
	STATUS		current
	DESCRIPTION
		"Setting this variable will make tnm to download
		 and source the document with the given URL. The agent
		 will try to retrieve the document and sets the variable
		 to the URL if this operations was successfull. 
		 Otherwise, the value will become an empty string."
	::= { tnmDownload 2 }

tnmHttpError OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"This variable contains an error string is an http
		 operation fails. An empty string signals that the
		 last operation completed successfully."
	::= { tnmDownload 3 }

--
--
--

tnmPeers OBJECT IDENTIFIER ::= { tnmMIB 3 }

tnmPeerTable OBJECT-TYPE
	SYNTAX		SEQUENCE OF TnmPeerEntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"A (conceptual) table storing known tnm peers."
	::= { tnmPeers 1 }

tnmPeerEntry OBJECT-TYPE
	SYNTAX		TnmPeerEntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"An entry (conceptual row) in the peer table."
	INDEX   { tnmPeerTAddress }
	::= { tnmPeerTable 1 }

TnmPeerEntry ::= SEQUENCE {
	tnmPeerTAddress		TAddress,
	tnmPeerAuth		OCTET STRING,
	tnmPeerState		Integer32,
	tnmPeerLastChecked	TimeStamp,
	tnmPeerStatus		RowStatus
}

tnmPeerTAddress OBJECT-TYPE
	SYNTAX		TAddress
	MAX-ACCESS	read-create
	STATUS		current
	DESCRIPTION
		"The address and port number of the peer agent."
	::= { tnmPeerEntry 1 }

tnmPeerAuth OBJECT-TYPE
	SYNTAX		OCTET STRING
	MAX-ACCESS	read-create
	STATUS		current
	DESCRIPTION
		"The authentication information for this peer. This will
		usually be a community string until we get the final SNMPv2
		decisions about the security model."
	::= { tnmPeerEntry 2 }

tnmPeerState OBJECT-TYPE
	SYNTAX		INTEGER { up(1), down(2) }
	MAX-ACCESS	read-create
	STATUS		current
	DESCRIPTION
		"The current status of the peer as returned by the last
		status probe message."
	::= { tnmPeerEntry 3 }

tnmPeerLastChecked OBJECT-TYPE
	SYNTAX		TimeStamp
	MAX-ACCESS	read-create
	STATUS		current
	DESCRIPTION
		"The value of sysUpTime when the status of the peer was
		retrieved and written to tnmPeerState."
	::= { tnmPeerEntry 4 }

tnmPeerStatus OBJECT-TYPE
	SYNTAX		RowStatus
	MAX-ACCESS	read-create
	STATUS		current
	DESCRIPTION
		"The status column used for creating, modifying,
		and deleting instances of the columnar objects in
		the tnm peer table."
	DEFVAL  { active }
	::= { tnmPeerEntry 5 }


--
-- Election Section
--

tnmElection OBJECT IDENTIFIER ::= { tnmMIB 4 }

tnmElectionIndex OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The (hopefully) unique Index of this peer used by the
		Gully election algorithm."
	::= { tnmElection 1 }

tnmElectionPanic OBJECT-TYPE
	SYNTAX		TruthValue
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Reading this variable will start the panic algorithm
		on this peer. (We should use an inform request here.)"
	::= { tnmElection 2 }

tnmElectionMaster OBJECT-TYPE
	SYNTAX		TAddress
	MAX-ACCESS	read-write
	STATUS		current
	DESCRIPTION
		"This variable will be set by a new master appearing
		on the scene. (We should use an inform request here.)"
	::= { tnmElection 3 }

--
-- the tnmEvalTable example adopted from RFC 1442
--

tnmEval OBJECT IDENTIFIER ::= { tnmMIB 5 }

tnmEvalSlot OBJECT-TYPE
	SYNTAX		Integer32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The index number of the first unassigned entry in
		the evaluation table.	

                A management station should create new entries in
		the evaluation table using this algorithm: first,
		issue a management protocol retrieval operation to
		determine the value of evalSlot; and, second,
		issue a management protocol set operation to
                create an instance of the evalStatus object
                setting its value to underCreation(1).  If this
                latter operation succeeds, then the management
                station may continue modifying the instances
                corresponding to the newly created conceptual row,
                without fear of collision with other management
                stations."
	::= { tnmEval 1 }

tnmEvalTable OBJECT-TYPE
	SYNTAX		SEQUENCE OF TnmEvalEntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"The (conceptual) evaluation table."
	::= { tnmEval 2 }

tnmEvalEntry OBJECT-TYPE
	SYNTAX		TnmEvalEntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"An entry (conceptual row) in the evaluation table."
	INDEX   { tnmEvalIndex }
	::= { tnmEvalTable 1 }

TnmEvalEntry ::= SEQUENCE {
	tnmEvalIndex	Integer32,
	tnmEvalString	DisplayString,
	tnmEvalValue	DisplayString,
	tnmEvalStatus	RowStatus
}

tnmEvalIndex OBJECT-TYPE
	SYNTAX		Integer32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The auxiliary variable used for identifying
                 instances of the columnar objects in the
                 evaluation table."
	::= { tnmEvalEntry 1 }

tnmEvalString OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-create
	STATUS		current
	DESCRIPTION
		"The string to evaluate."
        ::= { tnmEvalEntry 2 }

tnmEvalValue OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The value resturned by executing evalString."
	::= { tnmEvalEntry 3 }

tnmEvalStatus OBJECT-TYPE
	SYNTAX		RowStatus
	MAX-ACCESS	read-create
	STATUS		current
	DESCRIPTION
		"The status column used for creating, modifying,
		and deleting instances of the columnar objects in
		the evaluation  table."
	DEFVAL  { active }
	::= { tnmEvalEntry 4 }

END