smilint output for ./CHARACTER-MIB
Message Severities |
Severity | Count |
error | 6 |
minor error | 1 |
change recommended | 2 |
warning | 10 |
Message Types |
Type | Count |
group-membership (change recommended) | 2 |
import-unused (warning) | 2 |
index-element-accessible (warning) | 3 |
index-element-no-range (error) | 2 |
integer-misuse (warning) | 3 |
macro-not-imported (error) | 1 |
obsolete-import (warning) | 1 |
revision-missing (minor error) | 1 |
sequence-type-mismatch (error) | 1 |
size-illegal (error) | 1 |
type-status-obsolete (warning) | 1 |
type-unknown (error) | 1 |
Messages:
CHARACTER-MIB
1: -- extracted from rfc1658.txt
2: -- at Mon Nov 15 17:11:52 1999
3:
4: CHARACTER-MIB DEFINITIONS ::= BEGIN
5:
6: IMPORTS
7: MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
7: warning -
warning: identifier `NOTIFICATION-TYPE' imported from module `SNMPv2-SMI' is never used
8: Counter32, Integer32, Gauge32, TimeTicks
9: FROM SNMPv2-SMI
10: AutonomousType, InstancePointer
11: FROM SNMPv2-TC
12: InterfaceIndex
13: FROM IF-MIB
14: transmission, mib-2
14: warning -
warning: identifier `transmission' imported from module `RFC1213-MIB' is never used
14: warning -
warning: identifier `mib-2' should be imported from `SNMPv2-SMI' instead of `RFC1213-MIB'
15: FROM RFC1213-MIB
16: MODULE-COMPLIANCE, OBJECT-GROUP
17: FROM SNMPv2-CONF;
18:
19:
20: char MODULE-IDENTITY
21: LAST-UPDATED "9405261700Z"
22: ORGANIZATION "IETF Character MIB Working Group"
23: CONTACT-INFO
24: " Bob Stewart
25: Postal: Xyplex, Inc.
26: 295 Foster Street
27: Littleton, MA 01460
28:
29: Tel: 508-952-4816
30: Fax: 508-952-4887
31:
32: E-mail: rlstewart@eng.xyplex.com"
33: DESCRIPTION
34: "The MIB module for character stream devices."
35: ::= { mib-2 19 }
35: minor error -
revision for last update is missing
36:
37: PortIndex ::= TEXTUAL-CONVENTION
37: error -
macro `TEXTUAL-CONVENTION' has not been imported from module `SNMPv2-TC'
38: DISPLAY-HINT "d"
39: STATUS current
40: DESCRIPTION
41: "A unique value, greater than zero, for each
42: character port in the managed system. It is
43: recommended that values are assigned contiguously
44: starting from 1. The value for each interface sub-
45: layer must remain constant at least from one re-
46: initialization of the entity's network management
47: system to the next re-initialization.
48:
49: In a system where the character ports are attached
50: to hardware represented by an ifIndex, it is
51: conventional, but not required, to make the
52: character port index equal to the corresponding
53: ifIndex."
54: SYNTAX Integer32
55:
56:
57: -- Generic Character information
58:
59: charNumber OBJECT-TYPE
60: SYNTAX Integer32
61: MAX-ACCESS read-only
62: STATUS current
63: DESCRIPTION
64: "The number of entries in charPortTable, regardless
65: of their current state."
66: ::= { char 1 }
67:
68:
69: -- the Character Port table
70:
71: charPortTable OBJECT-TYPE
72: SYNTAX SEQUENCE OF CharPortEntry
73: MAX-ACCESS not-accessible
74: STATUS current
75: DESCRIPTION
76: "A list of port entries. The number of entries is
77: given by the value of charNumber."
78: ::= { char 2 }
79:
80: charPortEntry OBJECT-TYPE
80: warning -
warning: index element `charPortIndex' of row `charPortEntry' should be not-accessible in SMIv2 MIB
81: SYNTAX CharPortEntry
82: MAX-ACCESS not-accessible
83: STATUS current
84: DESCRIPTION
85: "Status and parameter values for a character port."
86: INDEX { charPortIndex }
87: ::= { charPortTable 1 }
88:
89: CharPortEntry ::=
90: SEQUENCE {
91: charPortIndex
92: PortIndex,
93: charPortName
94: DisplayString,
94: error -
unknown type `DisplayString'
95: charPortType
96: INTEGER,
97: charPortHardware
98: AutonomousType,
99: charPortReset
100: INTEGER,
101: charPortAdminStatus
102: INTEGER,
103: charPortOperStatus
104: INTEGER,
105: charPortLastChange
106: TimeTicks,
107: charPortInFlowType
108: INTEGER,
109: charPortOutFlowType
110: INTEGER,
111: charPortInFlowState
112: INTEGER,
113: charPortOutFlowState
114: INTEGER,
115: charPortInCharacters
116: Counter32,
117: charPortOutCharacters
118: Counter32,
119: charPortAdminOrigin
120: INTEGER,
121: charPortSessionMaximum
122: INTEGER,
123: charPortSessionNumber
124: Gauge32,
125: charPortSessionIndex
126: INTEGER,
127: charPortInFlowTypes
128: OCTET STRING,
129: charPortOutFlowTypes
130: OCTET STRING,
131: charPortLowerIfIndex
132: InterfaceIndex
133: }
134:
135: charPortIndex OBJECT-TYPE
135: error -
index element `charPortIndex' of row `charPortEntry' must have a range restriction
136: SYNTAX PortIndex
137: MAX-ACCESS read-only
138: STATUS current
139: DESCRIPTION
140: "A unique value for each character port, perhaps
141: corresponding to the same value of ifIndex when the
142: character port is associated with a hardware port
143: represented by an ifIndex."
144: ::= { charPortEntry 1 }
145:
146: charPortName OBJECT-TYPE
147: SYNTAX DisplayString (SIZE (0..32))
147: error -
illegal size restriction for non-octet-string parent type `DisplayString'
148: MAX-ACCESS read-write
149: STATUS current
150: DESCRIPTION
151: "An administratively assigned name for the port,
152: typically with some local significance."
153: ::= { charPortEntry 2 }
153: error -
type of `charPortName' in sequence and object type definition do not match
154:
155: charPortType OBJECT-TYPE
156: SYNTAX INTEGER { physical(1), virtual(2) }
157: MAX-ACCESS read-only
158: STATUS current
159: DESCRIPTION
160: "The port's type, 'physical' if the port represents
161: an external hardware connector, 'virtual' if it does
162: not."
163: ::= { charPortEntry 3 }
164:
165: charPortHardware OBJECT-TYPE
166: SYNTAX AutonomousType
167: MAX-ACCESS read-only
168: STATUS current
169: DESCRIPTION
170: "A reference to hardware MIB definitions specific to
171: a physical port's external connector. For example,
172: if the connector is RS-232, then the value of this
173: object refers to a MIB sub-tree defining objects
174: specific to RS-232. If an agent is not configured
175: to have such values, the agent returns the object
176: identifier:
177:
178: nullHardware OBJECT IDENTIFIER ::= { 0 0 }
179: "
180: ::= { charPortEntry 4 }
181:
182: charPortReset OBJECT-TYPE
183: SYNTAX INTEGER { ready(1), execute(2) }
184: MAX-ACCESS read-write
185: STATUS current
186: DESCRIPTION
187: "A control to force the port into a clean, initial
188: state, both hardware and software, disconnecting all
189: the port's existing sessions. In response to a
190: get-request or get-next-request, the agent always
191: returns 'ready' as the value. Setting the value to
192: 'execute' causes a reset."
193: ::= { charPortEntry 5 }
194:
195: charPortAdminStatus OBJECT-TYPE
196: SYNTAX INTEGER { enabled(1), disabled(2), off(3),
197: maintenance(4) }
198: MAX-ACCESS read-write
199: STATUS current
200: DESCRIPTION
201: "The port's desired state, independent of flow
202: control. 'enabled' indicates that the port is
203: allowed to pass characters and form new sessions.
204: 'disabled' indicates that the port is allowed to
205: pass characters but not form new sessions. 'off'
206: indicates that the port is not allowed to pass
207: characters or have any sessions. 'maintenance'
208: indicates a maintenance mode, exclusive of normal
209: operation, such as running a test.
210:
211: 'enabled' corresponds to ifAdminStatus 'up'.
212: 'disabled' and 'off' correspond to ifAdminStatus
213: 'down'. 'maintenance' corresponds to ifAdminStatus
214: 'test'."
215: ::= { charPortEntry 6 }
216:
217: charPortOperStatus OBJECT-TYPE
218: SYNTAX INTEGER { up(1), down(2),
219: maintenance(3), absent(4), active(5) }
220: MAX-ACCESS read-only
221: STATUS current
222: DESCRIPTION
223: "The port's actual, operational state, independent
224: of flow control. 'up' indicates able to function
225: normally. 'down' indicates inability to function
226: for administrative or operational reasons.
227: 'maintenance' indicates a maintenance mode,
228: exclusive of normal operation, such as running a
229: test. 'absent' indicates that port hardware is not
230: present. 'active' indicates up with a user present
231: (e.g. logged in).
232:
233: 'up' and 'active' correspond to ifOperStatus 'up'.
234: 'down' and 'absent' correspond to ifOperStatus
235: 'down'. 'maintenance' corresponds to ifOperStatus
236: 'test'."
237: ::= { charPortEntry 7 }
238:
239: charPortLastChange OBJECT-TYPE
240: SYNTAX TimeTicks
241: MAX-ACCESS read-only
242: STATUS current
243: DESCRIPTION
244: "The value of sysUpTime at the time the port entered
245: its current operational state. If the current state
246: was entered prior to the last reinitialization of
247: the local network management subsystem, then this
248: object contains a zero value."
249: ::= { charPortEntry 8 }
250:
251: -- charPortInFlowType is deprecated in favor of
252: -- charPortInFlowTypes
253:
254: charPortInFlowType OBJECT-TYPE
254: change recommended -
warning: node `charPortInFlowType' must be contained in at least one conformance group
255: SYNTAX INTEGER { none(1), xonXoff(2), hardware(3),
256: ctsRts(4), dsrDtr(5) }
257: MAX-ACCESS read-write
258: STATUS deprecated
259: DESCRIPTION
260: "The port's type of input flow control. 'none'
261: indicates no flow control at this level or below.
262: 'xonXoff' indicates software flow control by
263: recognizing XON and XOFF characters. 'hardware'
264: indicates flow control delegated to the lower level,
265: for example a parallel port.
266:
267: 'ctsRts' and 'dsrDtr' are specific to RS-232-like
268: ports. Although not architecturally pure, they are
269: included here for simplicity's sake."
270: ::= { charPortEntry 9 }
271:
272: -- charPortOutFlowType is deprecated in favor of
273: -- charPortOutFlowTypes
274:
275: charPortOutFlowType OBJECT-TYPE
275: change recommended -
warning: node `charPortOutFlowType' must be contained in at least one conformance group
276: SYNTAX INTEGER { none(1), xonXoff(2), hardware(3),
277: ctsRts(4), dsrDtr(5) }
278: MAX-ACCESS read-write
279: STATUS deprecated
280: DESCRIPTION
281: "The port's type of output flow control. 'none'
282: indicates no flow control at this level or below.
283: 'xonXoff' indicates software flow control by
284: recognizing XON and XOFF characters. 'hardware'
285: indicates flow control delegated to the lower level,
286: for example a parallel port.
287:
288: 'ctsRts' and 'dsrDtr' are specific to RS-232-like
289: ports. Although not architecturally pure, they are
290: included here for simplicy's sake."
291: ::= { charPortEntry 10 }
292:
293: charPortInFlowState OBJECT-TYPE
294: SYNTAX INTEGER { none(1), unknown(2), stop(3), go(4) }
295: MAX-ACCESS read-only
296: STATUS current
297: DESCRIPTION
298: "The current operational state of input flow control
299: on the port. 'none' indicates not applicable.
300: 'unknown' indicates this level does not know.
301: 'stop' indicates flow not allowed. 'go' indicates
302: flow allowed."
303: ::= { charPortEntry 11 }
304:
305: charPortOutFlowState OBJECT-TYPE
306: SYNTAX INTEGER { none(1), unknown(2), stop(3), go(4) }
307: MAX-ACCESS read-only
308: STATUS current
309: DESCRIPTION
310: "The current operational state of output flow
311: control on the port. 'none' indicates not
312: applicable. 'unknown' indicates this level does not
313: know. 'stop' indicates flow not allowed. 'go'
314: indicates flow allowed."
315: ::= { charPortEntry 12 }
316:
317: charPortInCharacters OBJECT-TYPE
318: SYNTAX Counter32
319: MAX-ACCESS read-only
320: STATUS current
321: DESCRIPTION
322: "Total number of characters detected as input from
323: the port since system re-initialization and while
324: the port operational state was 'up', 'active', or
325: 'maintenance', including, for example, framing, flow
326: control (i.e. XON and XOFF), each occurrence of a
327: BREAK condition, locally-processed input, and input
328: sent to all sessions."
329: ::= { charPortEntry 13 }
330:
331: charPortOutCharacters OBJECT-TYPE
332: SYNTAX Counter32
333: MAX-ACCESS read-only
334: STATUS current
335: DESCRIPTION
336: "Total number of characters detected as output to
337: the port since system re-initialization and while
338: the port operational state was 'up', 'active', or
339: 'maintenance', including, for example, framing, flow
340: control (i.e. XON and XOFF), each occurrence of a
341: BREAK condition, locally-created output, and output
342: received from all sessions."
343: ::= { charPortEntry 14 }
344:
345: charPortAdminOrigin OBJECT-TYPE
346: SYNTAX INTEGER { dynamic(1), network(2), local(3),
347: none(4) }
348: MAX-ACCESS read-write
349: STATUS current
350: DESCRIPTION
351: "The administratively allowed origin for
352: establishing session on the port. 'dynamic' allows
353: 'network' or 'local' session establishment. 'none'
354: disallows session establishment."
355: ::= { charPortEntry 15 }
356:
357: charPortSessionMaximum OBJECT-TYPE
358: SYNTAX INTEGER (-1..2147483647)
358: warning -
warning: use Integer32 instead of INTEGER in SMIv2
359: MAX-ACCESS read-write
360: STATUS current
361: DESCRIPTION
362: "The maximum number of concurrent sessions allowed
363: on the port. A value of -1 indicates no maximum.
364: Setting the maximum to less than the current number
365: of sessions has unspecified results."
366: ::= { charPortEntry 16 }
367:
368: charPortSessionNumber OBJECT-TYPE
369: SYNTAX Gauge32
370: MAX-ACCESS read-only
371: STATUS current
372: DESCRIPTION
373: "The number of open sessions on the port that are in
374: the connecting, connected, or disconnecting state."
375: ::= { charPortEntry 17 }
376:
377: charPortSessionIndex OBJECT-TYPE
378: SYNTAX INTEGER (0..2147483647)
378: warning -
warning: use Integer32 instead of INTEGER in SMIv2
379: MAX-ACCESS read-only
380: STATUS current
381: DESCRIPTION
382: "The value of charSessIndex for the port's first or
383: only active session. If the port has no active
384: session, the agent returns the value zero."
385: ::= { charPortEntry 18 }
386:
387: charPortInFlowTypes OBJECT-TYPE
388: SYNTAX OCTET STRING (SIZE (1))
389: MAX-ACCESS read-write
390: STATUS current
391: DESCRIPTION
392: "The port's types of input flow control at the
393: software level. Hardware-level flow control is
394: independently controlled by the appropriate
395: hardware-level MIB.
396:
397: A value of zero indicates no flow control.
398: Depending on the specific implementation, any or
399: all combinations of flow control may be chosen by
400: adding the values:
401:
402: 128 xonXoff, recognizing XON and XOFF characters
403: 64 enqHost, ENQ/ACK to allow input to host
404: 32 enqTerm, ACK to allow output to port
405: "
406: ::= { charPortEntry 19 }
407:
408: charPortOutFlowTypes OBJECT-TYPE
409: SYNTAX OCTET STRING (SIZE (1))
410: MAX-ACCESS read-write
411: STATUS current
412: DESCRIPTION
413: "The port's types of output flow control at the
414: software level. Hardware-level flow control is
415: independently controlled by the appropriate
416: hardware-level MIB.
417:
418: A value of zero indicates no flow control.
419: Depending on the specific implementation, any or
420: all combinations of flow control may be chosen by
421: adding the values:
422:
423: 128 xonXoff, recognizing XON and XOFF characters
424: 64 enqHost, ENQ/ACK to allow input to host
425: 32 enqTerm, ACK to allow output to port
426: "
427: ::= { charPortEntry 20 }
428:
429: charPortLowerIfIndex OBJECT-TYPE
430: SYNTAX InterfaceIndex
431: MAX-ACCESS read-only
432: STATUS current
433: DESCRIPTION
434: "The ifIndex value of the lower level hardware supporting
435: this character port, zero if none."
436: ::= { charPortEntry 21 }
437:
438:
439: -- the Character Session table
440:
441: charSessTable OBJECT-TYPE
442: SYNTAX SEQUENCE OF CharSessEntry
443: MAX-ACCESS not-accessible
444: STATUS current
445: DESCRIPTION
446: "A list of port session entries."
447: ::= { char 3 }
448:
449: charSessEntry OBJECT-TYPE
449: warning -
warning: index element `charSessPortIndex' of row `charSessEntry' should be not-accessible in SMIv2 MIB
449: warning -
warning: index element `charSessIndex' of row `charSessEntry' should be not-accessible in SMIv2 MIB
450: SYNTAX CharSessEntry
451: MAX-ACCESS not-accessible
452: STATUS current
453: DESCRIPTION
454: "Status and parameter values for a character port
455: session."
456: INDEX { charSessPortIndex, charSessIndex }
457: ::= { charSessTable 1 }
458:
459: CharSessEntry ::=
460: SEQUENCE {
461: charSessPortIndex
462: PortIndex,
463: charSessIndex
464: INTEGER,
465: charSessKill
466: INTEGER,
467: charSessState
468: INTEGER,
469: charSessProtocol
470: AutonomousType,
471: charSessOperOrigin
472: INTEGER,
473: charSessInCharacters
474: Counter32,
475: charSessOutCharacters
476: Counter32,
477: charSessConnectionId
478: InstancePointer,
479: charSessStartTime
480: TimeTicks
481: }
482:
483: charSessPortIndex OBJECT-TYPE
483: error -
index element `charSessPortIndex' of row `charSessEntry' must have a range restriction
484: SYNTAX PortIndex
485: MAX-ACCESS read-only
486: STATUS current
487: DESCRIPTION
488: "The value of charPortIndex for the port to which
489: this session belongs."
490: ::= { charSessEntry 1 }
491:
492: charSessIndex OBJECT-TYPE
493: SYNTAX INTEGER (1..2147483647)
493: warning -
warning: use Integer32 instead of INTEGER in SMIv2
494: MAX-ACCESS read-only
495: STATUS current
496: DESCRIPTION
497: "The session index in the context of the port, a
498: non-zero positive integer. Session indexes within a
499: port need not be sequential. Session indexes may be
500: reused for different ports. For example, port 1 and
501: port 3 may both have a session 2 at the same time.
502: Session indexes may have any valid integer value,
503: with any meaning convenient to the agent
504: implementation."
505: ::= { charSessEntry 2 }
506:
507: charSessKill OBJECT-TYPE
508: SYNTAX INTEGER { ready(1), execute(2) }
509: MAX-ACCESS read-write
510: STATUS current
511: DESCRIPTION
512: "A control to terminate the session. In response to
513: a get-request or get-next-request, the agent always
514: returns 'ready' as the value. Setting the value to
515: 'execute' causes termination."
516: ::= { charSessEntry 3 }
517:
518: charSessState OBJECT-TYPE
519: SYNTAX INTEGER { connecting(1), connected(2),
520: disconnecting(3) }
521: MAX-ACCESS read-only
522: STATUS current
523: DESCRIPTION
524: "The current operational state of the session,
525: disregarding flow control. 'connected' indicates
526: that character data could flow on the network side
527: of session. 'connecting' indicates moving from
528: nonexistent toward 'connected'. 'disconnecting'
529: indicates moving from 'connected' or 'connecting' to
530: nonexistent."
531: ::= { charSessEntry 4 }
532:
533: charSessProtocol OBJECT-TYPE
534: SYNTAX AutonomousType
535: MAX-ACCESS read-only
536: STATUS current
537: DESCRIPTION
538: "The network protocol over which the session is
539: running. Other OBJECT IDENTIFIER values may be
540: defined elsewhere, in association with specific
541: protocols. However, this document assigns those of
542: known interest as of this writing."
543: ::= { charSessEntry 5 }
544:
545: wellKnownProtocols OBJECT IDENTIFIER ::= { char 4 }
546:
547: protocolOther OBJECT IDENTIFIER ::= { wellKnownProtocols 1 }
548: protocolTelnet OBJECT IDENTIFIER ::= { wellKnownProtocols 2 }
549: protocolRlogin OBJECT IDENTIFIER ::= { wellKnownProtocols 3 }
550: protocolLat OBJECT IDENTIFIER ::= { wellKnownProtocols 4 }
551: protocolX29 OBJECT IDENTIFIER ::= { wellKnownProtocols 5 }
552: protocolVtp OBJECT IDENTIFIER ::= { wellKnownProtocols 6 }
553:
554:
555: charSessOperOrigin OBJECT-TYPE
556: SYNTAX INTEGER { unknown(1), network(2), local(3) }
557: MAX-ACCESS read-only
558: STATUS current
559: DESCRIPTION
560: "The session's source of establishment."
561: ::= { charSessEntry 6 }
562:
563: charSessInCharacters OBJECT-TYPE
564: SYNTAX Counter32
565: MAX-ACCESS read-only
566: STATUS current
567: DESCRIPTION
568: "This session's subset of charPortInCharacters."
569: ::= { charSessEntry 7 }
570:
571: charSessOutCharacters OBJECT-TYPE
572: SYNTAX Counter32
573: MAX-ACCESS read-only
574: STATUS current
575: DESCRIPTION
576: "This session's subset of charPortOutCharacters."
577: ::= { charSessEntry 8 }
578:
579: charSessConnectionId OBJECT-TYPE
579: warning -
warning: type `InstancePointer' used by `charSessConnectionId' is obsolete
580: SYNTAX InstancePointer
581: MAX-ACCESS read-only
582: STATUS current
583: DESCRIPTION
584: "A reference to additional local MIB information.
585: This should be the highest available related MIB,
586: corresponding to charSessProtocol, such as Telnet.
587: For example, the value for a TCP connection (in the
588: absence of a Telnet MIB) is the object identifier of
589: tcpConnState. If an agent is not configured to have
590: such values, the agent returns the object
591: identifier:
592:
593: nullConnectionId OBJECT IDENTIFIER ::= { 0 0 }
594: "
595: ::= { charSessEntry 9 }
596:
597: charSessStartTime OBJECT-TYPE
598: SYNTAX TimeTicks
599: MAX-ACCESS read-only
600: STATUS current
601: DESCRIPTION
602: "The value of sysUpTime in MIB-2 when the session
603: entered connecting state."
604: ::= { charSessEntry 10 }
605:
606: -- conformance information
607:
608: charConformance OBJECT IDENTIFIER ::= { char 5 }
609:
610: charGroups OBJECT IDENTIFIER ::= { charConformance 1 }
611: charCompliances OBJECT IDENTIFIER ::= { charConformance 2 }
612:
613:
614: -- compliance statements
615:
616: charCompliance MODULE-COMPLIANCE
617: STATUS current
618: DESCRIPTION
619: "The compliance statement for SNMPv2 entities
620: which have Character hardware interfaces."
621:
622: MODULE -- this module
623: MANDATORY-GROUPS { charGroup }
624: ::= { charCompliances 1 }
625:
626:
627: -- units of conformance
628:
629: charGroup OBJECT-GROUP
630: OBJECTS { charNumber, charPortIndex, charPortName,
631: charPortType, charPortHardware, charPortReset,
632: charPortAdminStatus, charPortOperStatus,
633: charPortLastChange,
634: charPortInFlowState, charPortOutFlowState,
635: charPortAdminOrigin, charPortSessionMaximum,
636: charPortInFlowTypes, charPortOutFlowTypes,
637: charPortInCharacters, charPortOutCharacters,
638: charPortSessionNumber, charPortSessionIndex,
639: charPortLowerIfIndex,
640: charSessPortIndex, charSessIndex,
641: charSessKill, charSessState,
642: charSessProtocol, charSessOperOrigin,
643: charSessInCharacters, charSessOutCharacters,
644: charSessConnectionId, charSessStartTime }
645: STATUS current
646: DESCRIPTION
647: "A collection of objects providing information
648: applicable to all Character interfaces."
649: ::= { charGroups 1 }
650:
651: END