smilint output for ./RFC1316-MIB


Message Severities
SeverityCount
severe1
error3
Message Types
TypeCount
index-element-no-range (error)3
object-identifier-unknown (severe)1

Messages:

RFC1316-MIB

   1: -- extracted from rfc1316.txt
   2: -- at Mon Nov 15 17:11:58 1999
   3: 
   4:                     RFC1316-MIB DEFINITIONS ::= BEGIN
   5: 
   6:                     IMPORTS
   7:                             Counter, TimeTicks, Gauge
   8:                                     FROM RFC1155-SMI
   9:                             DisplayString
  10:                                     FROM RFC1213-MIB
  11:                             OBJECT-TYPE
  12:                                     FROM RFC-1212;
  13: 
  14:             -- this is the MIB module for character stream devices
  15: 
  16:             char    OBJECT IDENTIFIER ::= { mib-2 19 }
  16: severe - unknown object identifier label `mib-2'
  17: 
  18:             -- Textual Conventions
  19: 
  20:                 AutonomousType    ::= OBJECT IDENTIFIER
  21: 
  22:             -- The object identifier is an independently extensible type
  23:             -- identification value.  It may, for example indicate a
  24:             -- particular sub-tree with further MIB definitions, or
  25:             -- define something like a protocol type or type of
  26:             -- hardware.
  27: 
  28:                 InstancePointer   ::= OBJECT IDENTIFIER
  29: 
  30:             -- The object identifier is a pointer to a specific instance
  31:             -- of a MIB object in this agent's implemented MIB.  By
  32:             -- convention, it is the first object in the conceptual row
  33:             -- for the instance.
  34:             -- the generic Character group
  35: 
  36:             -- Implementation of this group is mandatory for all
  37:             -- systems that offer character ports
  38: 
  39:             charNumber OBJECT-TYPE
  40:                 SYNTAX INTEGER
  41:                 ACCESS read-only
  42:                 STATUS mandatory
  43:                 DESCRIPTION
  44:                     "The number of entries in charPortTable, regardless
  45:                     of their current state."
  46:                 ::= { char 1 }
  47: 
  48: 
  49:             -- the Character Port table
  50: 
  51:             charPortTable OBJECT-TYPE
  52:                 SYNTAX SEQUENCE OF CharPortEntry
  53:                 ACCESS not-accessible
  54:                 STATUS mandatory
  55:                 DESCRIPTION
  56:                     "A list of port entries.  The number of entries is
  57:                     given by the value of charNumber."
  58:                 ::= { char 2 }
  59: 
  60:             charPortEntry OBJECT-TYPE
  61:                 SYNTAX CharPortEntry
  62:                 ACCESS not-accessible
  63:                 STATUS mandatory
  64:                 DESCRIPTION
  65:                     "Status and parameter values for a character port."
  66:                 INDEX { charPortIndex }
  67:                 ::= { charPortTable 1 }
  68: 
  69:             CharPortEntry ::=
  70:                 SEQUENCE {
  71:                     charPortIndex
  72:                         INTEGER,
  73:                     charPortName
  74:                         DisplayString,
  75:                     charPortType
  76:                         INTEGER,
  77:                     charPortHardware
  78:                         AutonomousType,
  79:                     charPortReset
  80:                         INTEGER,
  81:                     charPortAdminStatus
  82:                         INTEGER,
  83:                     charPortOperStatus
  84:                         INTEGER,
  85:                     charPortLastChange
  86:                         TimeTicks,
  87:                     charPortInFlowType
  88:                         INTEGER,
  89:                     charPortOutFlowType
  90:                         INTEGER,
  91:                     charPortInFlowState
  92:                         INTEGER,
  93:                     charPortOutFlowState
  94:                         INTEGER,
  95:                     charPortInCharacters
  96:                         Counter,
  97:                     charPortOutCharacters
  98:                         Counter,
  99:                     charPortAdminOrigin
 100:                         INTEGER,
 101:                     charPortSessionMaximum
 102:                         INTEGER,
 103:                     charPortSessionNumber
 104:                         Gauge,
 105:                     charPortSessionIndex
 106:                         INTEGER
 107:                 }
 108: 
 109:             charPortIndex OBJECT-TYPE
 109: error - index element `charPortIndex' of row `charPortEntry' must have a range restriction
 110:                 SYNTAX INTEGER
 111:                 ACCESS read-only
 112:                 STATUS mandatory
 113:                 DESCRIPTION
 114:                     "A unique value for each character port.  Its value
 115:                     ranges between 1 and the value of charNumber.  By
 116:                     convention and if possible, hardware port numbers
 117:                     come first, with a simple, direct mapping.  The
 118:                     value for each port must remain constant at least
 119:                     from one re-initialization of the network management
 120:                     agent to the next."
 121:                 ::= { charPortEntry 1 }
 122: 
 123:             charPortName OBJECT-TYPE
 124:                 SYNTAX DisplayString (SIZE (0..32))
 125:                 ACCESS read-write
 126:                 STATUS mandatory
 127:                 DESCRIPTION
 128:                     "An administratively assigned name for the port,
 129:                     typically with some local significance."
 130:                 ::= { charPortEntry 2 }
 131: 
 132:             charPortType OBJECT-TYPE
 133:                 SYNTAX INTEGER { physical(1), virtual(2) }
 134:                 ACCESS read-only
 135:                 STATUS mandatory
 136:                 DESCRIPTION
 137:                     "The port's type, 'physical' if the port represents
 138:                     an external hardware connector, 'virtual' if it does
 139:                     not."
 140:                 ::= { charPortEntry 3 }
 141: 
 142:             charPortHardware OBJECT-TYPE
 143:                 SYNTAX AutonomousType
 144:                 ACCESS read-only
 145:                 STATUS mandatory
 146:                 DESCRIPTION
 147:                     "A reference to hardware MIB definitions specific to
 148:                     a physical port's external connector.  For example,
 149:                     if the connector is RS-232, then the value of this
 150:                     object refers to a MIB sub-tree defining objects
 151:                     specific to RS-232.  If an agent is not configured
 152:                     to have such values, the agent returns the object
 153:                     identifier:
 154: 
 155:                         nullHardware OBJECT IDENTIFIER ::= { 0 0 }
 156:                     "
 157:                 ::= { charPortEntry 4 }
 158: 
 159:             charPortReset OBJECT-TYPE
 160:                 SYNTAX INTEGER { ready(1), execute(2) }
 161:                 ACCESS read-write
 162:                 STATUS mandatory
 163:                 DESCRIPTION
 164:                     "A control to force the port into a clean, initial
 165:                     state, both hardware and software, disconnecting all
 166:                     the port's existing sessions.  In response to a
 167:                     get-request or get-next-request, the agent always
 168:                     returns 'ready' as the value.  Setting the value to
 169:                     'execute' causes a reset."
 170:                 ::= { charPortEntry 5 }
 171: 
 172:             charPortAdminStatus OBJECT-TYPE
 173:                 SYNTAX INTEGER { enabled(1), disabled(2), off(3),
 174:                                  maintenance(4) }
 175:                 ACCESS read-write
 176:                 STATUS mandatory
 177:                 DESCRIPTION
 178:                     "The port's desired state, independent of flow
 179:                     control.  'enabled' indicates that the port is
 180:                     allowed to pass characters and form new sessions.
 181:                     'disabled' indicates that the port is allowed to
 182:                     pass characters but not form new sessions.  'off'
 183:                     indicates that the port is not allowed to pass
 184:                     characters or have any sessions. 'maintenance'
 185:                     indicates a maintenance mode, exclusive of normal
 186:                     operation, such as running a test."
 187:                 ::= { charPortEntry 6 }
 188: 
 189:             charPortOperStatus OBJECT-TYPE
 190:                 SYNTAX INTEGER { up(1), down(2),
 191:                                  maintenance(3), absent(4), active(5) }
 192:                 ACCESS read-only
 193:                 STATUS mandatory
 194:                 DESCRIPTION
 195:                     "The port's actual, operational state, independent
 196:                     of flow control.  'up' indicates able to function
 197:                     normally.  'down' indicates inability to function
 198:                     for administrative or operational reasons.
 199:                     'maintenance' indicates a maintenance mode,
 200:                     exclusive of normal operation, such as running a
 201:                     test.  'absent' indicates that port hardware is not
 202:                     present.  'active' indicates up with a user present
 203:                     (e.g. logged in)."
 204:                 ::= { charPortEntry 7 }
 205: 
 206:             charPortLastChange OBJECT-TYPE
 207:                 SYNTAX TimeTicks
 208:                 ACCESS read-only
 209:                 STATUS mandatory
 210:                 DESCRIPTION
 211:                     "The value of sysUpTime at the time the port entered
 212:                     its current operational state.  If the current state
 213:                     was entered prior to the last reinitialization of
 214:                     the local network management subsystem, then this
 215:                     object contains a zero value."
 216:                 ::= { charPortEntry 8 }
 217: 
 218:             charPortInFlowType OBJECT-TYPE
 219:                 SYNTAX INTEGER { none(1), xonXoff(2), hardware(3),
 220:                                  ctsRts(4), dsrDtr(5) }
 221:                 ACCESS read-write
 222:                 STATUS mandatory
 223:                 DESCRIPTION
 224:                     "The port's type of input flow control.  'none'
 225:                     indicates no flow control at this level or below.
 226:                     'xonXoff' indicates software flow control by
 227:                     recognizing XON and XOFF characters.  'hardware'
 228:                     indicates flow control delegated to the lower level,
 229:                     for example a parallel port.
 230: 
 231:                     'ctsRts' and 'dsrDtr' are specific to RS-232-like
 232:                     ports.  Although not architecturally pure, they are
 233:                     included here for simplicity's sake."
 234:                 ::= { charPortEntry 9 }
 235: 
 236:             charPortOutFlowType OBJECT-TYPE
 237:                 SYNTAX INTEGER { none(1), xonXoff(2), hardware(3),
 238:                                  ctsRts(4), dsrDtr(5) }
 239:                 ACCESS read-write
 240:                 STATUS mandatory
 241:                 DESCRIPTION
 242:                     "The port's type of output flow control.  'none'
 243:                     indicates no flow control at this level or below.
 244:                     'xonXoff' indicates software flow control by
 245:                     recognizing XON and XOFF characters.  'hardware'
 246:                     indicates flow control delegated to the lower level,
 247:                     for example a parallel port.
 248: 
 249:                     'ctsRts' and 'dsrDtr' are specific to RS-232-like
 250:                     ports.  Although not architecturally pure, they are
 251:                     included here for simplicy's sake."
 252:                 ::= { charPortEntry 10 }
 253: 
 254:             charPortInFlowState OBJECT-TYPE
 255:                 SYNTAX INTEGER { none(1), unknown(2), stop(3), go(4) }
 256:                 ACCESS read-only
 257:                 STATUS mandatory
 258:                 DESCRIPTION
 259:                     "The current operational state of input flow control
 260:                     on the port.  'none' indicates not applicable.
 261:                     'unknown' indicates this level does not know.
 262:                     'stop' indicates flow not allowed.  'go' indicates
 263:                     flow allowed."
 264:                 ::= { charPortEntry 11 }
 265: 
 266:             charPortOutFlowState OBJECT-TYPE
 267:                 SYNTAX INTEGER { none(1), unknown(2), stop(3), go(4) }
 268:                 ACCESS read-only
 269:                 STATUS mandatory
 270:                 DESCRIPTION
 271:                     "The current operational state of output flow
 272:                     control on the port.  'none' indicates not
 273:                     applicable.  'unknown' indicates this level does not
 274:                     know.  'stop' indicates flow not allowed.  'go'
 275:                     indicates flow allowed."
 276:                 ::= { charPortEntry 12 }
 277: 
 278:             charPortInCharacters OBJECT-TYPE
 279:                 SYNTAX Counter
 280:                 ACCESS read-only
 281:                 STATUS mandatory
 282:                 DESCRIPTION
 283:                     "Total number of characters detected as input from
 284:                     the port since system re-initialization and while
 285:                     the port operational state was 'up', 'active', or
 286:                     'maintenance', including, for example, framing, flow
 287:                     control (i.e. XON and XOFF), each occurrence of a
 288:                     BREAK condition, locally-processed input, and input
 289:                     sent to all sessions."
 290:                 ::= { charPortEntry 13 }
 291: 
 292:             charPortOutCharacters OBJECT-TYPE
 293:                 SYNTAX Counter
 294:                 ACCESS read-only
 295:                 STATUS mandatory
 296:                 DESCRIPTION
 297:                     "Total number of characters detected as output to
 298:                     the port since system re-initialization and while
 299:                     the port operational state was 'up', 'active', or
 300:                     'maintenance', including, for example, framing, flow
 301:                     control (i.e. XON and XOFF), each occurrence of a
 302:                     BREAK condition, locally-created output, and output
 303:                     received from all sessions."
 304:                 ::= { charPortEntry 14 }
 305: 
 306:             charPortAdminOrigin OBJECT-TYPE
 307:                 SYNTAX INTEGER { dynamic(1), network(2), local(3),
 308:                                  none(4) }
 309:                 ACCESS read-write
 310:                 STATUS mandatory
 311:                 DESCRIPTION
 312:                     "The administratively allowed origin for
 313:                     establishing session on the port.  'dynamic' allows
 314:                     'network' or 'local' session establishment. 'none'
 315:                     disallows session establishment."
 316:                 ::= { charPortEntry 15 }
 317: 
 318:             charPortSessionMaximum OBJECT-TYPE
 319:                 SYNTAX INTEGER
 320:                 ACCESS read-write
 321:                 STATUS mandatory
 322:                 DESCRIPTION
 323:                     "The maximum number of concurrent sessions allowed
 324:                     on the port.  A value of -1 indicates no maximum.
 325:                     Setting the maximum to less than the current number
 326:                     of sessions has unspecified results."
 327:                 ::= { charPortEntry 16 }
 328: 
 329:             charPortSessionNumber OBJECT-TYPE
 330:                 SYNTAX Gauge
 331:                 ACCESS read-only
 332:                 STATUS mandatory
 333:                 DESCRIPTION
 334:                     "The number of open sessions on the port that are in
 335:                     the connecting, connected, or disconnecting state."
 336:                 ::= { charPortEntry 17 }
 337: 
 338:             charPortSessionIndex OBJECT-TYPE
 339:                 SYNTAX INTEGER
 340:                 ACCESS read-only
 341:                 STATUS mandatory
 342:                 DESCRIPTION
 343:                     "The value of charSessIndex for the port's first or
 344:                     only active session.  If the port has no active
 345:                     session, the agent returns the value zero."
 346:                 ::= { charPortEntry 18 }
 347: 
 348: 
 349:             -- the Character Session table
 350: 
 351:             charSessTable OBJECT-TYPE
 352:                 SYNTAX SEQUENCE OF CharSessEntry
 353:                 ACCESS not-accessible
 354:                 STATUS mandatory
 355:                 DESCRIPTION
 356:                     "A list of port session entries."
 357:                 ::= { char 3 }
 358: 
 359:             charSessEntry OBJECT-TYPE
 360:                 SYNTAX CharSessEntry
 361:                 ACCESS not-accessible
 362:                 STATUS mandatory
 363:                 DESCRIPTION
 364:                     "Status and parameter values for a character port
 365:                     session."
 366:                 INDEX { charSessPortIndex, charSessIndex }
 367:                 ::= { charSessTable 1 }
 368: 
 369:             CharSessEntry ::=
 370:                 SEQUENCE {
 371:                     charSessPortIndex
 372:                         INTEGER,
 373:                     charSessIndex
 374:                         INTEGER,
 375:                     charSessKill
 376:                         INTEGER,
 377:                     charSessState
 378:                         INTEGER,
 379:                     charSessProtocol
 380:                         AutonomousType,
 381:                     charSessOperOrigin
 382:                         INTEGER,
 383:                     charSessInCharacters
 384:                         Counter,
 385:                     charSessOutCharacters
 386:                         Counter,
 387:                     charSessConnectionId
 388:                         InstancePointer,
 389:                     charSessStartTime
 390:                         TimeTicks
 391:                 }
 392: 
 393:             charSessPortIndex OBJECT-TYPE
 393: error - index element `charSessPortIndex' of row `charSessEntry' must have a range restriction
 394:                 SYNTAX INTEGER
 395:                 ACCESS read-only
 396:                 STATUS mandatory
 397:                 DESCRIPTION
 398:                     "The value of charPortIndex for the port to which
 399:                     this session belongs."
 400:                 ::= { charSessEntry 1 }
 401: 
 402:             charSessIndex OBJECT-TYPE
 402: error - index element `charSessIndex' of row `charSessEntry' must have a range restriction
 403:                 SYNTAX INTEGER
 404:                 ACCESS read-only
 405:                 STATUS mandatory
 406:                 DESCRIPTION
 407:                     "The session index in the context of the port, a
 408:                     non-zero positive integer.  Session indexes within a
 409:                     port need not be sequential.  Session indexes may be
 410:                     reused for different ports.  For example, port 1 and
 411:                     port 3 may both have a session 2 at the same time.
 412:                     Session indexes may have any valid integer value,
 413:                     with any meaning convenient to the agent
 414:                     implementation."
 415:                 ::= { charSessEntry 2 }
 416: 
 417:             charSessKill OBJECT-TYPE
 418:                 SYNTAX INTEGER { ready(1), execute(2) }
 419:                 ACCESS read-write
 420:                 STATUS mandatory
 421:                 DESCRIPTION
 422:                     "A control to terminate the session.  In response to
 423:                     a get-request or get-next-request, the agent always
 424:                     returns 'ready' as the value.  Setting the value to
 425:                     'execute' causes termination."
 426:                 ::= { charSessEntry 3 }
 427: 
 428:             charSessState OBJECT-TYPE
 429:                 SYNTAX INTEGER { connecting(1), connected(2),
 430:                                  disconnecting(3) }
 431:                 ACCESS read-only
 432:                 STATUS mandatory
 433:                 DESCRIPTION
 434:                     "The current operational state of the session,
 435:                     disregarding flow control.  'connected' indicates
 436:                     that character data could flow on the network side
 437:                     of session.  'connecting' indicates moving from
 438:                     nonexistent toward 'connected'.  'disconnecting'
 439:                     indicates moving from 'connected' or 'connecting' to
 440:                     nonexistent."
 441:                 ::= { charSessEntry 4 }
 442: 
 443:             charSessProtocol OBJECT-TYPE
 444:                 SYNTAX AutonomousType
 445:                 ACCESS read-only
 446:                 STATUS mandatory
 447:                 DESCRIPTION
 448:                     "The network protocol over which the session is
 449:                     running.  Other OBJECT IDENTIFIER values may be
 450:                     defined elsewhere, in association with specific
 451:                     protocols.  However, this document assigns those of
 452:                     known interest as of this writing."
 453:                 ::= { charSessEntry 5 }
 454: 
 455:             wellKnownProtocols OBJECT IDENTIFIER ::= { char 4 }
 456: 
 457:             protocolOther  OBJECT IDENTIFIER ::= {wellKnownProtocols 1}
 458:             protocolTelnet OBJECT IDENTIFIER ::= {wellKnownProtocols 2}
 459:             protocolRlogin OBJECT IDENTIFIER ::= {wellKnownProtocols 3}
 460:             protocolLat    OBJECT IDENTIFIER ::= {wellKnownProtocols 4}
 461:             protocolX29    OBJECT IDENTIFIER ::= {wellKnownProtocols 5}
 462:             protocolVtp    OBJECT IDENTIFIER ::= {wellKnownProtocols 6}
 463:             charSessOperOrigin OBJECT-TYPE
 464:                 SYNTAX INTEGER { unknown(1), network(2), local(3) }
 465:                 ACCESS read-only
 466:                 STATUS mandatory
 467:                 DESCRIPTION
 468:                     "The session's source of establishment."
 469:                 ::= { charSessEntry 6 }
 470: 
 471:             charSessInCharacters OBJECT-TYPE
 472:                 SYNTAX Counter
 473:                 ACCESS read-only
 474:                 STATUS mandatory
 475:                 DESCRIPTION
 476:                     "This session's subset of charPortInCharacters."
 477:                 ::= { charSessEntry 7 }
 478: 
 479:             charSessOutCharacters OBJECT-TYPE
 480:                 SYNTAX Counter
 481:                 ACCESS read-only
 482:                 STATUS mandatory
 483:                 DESCRIPTION
 484:                     "This session's subset of charPortOutCharacters."
 485:                 ::= { charSessEntry 8 }
 486: 
 487:             charSessConnectionId OBJECT-TYPE
 488:                 SYNTAX InstancePointer
 489:                 ACCESS read-only
 490:                 STATUS mandatory
 491:                 DESCRIPTION
 492:                     "A reference to additional local MIB information.
 493:                     This should be the highest available related MIB,
 494:                     corresponding to charSessProtocol, such as Telnet.
 495:                     For example, the value for a TCP connection (in the
 496:                     absence of a Telnet MIB) is the object identifier of
 497:                     tcpConnState.  If an agent is not configured to have
 498:                     such values, the agent returns the object
 499:                     identifier:
 500: 
 501:                         nullConnectionId OBJECT IDENTIFIER ::= { 0 0 }
 502:                     "
 503:                 ::= { charSessEntry 9 }
 504: 
 505:             charSessStartTime OBJECT-TYPE
 506:                 SYNTAX TimeTicks
 507:                 ACCESS read-only
 508:                 STATUS mandatory
 509:                 DESCRIPTION
 510:                     "The value of sysUpTime in MIB-2 when the session
 511:                     entered connecting state."
 512:                 ::= { charSessEntry 10 }
 513: 
 514:             END