~ubuntu-branches/ubuntu/wily/net-snmp/wily-proposed

« back to all changes in this revision

Viewing changes to mibs/SNMP-COMMUNITY-MIB.txt

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-28 14:59:36 UTC
  • mfrom: (1.2.3 upstream) (1.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100628145936-cbiallic69pn044g
Tags: 5.4.3~dfsg-1ubuntu1
* Merge from debian unstable.  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/snmpd.postinst: source debconf before doing work, LP: #589056
  - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
    snmp user before install/uninstall, LP: #573391
  - Add apport hook (LP: #533603):
  - debian/{snmp,snmpd}.apport: Added.
  - debian/control: Build-depends on dh-apport.
  - debian/rules: 
    + Add --with apport.
    + override_dh_apport to install hook on snmpd package only.
 * Dropped patches:
   - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SNMP-COMMUNITY-MIB DEFINITIONS ::= BEGIN
2
 
 
3
 
IMPORTS
4
 
    IpAddress,
5
 
    MODULE-IDENTITY,
6
 
    OBJECT-TYPE,
7
 
    Integer32,
8
 
    snmpModules
9
 
        FROM SNMPv2-SMI
10
 
    RowStatus,
11
 
    StorageType
12
 
        FROM SNMPv2-TC
13
 
    SnmpAdminString,
14
 
    SnmpEngineID
15
 
        FROM SNMP-FRAMEWORK-MIB
16
 
    SnmpTagValue,
17
 
    snmpTargetAddrEntry
18
 
        FROM SNMP-TARGET-MIB
19
 
    MODULE-COMPLIANCE,
20
 
    OBJECT-GROUP
21
 
        FROM SNMPv2-CONF;
22
 
 
23
 
snmpCommunityMIB MODULE-IDENTITY
24
 
    LAST-UPDATED "200003060000Z"          -- 6 Mar 2000, midnight
25
 
    ORGANIZATION "SNMPv3 Working Group"
26
 
    CONTACT-INFO "WG-email:   snmpv3@lists.tislabs.com
27
 
                  Subscribe:  majordomo@lists.tislabs.com
28
 
                              In msg body:  subscribe snmpv3
29
 
 
30
 
                  Chair:      Russ Mundy
31
 
                              TIS Labs at Network Associates
32
 
                  Postal:     3060 Washington Rd
33
 
                              Glenwood MD 21738
34
 
                              USA
35
 
                  Email:      mundy@tislabs.com
36
 
                  Phone:      +1-301-854-6889
37
 
 
38
 
                  Co-editor:  Rob Frye
39
 
                              CoSine Communications
40
 
                  Postal:     1200 Bridge Parkway
41
 
                              Redwood City, CA 94065
42
 
                              USA
43
 
                  E-mail:     rfrye@cosinecom.com
44
 
                  Phone:      +1 703 725 1130
45
 
 
46
 
                  Co-editor:  David B. Levi
47
 
                              Nortel Networks
48
 
                  Postal:     3505 Kesterwood Drive
49
 
                              Knoxville, TN 37918
50
 
                  E-mail:     dlevi@nortelnetworks.com
51
 
                  Phone:      +1 423 686 0432
52
 
 
53
 
                  Co-editor:  Shawn A. Routhier
54
 
                              Integrated Systems Inc.
55
 
                  Postal:     333 North Ave 4th Floor
56
 
                              Wakefield, MA 01880
57
 
                  E-mail:     sar@epilogue.com
58
 
                  Phone:      +1 781 245 0804
59
 
 
60
 
                  Co-editor:  Bert Wijnen
61
 
                              Lucent Technologies
62
 
                  Postal:     Schagen 33
63
 
                              3461 GL Linschoten
64
 
                              Netherlands
65
 
                  Email:      bwijnen@lucent.com
66
 
                  Phone:      +31-348-407-775
67
 
                 "
68
 
        DESCRIPTION
69
 
            "This MIB module defines objects to help support coexistence
70
 
             between SNMPv1, SNMPv2c, and SNMPv3."
71
 
        REVISION "200003060000Z" -- 6 Mar 2000
72
 
        DESCRIPTION "This version published as RFC 2576."
73
 
        REVISION "199905130000Z" -- 13 May 1999
74
 
        DESCRIPTION "The Initial Revision"
75
 
    ::= { snmpModules 18 }
76
 
 
77
 
 
78
 
snmpCommunityMIBObjects     OBJECT IDENTIFIER ::= { snmpCommunityMIB 1 }
79
 
snmpCommunityMIBConformance OBJECT IDENTIFIER ::= { snmpCommunityMIB 2 }
80
 
 
81
 
--
82
 
 
83
 
--
84
 
 
85
 
snmpCommunityTable OBJECT-TYPE
86
 
    SYNTAX       SEQUENCE OF SnmpCommunityEntry
87
 
    MAX-ACCESS   not-accessible
88
 
    STATUS       current
89
 
    DESCRIPTION
90
 
        "The table of community strings configured in the SNMP
91
 
         engine's Local Configuration Datastore (LCD)."
92
 
    ::= { snmpCommunityMIBObjects 1 }
93
 
 
94
 
snmpCommunityEntry OBJECT-TYPE
95
 
    SYNTAX       SnmpCommunityEntry
96
 
    MAX-ACCESS   not-accessible
97
 
    STATUS       current
98
 
    DESCRIPTION
99
 
        "Information about a particular community string."
100
 
    INDEX       { IMPLIED snmpCommunityIndex }
101
 
    ::= { snmpCommunityTable 1 }
102
 
 
103
 
SnmpCommunityEntry ::= SEQUENCE {
104
 
    snmpCommunityIndex               SnmpAdminString,
105
 
    snmpCommunityName                OCTET STRING,
106
 
    snmpCommunitySecurityName        SnmpAdminString,
107
 
    snmpCommunityContextEngineID     SnmpEngineID,
108
 
    snmpCommunityContextName         SnmpAdminString,
109
 
    snmpCommunityTransportTag        SnmpTagValue,
110
 
    snmpCommunityStorageType         StorageType,
111
 
    snmpCommunityStatus              RowStatus
112
 
}
113
 
 
114
 
snmpCommunityIndex OBJECT-TYPE
115
 
    SYNTAX      SnmpAdminString (SIZE(1..32))
116
 
    MAX-ACCESS  not-accessible
117
 
    STATUS      current
118
 
    DESCRIPTION
119
 
        "The unique index value of a row in this table."
120
 
    ::= { snmpCommunityEntry 1 }
121
 
 
122
 
snmpCommunityName OBJECT-TYPE
123
 
    SYNTAX       OCTET STRING
124
 
    MAX-ACCESS   read-create
125
 
    STATUS       current
126
 
    DESCRIPTION
127
 
        "The community string for which a row in this table
128
 
         represents a configuration."
129
 
    ::= { snmpCommunityEntry 2 }
130
 
 
131
 
snmpCommunitySecurityName OBJECT-TYPE
132
 
    SYNTAX       SnmpAdminString (SIZE(1..32))
133
 
    MAX-ACCESS   read-create
134
 
    STATUS       current
135
 
    DESCRIPTION
136
 
        "A human readable string representing the corresponding
137
 
         value of snmpCommunityName in a Security Model
138
 
         independent format."
139
 
    ::= { snmpCommunityEntry 3 }
140
 
 
141
 
snmpCommunityContextEngineID OBJECT-TYPE
142
 
    SYNTAX       SnmpEngineID
143
 
    MAX-ACCESS   read-create
144
 
    STATUS       current
145
 
    DESCRIPTION
146
 
        "The contextEngineID indicating the location of the
147
 
         context in which management information is accessed
148
 
         when using the community string specified by the
149
 
         corresponding instance of snmpCommunityName.
150
 
 
151
 
         The default value is the snmpEngineID of the entity in
152
 
         which this object is instantiated."
153
 
    ::= { snmpCommunityEntry 4 }
154
 
 
155
 
snmpCommunityContextName OBJECT-TYPE
156
 
    SYNTAX       SnmpAdminString (SIZE(0..32))
157
 
    MAX-ACCESS   read-create
158
 
    STATUS       current
159
 
    DESCRIPTION
160
 
        "The context in which management information is accessed
161
 
         when using the community string specified by the corresponding
162
 
         instance of snmpCommunityName."
163
 
    DEFVAL      { ''H }   -- the empty string
164
 
    ::= { snmpCommunityEntry 5 }
165
 
 
166
 
snmpCommunityTransportTag OBJECT-TYPE
167
 
    SYNTAX       SnmpTagValue
168
 
    MAX-ACCESS   read-create
169
 
    STATUS       current
170
 
    DESCRIPTION
171
 
        "This object specifies a set of transport endpoints
172
 
         from which a command responder application will accept
173
 
         management requests.  If a management request containing
174
 
         this community is received on a transport endpoint other
175
 
         than the transport endpoints identified by this object,
176
 
         the request is deemed unauthentic.
177
 
 
178
 
         The transports identified by this object are specified
179
 
 
180
 
         in the snmpTargetAddrTable.  Entries in that table
181
 
         whose snmpTargetAddrTagList contains this tag value
182
 
         are identified.
183
 
 
184
 
         If the value of this object has zero-length, transport
185
 
         endpoints are not checked when authenticating messages
186
 
         containing this community string."
187
 
    DEFVAL      { ''H }   -- the empty string
188
 
    ::= { snmpCommunityEntry 6 }
189
 
 
190
 
snmpCommunityStorageType OBJECT-TYPE
191
 
    SYNTAX       StorageType
192
 
    MAX-ACCESS   read-create
193
 
    STATUS       current
194
 
    DESCRIPTION
195
 
        "The storage type for this conceptual row in the
196
 
         snmpCommunityTable.  Conceptual rows having the value
197
 
         'permanent' need not allow write-access to any
198
 
         columnar object in the row."
199
 
    ::= { snmpCommunityEntry 7 }
200
 
 
201
 
snmpCommunityStatus OBJECT-TYPE
202
 
    SYNTAX       RowStatus
203
 
    MAX-ACCESS   read-create
204
 
    STATUS       current
205
 
    DESCRIPTION
206
 
        "The status of this conceptual row in the snmpCommunityTable.
207
 
 
208
 
         An entry in this table is not qualified for activation
209
 
         until instances of all corresponding columns have been
210
 
         initialized, either through default values, or through
211
 
         Set operations.  The snmpCommunityName and
212
 
         snmpCommunitySecurityName objects must be explicitly set.
213
 
 
214
 
         There is no restriction on setting columns in this table
215
 
         when the value of snmpCommunityStatus is active(1)."
216
 
    ::= { snmpCommunityEntry 8 }
217
 
 
218
 
--
219
 
--
220
 
 
221
 
snmpTargetAddrExtTable OBJECT-TYPE
222
 
    SYNTAX       SEQUENCE OF SnmpTargetAddrExtEntry
223
 
    MAX-ACCESS   not-accessible
224
 
    STATUS       current
225
 
    DESCRIPTION
226
 
        "The table of mask and mms values associated with the
227
 
 
228
 
         snmpTargetAddrTable.
229
 
 
230
 
         The snmpTargetAddrExtTable augments the
231
 
         snmpTargetAddrTable with a transport address mask value
232
 
         and a maximum message size value.  The transport address
233
 
         mask allows entries in the snmpTargetAddrTable to define
234
 
         a set of addresses instead of just a single address.
235
 
         The maximum message size value allows the maximum
236
 
         message size of another SNMP entity to be configured for
237
 
         use in SNMPv1 (and SNMPv2c) transactions, where the
238
 
         message format does not specify a maximum message size."
239
 
    ::= { snmpCommunityMIBObjects 2 }
240
 
 
241
 
snmpTargetAddrExtEntry OBJECT-TYPE
242
 
    SYNTAX       SnmpTargetAddrExtEntry
243
 
    MAX-ACCESS   not-accessible
244
 
    STATUS       current
245
 
    DESCRIPTION
246
 
        "Information about a particular mask and mms value."
247
 
    AUGMENTS       { snmpTargetAddrEntry }
248
 
    ::= { snmpTargetAddrExtTable 1 }
249
 
 
250
 
SnmpTargetAddrExtEntry ::= SEQUENCE {
251
 
    snmpTargetAddrTMask              OCTET STRING,
252
 
    snmpTargetAddrMMS                Integer32
253
 
}
254
 
 
255
 
snmpTargetAddrTMask OBJECT-TYPE
256
 
    SYNTAX      OCTET STRING (SIZE (0..255))
257
 
    MAX-ACCESS  read-create
258
 
    STATUS      current
259
 
    DESCRIPTION
260
 
        "The mask value associated with an entry in the
261
 
         snmpTargetAddrTable.  The value of this object must
262
 
         have the same length as the corresponding instance of
263
 
         snmpTargetAddrTAddress, or must have length 0.  An
264
 
         attempt to set it to any other value will result in
265
 
         an inconsistentValue error.
266
 
 
267
 
         The value of this object allows an entry in the
268
 
         snmpTargetAddrTable to specify multiple addresses.
269
 
         The mask value is used to select which bits of
270
 
         a transport address must match bits of the corresponding
271
 
         instance of snmpTargetAddrTAddress, in order for the
272
 
         transport address to match a particular entry in the
273
 
         snmpTargetAddrTable.  Bits which are 1 in the mask
274
 
         value indicate bits in the transport address which
275
 
         must match bits in the snmpTargetAddrTAddress value.
276
 
 
277
 
         Bits which are 0 in the mask indicate bits in the
278
 
         transport address which need not match.  If the
279
 
         length of the mask is 0, the mask should be treated
280
 
         as if all its bits were 1 and its length were equal
281
 
         to the length of the corresponding value of
282
 
         snmpTargetAddrTable.
283
 
 
284
 
         This object may not be modified while the value of the
285
 
         corresponding instance of snmpTargetAddrRowStatus is
286
 
         active(1).  An attempt to set this object in this case
287
 
         will result in an inconsistentValue error."
288
 
    DEFVAL { ''H }
289
 
    ::= { snmpTargetAddrExtEntry 1 }
290
 
 
291
 
snmpTargetAddrMMS OBJECT-TYPE
292
 
    SYNTAX      Integer32 (0|484..2147483647)
293
 
    MAX-ACCESS  read-create
294
 
    STATUS      current
295
 
    DESCRIPTION
296
 
        "The maximum message size value associated with an entry
297
 
         in the snmpTargetAddrTable."
298
 
    DEFVAL { 484 }
299
 
    ::= { snmpTargetAddrExtEntry 2 }
300
 
 
301
 
--
302
 
--
303
 
 
304
 
snmpTrapAddress OBJECT-TYPE
305
 
    SYNTAX      IpAddress
306
 
    MAX-ACCESS  accessible-for-notify
307
 
    STATUS      current
308
 
    DESCRIPTION
309
 
        "The value of the agent-addr field of a Trap PDU which
310
 
         is forwarded by a proxy forwarder application using
311
 
         an SNMP version other than SNMPv1.  The value of this
312
 
         object SHOULD contain the value of the agent-addr field
313
 
         from the original Trap PDU as generated by an SNMPv1
314
 
         agent."
315
 
    ::= { snmpCommunityMIBObjects 3 }
316
 
 
317
 
snmpTrapCommunity OBJECT-TYPE
318
 
    SYNTAX      OCTET STRING
319
 
    MAX-ACCESS  accessible-for-notify
320
 
    STATUS      current
321
 
    DESCRIPTION
322
 
        "The value of the community string field of an SNMPv1
323
 
         message containing a Trap PDU which is forwarded by a
324
 
         a proxy forwarder application using an SNMP version
325
 
         other than SNMPv1.  The value of this object SHOULD
326
 
         contain the value of the community string field from
327
 
         the original SNMPv1 message containing a Trap PDU as
328
 
         generated by an SNMPv1 agent."
329
 
    ::= { snmpCommunityMIBObjects 4 }
330
 
 
331
 
 
332
 
snmpCommunityMIBCompliances OBJECT IDENTIFIER
333
 
                            ::= { snmpCommunityMIBConformance 1 }
334
 
snmpCommunityMIBGroups      OBJECT IDENTIFIER
335
 
                            ::= { snmpCommunityMIBConformance 2 }
336
 
 
337
 
 
338
 
snmpCommunityMIBCompliance MODULE-COMPLIANCE
339
 
    STATUS       current
340
 
    DESCRIPTION
341
 
        "The compliance statement for SNMP engines which
342
 
         implement the SNMP-COMMUNITY-MIB."
343
 
 
344
 
    MODULE       -- this module
345
 
        MANDATORY-GROUPS { snmpCommunityGroup }
346
 
 
347
 
        OBJECT           snmpCommunityName
348
 
        MIN-ACCESS       read-only
349
 
        DESCRIPTION     "Write access is not required."
350
 
 
351
 
        OBJECT           snmpCommunitySecurityName
352
 
        MIN-ACCESS       read-only
353
 
        DESCRIPTION     "Write access is not required."
354
 
 
355
 
        OBJECT           snmpCommunityContextEngineID
356
 
        MIN-ACCESS       read-only
357
 
        DESCRIPTION     "Write access is not required."
358
 
 
359
 
        OBJECT           snmpCommunityContextName
360
 
        MIN-ACCESS       read-only
361
 
        DESCRIPTION     "Write access is not required."
362
 
 
363
 
        OBJECT           snmpCommunityTransportTag
364
 
        MIN-ACCESS       read-only
365
 
        DESCRIPTION     "Write access is not required."
366
 
 
367
 
        OBJECT           snmpCommunityStorageType
368
 
        MIN-ACCESS       read-only
369
 
        DESCRIPTION     "Write access is not required."
370
 
 
371
 
        OBJECT           snmpCommunityStatus
372
 
        MIN-ACCESS       read-only
373
 
        DESCRIPTION     "Write access is not required."
374
 
    ::= { snmpCommunityMIBCompliances 1 }
375
 
 
376
 
snmpProxyTrapForwardCompliance MODULE-COMPLIANCE
377
 
    STATUS       current
378
 
    DESCRIPTION
379
 
        "The compliance statement for SNMP engines which
380
 
         contain a proxy forwarding application which is
381
 
         capable of forwarding SNMPv1 traps using SNMPv2c
382
 
         or SNMPv3."
383
 
    MODULE       -- this module
384
 
        MANDATORY-GROUPS { snmpProxyTrapForwardGroup }
385
 
    ::= { snmpCommunityMIBCompliances 2 }
386
 
 
387
 
snmpCommunityGroup OBJECT-GROUP
388
 
    OBJECTS {
389
 
        snmpCommunityName,
390
 
        snmpCommunitySecurityName,
391
 
        snmpCommunityContextEngineID,
392
 
        snmpCommunityContextName,
393
 
        snmpCommunityTransportTag,
394
 
        snmpCommunityStorageType,
395
 
        snmpCommunityStatus,
396
 
        snmpTargetAddrTMask,
397
 
        snmpTargetAddrMMS
398
 
    }
399
 
    STATUS       current
400
 
    DESCRIPTION
401
 
        "A collection of objects providing for configuration
402
 
         of community strings for SNMPv1 (and SNMPv2c) usage."
403
 
    ::= { snmpCommunityMIBGroups 1 }
404
 
 
405
 
snmpProxyTrapForwardGroup OBJECT-GROUP
406
 
    OBJECTS {
407
 
        snmpTrapAddress,
408
 
        snmpTrapCommunity
409
 
    }
410
 
    STATUS       current
411
 
    DESCRIPTION
412
 
        "Objects which are used by proxy forwarding applications
413
 
         when translating traps between SNMP versions.  These are
414
 
         used to preserve SNMPv1-specific information when
415
 
 
416
 
         translating to SNMPv2c or SNMPv3."
417
 
    ::= { snmpCommunityMIBGroups 3 }
418
 
 
419
 
END