aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_data/OLD-SNMPEA-MIB.mib
blob: 2ba1a6fd670f4d0a215ae11a78b737daaaf9bcc3 (plain) (blame)
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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
OLD-SNMPEA-MIB DEFINITIONS ::= BEGIN

	IMPORTS
		enterprises, IpAddress
			FROM RFC1155-SMI
		OBJECT-TYPE
			FROM RFC-1212
		DisplayString
			FROM RFC1213-MIB
		RowStatus
			FROM STANDARD-MIB
		;
 
--   MODULE-IDENTITY
--   LAST-UPDATED "1004200000Z"
--   ORGANIZATION "Erlang/OTP"
--   CONTACT-INFO ""
--   DESCRIPTION
--       "Header cleanup."
--   REVISION     "1004200000Z"
--   DESCRIPTION
--       "This MIB module defines MIB objects for the SNMPEA
--       component in OTP."
--   REVISION     "9709220900Z"
--   DESCRIPTION
--       "The initial version of this MIB module.  It is the old
--       INTERNAL-MIB renamed."

ericsson       OBJECT IDENTIFIER ::= {enterprises 193}
otp            OBJECT IDENTIFIER ::= {ericsson 19}

otpApplications
               OBJECT IDENTIFIER ::= {otp 3}
otpSnmpeaMIB    OBJECT IDENTIFIER ::= { otpApplications 3 }
otpSnmpeaMIBObjects
                OBJECT IDENTIFIER ::= { otpSnmpeaMIB 2 }

snmpeaAdm       OBJECT IDENTIFIER ::= { otpSnmpeaMIBObjects 1}
community       OBJECT IDENTIFIER ::= { snmpeaAdm 1 }
trap            OBJECT IDENTIFIER ::= { snmpeaAdm 2 }
view            OBJECT IDENTIFIER ::= { snmpeaAdm 3 }


-- Textual Conventions

StorageType ::=
	INTEGER {
		other(1),       -- eh?
		volatile(2),    -- e.g., in RAM
		nonVolatile(3), -- e.g., in NVRAM
		permanent(4)    -- e.g., in ROM
	}

-- The Administration Group
--
-- This group consists of objects to configure the access for
-- managers to the MIB tree.
--
-- These objects were previously defined in INTERNAL-MIB


intCommunityTable OBJECT-TYPE
	SYNTAX SEQUENCE OF IntCommunityEntry
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		"This table defines access for the different
		communities.

		When a request comes from a certain ip address,
		referring to a community string, the mib view
		and access corresponding to these are looked up
		in this table. Then the operation is validatated against
		the access, and all requested objects validated against
		the mib view."
	::= { community 1}

intCommunityEntry OBJECT-TYPE
	SYNTAX IntCommunityEntry
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		""
	INDEX      { intCommunityDestination, intCommunityString }
	::= { intCommunityTable 1 }

IntCommunityEntry ::=
	SEQUENCE {
	  intCommunityDestination	IpAddress,
	  intCommunityString		DisplayString,
	  intCommunityViewIndex		INTEGER,
	  intCommunityAccess		INTEGER,
	  intCommunityStatus		RowStatus
	}

intCommunityDestination OBJECT-TYPE
	SYNTAX IpAddress
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		"The ip address of a management station. The special
		ip address {0.0.0.0} is a wildcard, meaning all possible
		ip addresses. In this way, access can be granted to all
		ip addressed for some communities."
	::= { intCommunityEntry 1 }

intCommunityString OBJECT-TYPE
	SYNTAX DisplayString
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		"The community string, defining the community."
	::= { intCommunityEntry 2 }

intCommunityViewIndex OBJECT-TYPE
	SYNTAX INTEGER
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"Identifies a mib view.  Index into the
		intViewTable."
	::= { intCommunityEntry 3 }

intCommunityAccess OBJECT-TYPE
	SYNTAX INTEGER { read(1), readWrite(2) }
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"Defines which operations the manager can perform
		on the objects in the mib view."
	::= { intCommunityEntry 4 }

intCommunityStatus OBJECT-TYPE
	SYNTAX RowStatus
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"The status of this conceptual row in the
		intCommunityTable."
	::= { intCommunityEntry 5 }

intAgentIpAddress OBJECT-TYPE
	SYNTAX IpAddress
	ACCESS read-only
	STATUS mandatory
	DESCRIPTION
		"The IP address of this agent."
	::= { community 2 }

intAgentUDPPort OBJECT-TYPE
	SYNTAX INTEGER
	ACCESS read-only
	STATUS mandatory
	DESCRIPTION
		"The UDP port the agent listens to."
	::= { community 3 }

intAgentMaxPacketSize OBJECT-TYPE
	SYNTAX INTEGER (484..65535)
	ACCESS read-only
	STATUS mandatory
	DESCRIPTION
		"The maximum packet size in bytes this agent will send to a
		manager."
	::= { community 4 }


intAddressTable OBJECT-TYPE
	SYNTAX SEQUENCE OF IntAddressEntry
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		"This table holds UDP related information on each known
		management station."
	::= { community 5 }


intAddressEntry OBJECT-TYPE
	SYNTAX IntAddressEntry
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		""
	INDEX      { intAddressDestination }
	::= { intAddressTable 1 }

IntAddressEntry ::=
	SEQUENCE {
	  intAddressDestination		IpAddress,
	  intAddressUDPPort		INTEGER,
	  intAddressMaxPacketSize	INTEGER (484..65535),
	  intAddressStatus		RowStatus
	}

intAddressDestination OBJECT-TYPE
	SYNTAX IpAddress
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		"The ip address of the management station."
	::= { intAddressEntry 1 }

intAddressUDPPort OBJECT-TYPE
	SYNTAX INTEGER
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"The UDP port to which traps will be sent to
		this destination."
	DEFVAL { 162 }
	::= { intAddressEntry 2 }

intAddressMaxPacketSize OBJECT-TYPE
	SYNTAX INTEGER (484..65535)
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"The maximum packet size in bytes for Messages
		sent to this destination.  The max size of a packet
		sent to this destination will be the minumim of
		this variable and agentMaxPacketSize.0."
	::= { intAddressEntry 3 }

intAddressStatus OBJECT-TYPE
	SYNTAX RowStatus
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"The status of this conceptual row in the
		intAddressTable."
	::= { intAddressEntry 4 }

intTrapDestTable OBJECT-TYPE
	SYNTAX SEQUENCE OF IntTrapDestEntry
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		"The intTrapDestTable defines to which destination all traps
		for a specific community should be sent."
	::= { trap 1 }

intTrapDestEntry OBJECT-TYPE
	SYNTAX IntTrapDestEntry
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		""
	INDEX      { intTrapDestCommunityString, intTrapDestDestination }
	::= { intTrapDestTable 1 }

IntTrapDestEntry ::=
	SEQUENCE {
	  intTrapDestCommunityString	DisplayString,
	  intTrapDestDestination	IpAddress,
	  intTrapDestStatus		RowStatus,
	  intTrapDestSnmpVersion        INTEGER
	}

intTrapDestCommunityString OBJECT-TYPE
	SYNTAX DisplayString (SIZE (0..255))
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		""
	::= { intTrapDestEntry 1 }

intTrapDestDestination OBJECT-TYPE
	SYNTAX IpAddress
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		""
	::= { intTrapDestEntry 2 }

intTrapDestStatus OBJECT-TYPE
	SYNTAX RowStatus
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"The status of this conceptual row in the
		intTrapDestTable."
	::= { intTrapDestEntry 3 }

intTrapDestSnmpVersion OBJECT-TYPE
        SYNTAX      INTEGER { v1(1), v2(2) }
        ACCESS      read-write
        STATUS      mandatory
        DESCRIPTION
                "The SNMP version of the manager.  If it is v1,
                SNMPv1Traps are sent.  If it is v2, SNMPv2Traps are sent"
        ::= { intTrapDestEntry 4 }

intViewTable OBJECT-TYPE
	SYNTAX SEQUENCE OF IntViewEntry
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		"Locally held information about the MIB views
		known to this agent.

		Each MIB view is defined by two
		collections of view subtrees: the included view
		subtrees, and the excluded view subtrees.  Every
		such subtree, both included and excluded, is
		defined in this table.

		To determine if a particular object instance is in
		a particular MIB view, compare the object
		instance's OBJECT IDENTIFIER with each of the MIB
		view's entries in this table.  If none match, then
		the object instance is not in the MIB view.  If
		one or more match, then the object instance is
		included in, or excluded from, the MIB view
		according to the value of viewType in the entry
		whose value of viewSubtree has the most sub-
		identifiers.  If multiple entries match and have
		the same number of sub-identifiers, then the
		lexicographically greatest instance of viewType
		determines the inclusion or exclusion.

		An object instance's OBJECT IDENTIFIER X matches
		an entry in this table when the number of sub-
		identifiers in X is at least as many as in the
		value of viewSubtree for the entry, and each sub-
		identifier in the value of viewSubtree matches its
		corresponding sub-identifier in X.  Two sub-
		identifiers match either if the corresponding bit
		of viewMask is zero (the 'wild card' value), or if
		they are equal.

		Due to this 'wild card' capability, we introduce
		the term, a 'family' of view subtrees, to refer to
		the set of subtrees defined by a particular
		combination of values of viewSubtree and viewMask.
		In the case where no 'wild card' is defined in
		viewMask, the family of view subtrees reduces to a
		single view subtree."
	::= { view 1 }

intViewEntry OBJECT-TYPE
	SYNTAX IntViewEntry
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		"Information on a particular family of view
		subtrees included in or excluded from a particular
		MIB view.

		Implementations must not restrict the number of
		families of view subtrees for a given MIB view,
		except as dictated by resource constraints on the
		overall number of entries in the viewTable."
	INDEX      { intViewIndex, intViewSubtree }
	::= { intViewTable 1 }

IntViewEntry ::=
	SEQUENCE {
	  intViewIndex		INTEGER,
	  intViewSubtree	OBJECT IDENTIFIER,
	  intViewMask		OCTET STRING,
	  intViewType		INTEGER,
	  intViewStorageType	StorageType,
	  intViewStatus		RowStatus
	}


intViewIndex OBJECT-TYPE
	SYNTAX INTEGER (1..65535)
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		"A unique value for each MIB view.  The value for
		each MIB view must remain constant at least from
		one re-initialization of the entity's network
		management system to the next re-initialization."
	::= { intViewEntry 1 }

intViewSubtree OBJECT-TYPE
	SYNTAX OBJECT IDENTIFIER
	ACCESS not-accessible
	STATUS mandatory
	DESCRIPTION
		"A MIB subtree."
	::= { intViewEntry 2 }

intViewMask OBJECT-TYPE
	SYNTAX OCTET STRING (SIZE (0..16))
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"The bit mask which, in combination with the
		corresponding instance of viewSubtree, defines a
		family of view subtrees.

		Each bit of this bit mask corresponds to a sub-
		identifier of viewSubtree, with the most
		significant bit of the i-th octet of this octet
		string value (extended if necessary, see below)
		corresponding to the (8*i - 7)-th sub-identifier,
		and the least significant bit of the i-th octet of
		this octet string corresponding to the (8*i)-th
		sub-identifier, where i is in the range 1 through
		16.

		Each bit of this bit mask specifies whether or not
		the corresponding sub-identifiers must match when
		determining if an OBJECT IDENTIFIER is in this
		family of view subtrees; a '1' indicates that an
		exact match must occur; a '0' indicates 'wild
		card', i.e., any sub-identifier value matches.


		Thus, the OBJECT IDENTIFIER X of an object
		instance is contained in a family of view subtrees
		if the following criteria are met:

			   for each sub-identifier of the value of
			   viewSubtree, either:

				the i-th bit of viewMask is 0, or

				the i-th sub-identifier of X is equal to
				the i-th sub-identifier of the value of
				viewSubtree.

		If the value of this bit mask is M bits long and
		there are more than M sub-identifiers in the
		corresponding instance of viewSubtree, then the
		bit mask is extended with 1's to be the required
		length.

		Note that when the value of this object is the
		zero-length string, this extension rule results in
		a mask of all-1's being used (i.e., no 'wild
		card'), and the family of view subtrees is the one
		view subtree uniquely identified by the
		corresponding instance of viewSubtree."
	DEFVAL      { ''H }
	::= { intViewEntry 3 }


intViewType OBJECT-TYPE
	SYNTAX INTEGER {
		included(1),
		excluded(2)
		}
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"The status of a particular family of view
		subtrees within the particular
		MIB view.  The value 'included(1)' indicates that
		the corresponding instances of viewSubtree and
		viewMask define a family of view subtrees included
		in the MIB view.  The  value 'excluded(2)'
		indicates that the corresponding instances of
		viewSubtree and viewMask define a family of view
		subtrees excluded from the MIB view."
	DEFVAL      { included }
	::= { intViewEntry 4 }

intViewStorageType OBJECT-TYPE
	SYNTAX StorageType
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"The storage type for this conceptual row in the
		intViewTable."
	DEFVAL      { nonVolatile }
	::= { intViewEntry 5 }

intViewStatus OBJECT-TYPE
	SYNTAX RowStatus
	ACCESS read-write
	STATUS mandatory
	DESCRIPTION
		"The status of this conceptual row in the
		intViewTable."
	::= { intViewEntry 6 }

END