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

« back to all changes in this revision

Viewing changes to mibs/SNMPv2-SMI.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-SMI DEFINITIONS ::= BEGIN
2
 
 
3
 
 
4
 
org            OBJECT IDENTIFIER ::= { iso 3 }  --  "iso" = 1
5
 
dod            OBJECT IDENTIFIER ::= { org 6 }
6
 
internet       OBJECT IDENTIFIER ::= { dod 1 }
7
 
 
8
 
directory      OBJECT IDENTIFIER ::= { internet 1 }
9
 
 
10
 
mgmt           OBJECT IDENTIFIER ::= { internet 2 }
11
 
mib-2          OBJECT IDENTIFIER ::= { mgmt 1 }
12
 
transmission   OBJECT IDENTIFIER ::= { mib-2 10 }
13
 
 
14
 
experimental   OBJECT IDENTIFIER ::= { internet 3 }
15
 
 
16
 
private        OBJECT IDENTIFIER ::= { internet 4 }
17
 
enterprises    OBJECT IDENTIFIER ::= { private 1 }
18
 
 
19
 
security       OBJECT IDENTIFIER ::= { internet 5 }
20
 
 
21
 
snmpV2         OBJECT IDENTIFIER ::= { internet 6 }
22
 
 
23
 
snmpDomains    OBJECT IDENTIFIER ::= { snmpV2 1 }
24
 
 
25
 
snmpProxys     OBJECT IDENTIFIER ::= { snmpV2 2 }
26
 
 
27
 
snmpModules    OBJECT IDENTIFIER ::= { snmpV2 3 }
28
 
 
29
 
ExtUTCTime ::= OCTET STRING(SIZE(11 | 13))
30
 
    -- format is YYMMDDHHMMZ or YYYYMMDDHHMMZ
31
 
 
32
 
    --   where: YY   - last two digits of year (only years
33
 
    --                 between 1900-1999)
34
 
    --          YYYY - last four digits of the year (any year)
35
 
    --          MM   - month (01 through 12)
36
 
    --          DD   - day of month (01 through 31)
37
 
    --          HH   - hours (00 through 23)
38
 
    --          MM   - minutes (00 through 59)
39
 
    --          Z    - denotes GMT (the ASCII character Z)
40
 
    --
41
 
    -- For example, "9502192015Z" and "199502192015Z" represent
42
 
    -- 8:15pm GMT on 19 February 1995. Years after 1999 must use
43
 
    -- the four digit year format. Years 1900-1999 may use the
44
 
    -- two or four digit format.
45
 
 
46
 
 
47
 
MODULE-IDENTITY MACRO ::=
48
 
BEGIN
49
 
    TYPE NOTATION ::=
50
 
                  "LAST-UPDATED" value(Update ExtUTCTime)
51
 
                  "ORGANIZATION" Text
52
 
                  "CONTACT-INFO" Text
53
 
                  "DESCRIPTION" Text
54
 
                  RevisionPart
55
 
 
56
 
    VALUE NOTATION ::=
57
 
                  value(VALUE OBJECT IDENTIFIER)
58
 
 
59
 
    RevisionPart ::=
60
 
                  Revisions
61
 
                | empty
62
 
    Revisions ::=
63
 
                  Revision
64
 
                | Revisions Revision
65
 
    Revision ::=
66
 
                  "REVISION" value(Update ExtUTCTime)
67
 
                  "DESCRIPTION" Text
68
 
 
69
 
    -- a character string as defined in section 3.1.1
70
 
    Text ::= value(IA5String)
71
 
END
72
 
 
73
 
OBJECT-IDENTITY MACRO ::=
74
 
BEGIN
75
 
    TYPE NOTATION ::=
76
 
                  "STATUS" Status
77
 
                  "DESCRIPTION" Text
78
 
 
79
 
                  ReferPart
80
 
 
81
 
    VALUE NOTATION ::=
82
 
                  value(VALUE OBJECT IDENTIFIER)
83
 
 
84
 
    Status ::=
85
 
                  "current"
86
 
                | "deprecated"
87
 
                | "obsolete"
88
 
 
89
 
    ReferPart ::=
90
 
                  "REFERENCE" Text
91
 
                | empty
92
 
 
93
 
    -- a character string as defined in section 3.1.1
94
 
    Text ::= value(IA5String)
95
 
END
96
 
 
97
 
 
98
 
ObjectName ::=
99
 
    OBJECT IDENTIFIER
100
 
 
101
 
NotificationName ::=
102
 
    OBJECT IDENTIFIER
103
 
 
104
 
 
105
 
 
106
 
ObjectSyntax ::=
107
 
    CHOICE {
108
 
        simple
109
 
            SimpleSyntax,
110
 
          -- note that SEQUENCEs for conceptual tables and
111
 
          -- rows are not mentioned here...
112
 
 
113
 
        application-wide
114
 
            ApplicationSyntax
115
 
    }
116
 
 
117
 
 
118
 
SimpleSyntax ::=
119
 
    CHOICE {
120
 
        -- INTEGERs with a more restrictive range
121
 
        -- may also be used
122
 
        integer-value               -- includes Integer32
123
 
            INTEGER (-2147483648..2147483647),
124
 
        -- OCTET STRINGs with a more restrictive size
125
 
        -- may also be used
126
 
        string-value
127
 
            OCTET STRING (SIZE (0..65535)),
128
 
        objectID-value
129
 
            OBJECT IDENTIFIER
130
 
    }
131
 
 
132
 
Integer32 ::=
133
 
        INTEGER (-2147483648..2147483647)
134
 
 
135
 
 
136
 
ApplicationSyntax ::=
137
 
    CHOICE {
138
 
        ipAddress-value
139
 
            IpAddress,
140
 
        counter-value
141
 
            Counter32,
142
 
        timeticks-value
143
 
            TimeTicks,
144
 
        arbitrary-value
145
 
            Opaque,
146
 
        big-counter-value
147
 
            Counter64,
148
 
        unsigned-integer-value  -- includes Gauge32
149
 
            Unsigned32
150
 
    }
151
 
 
152
 
 
153
 
IpAddress ::=
154
 
    [APPLICATION 0]
155
 
        IMPLICIT OCTET STRING (SIZE (4))
156
 
 
157
 
Counter32 ::=
158
 
    [APPLICATION 1]
159
 
        IMPLICIT INTEGER (0..4294967295)
160
 
 
161
 
Gauge32 ::=
162
 
    [APPLICATION 2]
163
 
        IMPLICIT INTEGER (0..4294967295)
164
 
 
165
 
Unsigned32 ::=
166
 
    [APPLICATION 2]
167
 
        IMPLICIT INTEGER (0..4294967295)
168
 
 
169
 
TimeTicks ::=
170
 
    [APPLICATION 3]
171
 
        IMPLICIT INTEGER (0..4294967295)
172
 
 
173
 
Opaque ::=
174
 
    [APPLICATION 4]
175
 
        IMPLICIT OCTET STRING
176
 
 
177
 
Counter64 ::=
178
 
    [APPLICATION 6]
179
 
        IMPLICIT INTEGER (0..18446744073709551615)
180
 
 
181
 
 
182
 
OBJECT-TYPE MACRO ::=
183
 
BEGIN
184
 
    TYPE NOTATION ::=
185
 
                  "SYNTAX" Syntax
186
 
                  UnitsPart
187
 
                  "MAX-ACCESS" Access
188
 
                  "STATUS" Status
189
 
                  "DESCRIPTION" Text
190
 
                  ReferPart
191
 
 
192
 
                  IndexPart
193
 
                  DefValPart
194
 
 
195
 
    VALUE NOTATION ::=
196
 
                  value(VALUE ObjectName)
197
 
 
198
 
    Syntax ::=   -- Must be one of the following:
199
 
                       -- a base type (or its refinement),
200
 
                       -- a textual convention (or its refinement), or
201
 
                       -- a BITS pseudo-type
202
 
                   type
203
 
                | "BITS" "{" NamedBits "}"
204
 
 
205
 
    NamedBits ::= NamedBit
206
 
                | NamedBits "," NamedBit
207
 
 
208
 
    NamedBit ::=  identifier "(" number ")" -- number is nonnegative
209
 
 
210
 
    UnitsPart ::=
211
 
                  "UNITS" Text
212
 
                | empty
213
 
 
214
 
    Access ::=
215
 
                  "not-accessible"
216
 
                | "accessible-for-notify"
217
 
                | "read-only"
218
 
                | "read-write"
219
 
                | "read-create"
220
 
 
221
 
    Status ::=
222
 
                  "current"
223
 
                | "deprecated"
224
 
                | "obsolete"
225
 
 
226
 
    ReferPart ::=
227
 
                  "REFERENCE" Text
228
 
                | empty
229
 
 
230
 
    IndexPart ::=
231
 
                  "INDEX"    "{" IndexTypes "}"
232
 
                | "AUGMENTS" "{" Entry      "}"
233
 
                | empty
234
 
    IndexTypes ::=
235
 
                  IndexType
236
 
                | IndexTypes "," IndexType
237
 
    IndexType ::=
238
 
                  "IMPLIED" Index
239
 
                | Index
240
 
 
241
 
    Index ::=
242
 
                    -- use the SYNTAX value of the
243
 
                    -- correspondent OBJECT-TYPE invocation
244
 
                  value(ObjectName)
245
 
    Entry ::=
246
 
                    -- use the INDEX value of the
247
 
                    -- correspondent OBJECT-TYPE invocation
248
 
                  value(ObjectName)
249
 
 
250
 
    DefValPart ::= "DEFVAL" "{" Defvalue "}"
251
 
                | empty
252
 
 
253
 
    Defvalue ::=  -- must be valid for the type specified in
254
 
                  -- SYNTAX clause of same OBJECT-TYPE macro
255
 
                  value(ObjectSyntax)
256
 
                | "{" BitsValue "}"
257
 
 
258
 
    BitsValue ::= BitNames
259
 
                | empty
260
 
 
261
 
    BitNames ::=  BitName
262
 
                | BitNames "," BitName
263
 
 
264
 
    BitName ::= identifier
265
 
 
266
 
    -- a character string as defined in section 3.1.1
267
 
    Text ::= value(IA5String)
268
 
END
269
 
 
270
 
 
271
 
NOTIFICATION-TYPE MACRO ::=
272
 
BEGIN
273
 
    TYPE NOTATION ::=
274
 
                  ObjectsPart
275
 
                  "STATUS" Status
276
 
                  "DESCRIPTION" Text
277
 
                  ReferPart
278
 
 
279
 
    VALUE NOTATION ::=
280
 
                  value(VALUE NotificationName)
281
 
 
282
 
    ObjectsPart ::=
283
 
                  "OBJECTS" "{" Objects "}"
284
 
                | empty
285
 
    Objects ::=
286
 
                  Object
287
 
 
288
 
                | Objects "," Object
289
 
    Object ::=
290
 
                  value(ObjectName)
291
 
 
292
 
    Status ::=
293
 
                  "current"
294
 
                | "deprecated"
295
 
                | "obsolete"
296
 
 
297
 
    ReferPart ::=
298
 
                  "REFERENCE" Text
299
 
                | empty
300
 
 
301
 
    -- a character string as defined in section 3.1.1
302
 
    Text ::= value(IA5String)
303
 
END
304
 
 
305
 
 
306
 
zeroDotZero    OBJECT-IDENTITY
307
 
    STATUS     current
308
 
    DESCRIPTION
309
 
            "A value used for null identifiers."
310
 
    ::= { 0 0 }
311
 
 
312
 
END