~ubuntu-branches/ubuntu/precise/net-snmp/precise

« back to all changes in this revision

Viewing changes to mibs/SNMPv2-CONF.txt

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-11-26 01:27:00 UTC
  • mfrom: (1.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091126012700-pox7w0a5j2x305h9
Tags: 5.4.2.1~dfsg-3ubuntu1
* Merge from debian testing.  Remaining changes:
  - Set Ubuntu maintainer address.
  - net-snmp-config: Use bash. (LP: #104738)
  - Removed multiuser option when calling update-rc.d. (LP: #254261)
  - debian/snmpd.init: LSBify the init script.
  - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
    (LP: #250459)
  - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.
    (LP: #426813).
 * Dropped patches:
   - debian/patches/101-fix-ipalias.patch: Applied upstream.
   - debian/patches/99-fix-net-snmp-syslog.patch: Applied upstream.
   - debian/patches/99-fix-perl-counter-in-subagent.patch: Applied upstream.
   - ebian/patches/103-fix-ubuntu-lmsensors.patch: No longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SNMPv2-CONF DEFINITIONS ::= BEGIN
2
 
 
3
 
IMPORTS ObjectName, NotificationName, ObjectSyntax
4
 
                                               FROM SNMPv2-SMI;
5
 
 
6
 
 
7
 
OBJECT-GROUP MACRO ::=
8
 
BEGIN
9
 
    TYPE NOTATION ::=
10
 
                  ObjectsPart
11
 
                  "STATUS" Status
12
 
                  "DESCRIPTION" Text
13
 
                  ReferPart
14
 
 
15
 
    VALUE NOTATION ::=
16
 
                  value(VALUE OBJECT IDENTIFIER)
17
 
 
18
 
    ObjectsPart ::=
19
 
                  "OBJECTS" "{" Objects "}"
20
 
    Objects ::=
21
 
                  Object
22
 
                | Objects "," Object
23
 
    Object ::=
24
 
 
25
 
                  value(ObjectName)
26
 
 
27
 
    Status ::=
28
 
                  "current"
29
 
                | "deprecated"
30
 
                | "obsolete"
31
 
 
32
 
    ReferPart ::=
33
 
                  "REFERENCE" Text
34
 
                | empty
35
 
 
36
 
    -- a character string as defined in [2]
37
 
    Text ::= value(IA5String)
38
 
END
39
 
 
40
 
 
41
 
NOTIFICATION-GROUP MACRO ::=
42
 
BEGIN
43
 
    TYPE NOTATION ::=
44
 
                  NotificationsPart
45
 
                  "STATUS" Status
46
 
                  "DESCRIPTION" Text
47
 
                  ReferPart
48
 
 
49
 
    VALUE NOTATION ::=
50
 
                  value(VALUE OBJECT IDENTIFIER)
51
 
 
52
 
    NotificationsPart ::=
53
 
                  "NOTIFICATIONS" "{" Notifications "}"
54
 
    Notifications ::=
55
 
                  Notification
56
 
                | Notifications "," Notification
57
 
    Notification ::=
58
 
                  value(NotificationName)
59
 
 
60
 
    Status ::=
61
 
                  "current"
62
 
                | "deprecated"
63
 
                | "obsolete"
64
 
 
65
 
    ReferPart ::=
66
 
                  "REFERENCE" Text
67
 
                | empty
68
 
 
69
 
    -- a character string as defined in [2]
70
 
    Text ::= value(IA5String)
71
 
END
72
 
 
73
 
 
74
 
MODULE-COMPLIANCE MACRO ::=
75
 
BEGIN
76
 
    TYPE NOTATION ::=
77
 
                  "STATUS" Status
78
 
                  "DESCRIPTION" Text
79
 
                  ReferPart
80
 
                  ModulePart
81
 
 
82
 
    VALUE NOTATION ::=
83
 
                  value(VALUE OBJECT IDENTIFIER)
84
 
 
85
 
    Status ::=
86
 
                  "current"
87
 
                | "deprecated"
88
 
                | "obsolete"
89
 
 
90
 
    ReferPart ::=
91
 
                  "REFERENCE" Text
92
 
                | empty
93
 
 
94
 
    ModulePart ::=
95
 
                  Modules
96
 
    Modules ::=
97
 
                  Module
98
 
                | Modules Module
99
 
    Module ::=
100
 
                  -- name of module --
101
 
                  "MODULE" ModuleName
102
 
                  MandatoryPart
103
 
                  CompliancePart
104
 
 
105
 
    ModuleName ::=
106
 
                  -- identifier must start with uppercase letter
107
 
                  identifier ModuleIdentifier
108
 
                  -- must not be empty unless contained
109
 
                  -- in MIB Module
110
 
                | empty
111
 
    ModuleIdentifier ::=
112
 
                  value(OBJECT IDENTIFIER)
113
 
                | empty
114
 
 
115
 
    MandatoryPart ::=
116
 
                  "MANDATORY-GROUPS" "{" Groups "}"
117
 
                | empty
118
 
 
119
 
    Groups ::=
120
 
 
121
 
                  Group
122
 
                | Groups "," Group
123
 
    Group ::=
124
 
                  value(OBJECT IDENTIFIER)
125
 
 
126
 
    CompliancePart ::=
127
 
                  Compliances
128
 
                | empty
129
 
 
130
 
    Compliances ::=
131
 
                  Compliance
132
 
                | Compliances Compliance
133
 
    Compliance ::=
134
 
                  ComplianceGroup
135
 
                | Object
136
 
 
137
 
    ComplianceGroup ::=
138
 
                  "GROUP" value(OBJECT IDENTIFIER)
139
 
                  "DESCRIPTION" Text
140
 
 
141
 
    Object ::=
142
 
                  "OBJECT" value(ObjectName)
143
 
                  SyntaxPart
144
 
                  WriteSyntaxPart
145
 
                  AccessPart
146
 
                  "DESCRIPTION" Text
147
 
 
148
 
    -- must be a refinement for object's SYNTAX clause
149
 
    SyntaxPart ::= "SYNTAX" Syntax
150
 
                | empty
151
 
 
152
 
    -- must be a refinement for object's SYNTAX clause
153
 
    WriteSyntaxPart ::= "WRITE-SYNTAX" Syntax
154
 
                | empty
155
 
 
156
 
    Syntax ::=    -- Must be one of the following:
157
 
                       -- a base type (or its refinement),
158
 
                       -- a textual convention (or its refinement), or
159
 
                       -- a BITS pseudo-type
160
 
                  type
161
 
                | "BITS" "{" NamedBits "}"
162
 
 
163
 
    NamedBits ::= NamedBit
164
 
                | NamedBits "," NamedBit
165
 
 
166
 
    NamedBit ::= identifier "(" number ")" -- number is nonnegative
167
 
 
168
 
    AccessPart ::=
169
 
                  "MIN-ACCESS" Access
170
 
                | empty
171
 
    Access ::=
172
 
                  "not-accessible"
173
 
                | "accessible-for-notify"
174
 
                | "read-only"
175
 
                | "read-write"
176
 
                | "read-create"
177
 
 
178
 
    -- a character string as defined in [2]
179
 
    Text ::= value(IA5String)
180
 
END
181
 
 
182
 
 
183
 
AGENT-CAPABILITIES MACRO ::=
184
 
BEGIN
185
 
    TYPE NOTATION ::=
186
 
                  "PRODUCT-RELEASE" Text
187
 
                  "STATUS" Status
188
 
                  "DESCRIPTION" Text
189
 
                  ReferPart
190
 
                  ModulePart
191
 
 
192
 
    VALUE NOTATION ::=
193
 
                  value(VALUE OBJECT IDENTIFIER)
194
 
 
195
 
    Status ::=
196
 
                  "current"
197
 
                | "obsolete"
198
 
 
199
 
    ReferPart ::=
200
 
                  "REFERENCE" Text
201
 
                | empty
202
 
 
203
 
    ModulePart ::=
204
 
                  Modules
205
 
                | empty
206
 
    Modules ::=
207
 
                  Module
208
 
                | Modules Module
209
 
    Module ::=
210
 
                  -- name of module --
211
 
                  "SUPPORTS" ModuleName
212
 
                  "INCLUDES" "{" Groups "}"
213
 
                  VariationPart
214
 
 
215
 
    ModuleName ::=
216
 
 
217
 
                  -- identifier must start with uppercase letter
218
 
                  identifier ModuleIdentifier
219
 
    ModuleIdentifier ::=
220
 
                  value(OBJECT IDENTIFIER)
221
 
                | empty
222
 
 
223
 
    Groups ::=
224
 
                  Group
225
 
                | Groups "," Group
226
 
    Group ::=
227
 
                  value(OBJECT IDENTIFIER)
228
 
 
229
 
    VariationPart ::=
230
 
                  Variations
231
 
                | empty
232
 
    Variations ::=
233
 
                  Variation
234
 
                | Variations Variation
235
 
 
236
 
    Variation ::=
237
 
                  ObjectVariation
238
 
                | NotificationVariation
239
 
 
240
 
    NotificationVariation ::=
241
 
                  "VARIATION" value(NotificationName)
242
 
                  AccessPart
243
 
                  "DESCRIPTION" Text
244
 
 
245
 
    ObjectVariation ::=
246
 
                  "VARIATION" value(ObjectName)
247
 
                  SyntaxPart
248
 
                  WriteSyntaxPart
249
 
                  AccessPart
250
 
                  CreationPart
251
 
                  DefValPart
252
 
                  "DESCRIPTION" Text
253
 
 
254
 
    -- must be a refinement for object's SYNTAX clause
255
 
    SyntaxPart ::= "SYNTAX" Syntax
256
 
                | empty
257
 
 
258
 
    WriteSyntaxPart ::= "WRITE-SYNTAX" Syntax
259
 
                | empty
260
 
 
261
 
    Syntax ::=    -- Must be one of the following:
262
 
                       -- a base type (or its refinement),
263
 
                       -- a textual convention (or its refinement), or
264
 
                       -- a BITS pseudo-type
265
 
 
266
 
                  type
267
 
                | "BITS" "{" NamedBits "}"
268
 
 
269
 
    NamedBits ::= NamedBit
270
 
                | NamedBits "," NamedBit
271
 
 
272
 
    NamedBit ::= identifier "(" number ")" -- number is nonnegative
273
 
 
274
 
    AccessPart ::=
275
 
                  "ACCESS" Access
276
 
                | empty
277
 
 
278
 
    Access ::=
279
 
                  "not-implemented"
280
 
                -- only "not-implemented" for notifications
281
 
                | "accessible-for-notify"
282
 
                | "read-only"
283
 
                | "read-write"
284
 
                | "read-create"
285
 
                -- following is for backward-compatibility only
286
 
                | "write-only"
287
 
 
288
 
    CreationPart ::=
289
 
                  "CREATION-REQUIRES" "{" Cells "}"
290
 
                | empty
291
 
    Cells ::=
292
 
                  Cell
293
 
                | Cells "," Cell
294
 
    Cell ::=
295
 
                  value(ObjectName)
296
 
 
297
 
    DefValPart ::= "DEFVAL" "{" Defvalue "}"
298
 
                | empty
299
 
 
300
 
    Defvalue ::=  -- must be valid for the object's syntax
301
 
                  -- in this macro's SYNTAX clause, if present,
302
 
                  -- or if not, in object's OBJECT-TYPE macro
303
 
                  value(ObjectSyntax)
304
 
                | "{" BitsValue "}"
305
 
 
306
 
    BitsValue ::= BitNames
307
 
                | empty
308
 
 
309
 
    BitNames ::=  BitName
310
 
                | BitNames "," BitName
311
 
 
312
 
    BitName ::= identifier
313
 
 
314
 
    -- a character string as defined in [2]
315
 
    Text ::= value(IA5String)
316
 
END
317
 
 
318
 
END