smilint output for ./SNMPv2-M2M-MIB
Message Severities |
Severity | Count |
minor error | 1 |
change recommended | 3 |
warning | 13 |
fyi | 2 |
Message Types |
Type | Count |
group-membership (change recommended) | 3 |
index-element-no-size (fyi) | 2 |
index-exceeds-too-large (warning) | 2 |
integer-misuse (warning) | 7 |
notification-not-reversible (warning) | 3 |
revision-missing (minor error) | 1 |
type-status-obsolete (warning) | 1 |
Messages:
SNMPv2-M2M-MIB
1: -- extracted from rfc1451.txt
2: -- at Mon Nov 15 17:11:56 1999
17:
18: snmpM2M MODULE-IDENTITY
19: LAST-UPDATED "9304010000Z"
20: ORGANIZATION "IETF SNMPv2 Working Group"
21: CONTACT-INFO
22: " Steven Waldbusser
23:
24: Postal: Carnegie Mellon University
25: 4910 Forbes Ave
26: Pittsburgh, PA 15213
27:
28: Tel: +1 412 268 6628
29: Fax: +1 412 268 4987
30:
31: E-mail: waldbusser@cmu.edu"
32: DESCRIPTION
33: "The Manager-to-Manager MIB module."
34: ::= { snmpModules 2 }
34: minor error -
revision for last update is missing
35:
...
70: --
71: snmpAlarmNextIndex OBJECT-TYPE
72: SYNTAX INTEGER (0..65535)
72: warning -
warning: use Integer32 instead of INTEGER in SMIv2
73: MAX-ACCESS read-only
74: STATUS current
75: DESCRIPTION
76: "The index number of the next appropriate
77: unassigned entry in the snmpAlarmTable. The value
78: 0 indicates that no unassigned entries are
79: available.
80:
81: A management station should create new entries in
82: the snmpAlarmTable using this algorithm: first,
83: issue a management protocol retrieval operation to
84: determine the value of snmpAlarmNextIndex; and,
85: second, issue a management protocol set operation
86: to create an instance of the snmpAlarmStatus
87: object setting its value to `createAndGo' or
88: `createAndWait' (as specified in the description
89: of the RowStatus textual convention)."
90: ::= { snmpAlarm 1 }
...
99:
100: snmpAlarmEntry OBJECT-TYPE
100: fyi -
info: index element `SNMPv2-PARTY-MIB::contextIdentity' of row `snmpAlarmEntry' should but cannot have a size restriction
100: warning -
warning: index of row `snmpAlarmEntry' can exceed OID size limit by 14 subidentifier(s)
101: SYNTAX SnmpAlarmEntry
102: MAX-ACCESS not-accessible
103: STATUS current
104: DESCRIPTION
105: "A list of parameters that set up a periodic
106: sampling query to check for alarm conditions. The
107: contextIdentity included in the INDEX clause is
108: the context to which the sampling queries are
109: directed."
110: INDEX { contextIdentity, snmpAlarmIndex }
111: ::= { snmpAlarmTable 1 }
112:
113: SnmpAlarmEntry ::= SEQUENCE {
114: snmpAlarmIndex INTEGER,
115: snmpAlarmVariable InstancePointer,
116: snmpAlarmInterval Integer32,
117: snmpAlarmSampleType INTEGER,
118: snmpAlarmValue Integer32,
119: snmpAlarmStartupAlarm INTEGER,
120: snmpAlarmRisingThreshold Integer32,
121: snmpAlarmFallingThreshold Integer32,
122: snmpAlarmRisingEventIndex INTEGER,
123: snmpAlarmFallingEventIndex INTEGER,
124: snmpAlarmUnavailableEventIndex INTEGER,
125: snmpAlarmStatus RowStatus
126: }
127:
128: snmpAlarmIndex OBJECT-TYPE
129: SYNTAX INTEGER (1..65535)
129: warning -
warning: use Integer32 instead of INTEGER in SMIv2
130: MAX-ACCESS not-accessible
131: STATUS current
132: DESCRIPTION
133: "An index that uniquely identifies an entry in the
134: snmpAlarm table for a particular sampling context.
135: Each such entry defines a diagnostic sample at a
136: particular interval for a variable in the
137: particular context's object resources."
138: ::= { snmpAlarmEntry 1 }
139:
140: snmpAlarmVariable OBJECT-TYPE
140: warning -
warning: type `InstancePointer' used by `snmpAlarmVariable' is obsolete
141: SYNTAX InstancePointer
142: MAX-ACCESS read-create
143: STATUS current
144: DESCRIPTION
145: "The object identifier of the particular variable
146: to be sampled. Only variables that resolve to an
147: ASN.1 primitive type of INTEGER (Integer32,
148: Counter32, Gauge32, TimeTicks, Counter64, or
149: UInteger32) may be sampled.
150:
151: If it is detected by an error response of
152: authorizationError, noSuchObject, or
153: noSuchInstance that the variable name of an
154: established snmpAlarmEntry is no longer available
155: in the sampling context, a single
156: snmpObjectUnavailableAlarm event is generated and
157: the status of this snmpAlarmEntry is set to
158: `destroy'. Likewise, if the syntax of the
159: variable retrieved by the query is not Integer32,
160: Counter32, Gauge32, TimeTicks, Counter64, or
161: UInteger32, the same actions will be taken.
162:
163: If the SNMPv2 entity acting in a dual role detects
164: that the sampled value can not be obtained due to
165: lack of response to management queries, it should
166: either:
167:
168: 1) Set the status of this snmpAlarmEntry to
169: `destroy', if it is determined that further
170: communication is not possible;
171:
172: or,
173:
174: 2) Delete the associated snmpAlarmValue
175: instance (but not the entire conceptual row),
176: and continue to attempt to sample the
177: variable and recreate the associated
178: snmpAlarmValue instance should communication
179: be reestablished.
180:
181: An attempt to modify this object will fail with an
182: `inconsistentValue' error if the associated
183: snmpAlarmStatus object would be equal to `active'
184: both before and after the modification attempt."
185: ::= { snmpAlarmEntry 2 }
...
351:
352: snmpAlarmRisingEventIndex OBJECT-TYPE
353: SYNTAX INTEGER (0..65535)
353: warning -
warning: use Integer32 instead of INTEGER in SMIv2
354: MAX-ACCESS read-create
355: STATUS current
356: DESCRIPTION
357: "The index of the snmpEventEntry that is used when
358: a rising threshold is crossed. The snmpEventEntry
359: identified by a particular value of this index is
360: the same as identified by the same value of the
361: snmpEventIndex object. If there is no
362: corresponding entry in the snmpEventTable, then no
363: association exists. In particular, if this value
364: is zero, no associated event will be generated, as
365: zero is not a valid snmpEventIndex.
366:
367: An attempt to modify this object will fail with an
368: `inconsistentValue' error if the associated
369: snmpAlarmStatus object would be equal to `active'
370: both before and after the modification attempt."
371: ::= { snmpAlarmEntry 9 }
372:
373: snmpAlarmFallingEventIndex OBJECT-TYPE
374: SYNTAX INTEGER (0..65535)
374: warning -
warning: use Integer32 instead of INTEGER in SMIv2
375: MAX-ACCESS read-create
376: STATUS current
377: DESCRIPTION
378: "The index of the snmpEventEntry that is used when
379: a falling threshold is crossed. The
380: snmpEventEntry identified by a particular value of
381: this index is the same as identified by the same
382: value of the snmpEventIndex object. If there is
383: no corresponding entry in the snmpEventTable, then
384: no association exists. In particular, if this
385: value is zero, no associated event will be
386: generated, as zero is not a valid snmpEventIndex.
387:
388: An attempt to modify this object will fail with an
389: `inconsistentValue' error if the associated
390: snmpAlarmStatus object would be equal to `active'
391: both before and after the modification attempt."
392: ::= { snmpAlarmEntry 10 }
393:
394: snmpAlarmUnavailableEventIndex OBJECT-TYPE
395: SYNTAX INTEGER (0..65535)
395: warning -
warning: use Integer32 instead of INTEGER in SMIv2
396: MAX-ACCESS read-create
397: STATUS current
398: DESCRIPTION
399: "The index of the snmpEventEntry that is used when
400: a variable becomes unavailable. The
401: snmpEventEntry identified by a particular value of
402: this index is the same as identified by the same
403: value of the snmpEventIndex object. If there is
404: no corresponding entry in the snmpEventTable, then
405: no association exists. In particular, if this
406: value is zero, no associated event will be
407: generated, as zero is not a valid snmpEventIndex.
408:
409: An attempt to modify this object will fail with an
410: `inconsistentValue' error if the associated
411: snmpAlarmStatus object would be equal to `active'
412: both before and after the modification attempt."
413: ::= { snmpAlarmEntry 11 }
...
436:
437: snmpRisingAlarm NOTIFICATION-TYPE
437: warning -
warning: notification `snmpRisingAlarm' is not reverse mappable
437: change recommended -
warning: notification `snmpRisingAlarm' must be contained in at least one conformance group
438: OBJECTS { snmpAlarmVariable, snmpAlarmSampleType,
439: snmpAlarmValue, snmpAlarmRisingThreshold }
440: STATUS current
441: DESCRIPTION
442: "An event that is generated when an alarm entry
443: crosses its rising threshold. The instances of
444: those objects contained within the varbind list
445: are those of the alarm entry which generated this
446: event."
447: ::= { snmpAlarmNotifications 1 }
448:
449: snmpFallingAlarm NOTIFICATION-TYPE
449: warning -
warning: notification `snmpFallingAlarm' is not reverse mappable
449: change recommended -
warning: notification `snmpFallingAlarm' must be contained in at least one conformance group
450: OBJECTS { snmpAlarmVariable, snmpAlarmSampleType,
451: snmpAlarmValue, snmpAlarmFallingThreshold }
452: STATUS current
453: DESCRIPTION
454: "An event that is generated when an alarm entry
455: crosses its falling threshold. The instances of
456: those objects contained within the varbind list
457: are those of the alarm entry which generated this
458: event."
459: ::= { snmpAlarmNotifications 2 }
460:
461: snmpObjectUnavailableAlarm NOTIFICATION-TYPE
461: warning -
warning: notification `snmpObjectUnavailableAlarm' is not reverse mappable
461: change recommended -
warning: notification `snmpObjectUnavailableAlarm' must be contained in at least one conformance group
462: OBJECTS { snmpAlarmVariable }
463: STATUS current
464: DESCRIPTION
465: "An event that is generated when a variable
466: monitored by an alarm entry becomes unavailable.
467: The instance of snmpAlarmVariable contained within
468: the varbind list is the one associated with the
469: alarm entry which generated this event."
470: ::= { snmpAlarmNotifications 3 }
471:
472: -- the event group
473: --
474: -- a collection of objects allowing the description and
475: -- configuration of events from a SNMPv2 entity acting
476: -- in a dual role.
...
489:
490: snmpEventNextIndex OBJECT-TYPE
491: SYNTAX INTEGER (0..65535)
491: warning -
warning: use Integer32 instead of INTEGER in SMIv2
492: MAX-ACCESS read-only
493: STATUS current
494: DESCRIPTION
495: "The index number of the next appropriate
496: unassigned entry in the snmpEventTable. The value
497: 0 indicates that no unassigned entries are
498: available.
499:
500: A management station should create new entries in
501: the snmpEventTable using this algorithm: first,
502: issue a management protocol retrieval operation to
503: determine the value of snmpEventNextIndex; and,
504: second, issue a management protocol set operation
505: to create an instance of the snmpEventStatus
506: object setting its value to `createAndWait' or
507: 'createAndGo'."
508: ::= { snmpEvent 1 }
...
536:
537: snmpEventIndex OBJECT-TYPE
538: SYNTAX INTEGER (1..65535)
538: warning -
warning: use Integer32 instead of INTEGER in SMIv2
539: MAX-ACCESS not-accessible
540: STATUS current
541: DESCRIPTION
542: "An index that uniquely identifies an entry in the
543: snmpEvent table. Each such entry defines an event
544: generated when the appropriate conditions occur."
545: ::= { snmpEventEntry 1 }
...
665:
666: snmpEventNotifyEntry OBJECT-TYPE
666: fyi -
info: index element `SNMPv2-PARTY-MIB::contextIdentity' of row `snmpEventNotifyEntry' should but cannot have a size restriction
666: warning -
warning: index of row `snmpEventNotifyEntry' can exceed OID size limit by 14 subidentifier(s)
667: SYNTAX SnmpEventNotifyEntry
668: MAX-ACCESS not-accessible
669: STATUS current
670: DESCRIPTION
671: "A set of parameters that describe the type and
672: destination of InformRequest-PDUs sent for a
673: particular event. The snmpEventIndex in this
674: entry's INDEX clause identifies the snmpEventEntry
675: which, when triggered, will generate a
676: notification as configured in this entry. The
677: contextIdentity in this entry's INDEX clause
678: identifies the context to which a notification
679: will be sent."
680: INDEX { snmpEventIndex, contextIdentity }
681: ::= { snmpEventNotifyTable 1 }
682:
683: SnmpEventNotifyEntry ::= SEQUENCE {
684: snmpEventNotifyIntervalRequested Integer32,
685: snmpEventNotifyRetransmissionsRequested Integer32,
686: snmpEventNotifyLifetime Integer32,
687: snmpEventNotifyStatus RowStatus