smilint output for ./COFFEE-POT-MIB


Message Severities
SeverityCount
severe6
error8
minor error1
change recommended10
warning10
Message Types
TypeCount
basetype-unknown (error)3
group-membership (change recommended)7
hyphen-in-label (change recommended)3
import-failed (error)2
import-unused (warning)5
internal-flushing (warning)5
internal-other (severe)5
keyword-illegal-in-mib (severe)1
revision-missing (minor error)1
type-unknown (error)3

Messages:

COFFEE-POT-MIB

   1: -- extracted from rfc2325.txt
   2: -- at Mon Nov 15 17:11:42 1999
   3: 
   4:    COFFEE-POT-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:        TimeStamp, TimeInterval,
   9:        Counter32, Integer32
   9: warning - warning: identifier `Counter32' imported from module `SNMPv2-SMI' is never used
  10:            FROM SNMPv2-SMI
  10: error - identifier `TimeStamp' cannot be imported from module `SNMPv2-SMI'
  10: error - identifier `TimeInterval' cannot be imported from module `SNMPv2-SMI'
  11:        InterfaceIndex
  11: warning - warning: identifier `InterfaceIndex' imported from module `IF-MIB' is never used
  12:            FROM IF-MIB
  13:        transmission
  14:            FROM RFC1213-MIB
  15:        MODULE-COMPLIANCE, OBJECT-GROUP
  15: warning - warning: identifier `MODULE-COMPLIANCE' imported from module `SNMPv2-CONF' is never used
  15: warning -
warning: identifier `OBJECT-GROUP' imported from module `SNMPv2-CONF' is never used
  16:            FROM SNMPv2-CONF;
  17: 
  18:    coffee MODULE-IDENTITY
  19:         LAST-UPDATED "9803231700Z"
  20:         ORGANIZATION "Networked Appliance Management Working Group"
  21: 
  22:         CONTACT-INFO
  23:                "        Michael Slavitch
  24:                         Loran Technologies,
  25:                         955 Green Valley Crescent
  26:                         Ottawa, Ontario Canada K2A 0B6
  27: 
  28:                    Tel: 613-723-7505
  29:                    Fax: 613-723-7209
  30:                 E-mail: slavitch@loran.com"
  31:         DESCRIPTION
  32:                "The MIB Module for coffee vending devices."
  33:        ::= { transmission 132 }
  33: minor error - revision for last update is missing
  34: 
  35:    potName OBJECT-TYPE
  35: error - type `[unknown]' of node `potName' does not resolve to a known base type
  35: change recommended -
warning: node `potName' must be contained in at least one conformance group
  36:         SYNTAX     DisplayString (SIZE (0..255))
  36: error - unknown type `DisplayString'
  37:         MAX-ACCESS read-only
  38:         STATUS current
  39:         DESCRIPTION
  40:                 "The vendor description of the pot under management"
  41:         ::= { coffee 1 }
  42: 
  43: 
  44:    potCapacity OBJECT-TYPE
  44: change recommended - warning: node `potCapacity' must be contained in at least one conformance group
  45:         SYNTAX Integer32
  46:         MAX-ACCESS read-only
  47:         STATUS current
  48:         DESCRIPTION
  49:            "The number of units of beverage supported by this device
  50:             (regardless of its current state) ."
  51:        ::= { coffee 2 }
  52: 
  53: 
  54:    potType OBJECT-TYPE
  55:         SYNTAX     INTEGER {
  56:            automatic-drip(1),
  56: change recommended - warning: named number `automatic-drip' must not include a hyphen in SMIv2
  57:            percolator(2),
  58:            french-press(3),
  58: change recommended - warning: named number `french-press' must not include a hyphen in SMIv2
  59:            espresso(4),
  60:            }
  60: severe - syntax error, unexpected '}', expecting LOWERCASE_IDENTIFIER
  60: warning - warning: flushing recent incorrect declaration, see previous error(s)
  61:         MAX-ACCESS read-write
  61: severe - syntax error, unexpected MAX_ACCESS
  62:         STATUS current
  63:         DESCRIPTION
  64:                 "The brew type of the coffee pot."
  65:         ::= { coffee 3 }
  65: warning - warning: flushing recent incorrect declaration, see previous error(s)
  66: 
  67:    potLocation OBJECT-TYPE {
  67: severe - syntax error, unexpected '{', expecting SYNTAX
  68:         SYNTAX     DisplayString (SIZE (0..255))
  69:         MAX-ACCESS read-write
  70:         STATUS current
  71:         DESCRIPTION
  72:                 "The physical location of the pot in question"
  73:         ::= { coffee 4 }
  73: warning - warning: flushing recent incorrect declaration, see previous error(s)
  74: 
  75: 
  76:    potMonitor            OBJECT IDENTIFIER ::= { coffee 6 }
  77: 
  78: 
  79:    potOperStatus
  80:         SYNTAX     Integer {
  80: severe - syntax error, unexpected SYNTAX, expecting OBJECT
  81:                         off(1),
  82:                         brewing(2),
  83:                         holding(3),
  84:                         other(4),
  85:                         waiting(5)
  86:                         }
  86: warning - warning: flushing recent incorrect declaration, see previous error(s)
  87:         MAX-ACCESS read-only
  87: severe - syntax error, unexpected MAX_ACCESS
  88:         STATUS current
  89:         DESCRIPTION
  90:                 "The operating status of the pot in question. Note
  91:                  that this is a read-only feature. Current hardware
  92:                  prevents us from changing the port state via SNMP."
  93:         ::= { potMonitor 1 }
  93: warning - warning: flushing recent incorrect declaration, see previous error(s)
  94: 
  95:     potLevel OBJECT-TYPE
  95: change recommended - warning: node `potLevel' must be contained in at least one conformance group
  96:         SYNTAX     Integer32
  97:         MAX-ACCESS read-only
  98:         STATUS current
  99:         DESCRIPTION
 100:                 "The number of units of coffee under management. The
 101:                  units of level are defined in potMetric below."
 102:         ::= { potMonitor 2 }
 103: 
 104:     potMetric  OBJECT-TYPE
 104: error - type `[unknown]' of node `potMetric' does not resolve to a known base type
 104: change recommended -
warning: node `potMetric' must be contained in at least one conformance group
 105:         SYNTAX     Integer {
 106:                     espresso(1),
 107:                     demi-tasse(2),
 107: change recommended - warning: named number `demi-tasse' must not include a hyphen in SMIv2
 108:                     cup(3),
 109:                     mug(4),
 110:                     bucket(5)
 111:                     }
 111: error - unknown type `Integer'
 112:         MAX-ACCESS read-only
 113:         STATUS current
 114:         DESCRIPTION
 115:                 "The vendor description of the pot under management"
 116:         ::= { potMonitor 3 }
 117: 
 118: 
 119:    potStartTime OBJECT-TYPE
 119: change recommended - warning: node `potStartTime' must be contained in at least one conformance group
 120:        SYNTAX     Integer64
 121:        MAX-ACCESS read-write
 121: severe - the SPPI construct/keyword `Integer64' may not be used in a MIB
 122:        STATUS     current
 123:        DESCRIPTION
 124:                "The time in seconds since Jan 1 1970 to start the pot
 125:                 if and only if potOperStatus is waiting(5)"
 126:        ::= { potMonitor 4 }
 127: 
 128: 
 129:     lastStartTime OBJECT-TYPE
 129: error - type `TimeInterval' of node `lastStartTime' does not resolve to a known base type
 129: change recommended -
warning: node `lastStartTime' must be contained in at least one conformance group
 130:        SYNTAX     TimeInterval
 131:        MAX-ACCESS read-only
 131: error - unknown type `TimeInterval'
 132:        STATUS     current
 133:        DESCRIPTION
 134:                "The amount of time, in TimeTicks, since the coffee
 135:                making process was initiated."
 136:        ::= { potMonitor 5 }
 137: 
 138: 
 139:     potTemperature OBJECT-TYPE
 139: change recommended - warning: node `potTemperature' must be contained in at least one conformance group
 140:        SYNTAX     Integer32
 141:        UNITS      "degrees Centigrade"
 142:        MAX-ACCESS read-only
 143:        STATUS     current
 144:        DESCRIPTION
 145:                "The ambient temperature of the coffee within the pot"
 146: 
 147:       ::= { potMonitor 6 }
 148: 
 149:    END
 150: 
 151: -- 
 152: --    Copyright (C) The Internet Society (1998).  All Rights Reserved.
 153: -- 
 154: --    This document and translations of it may be copied and furnished to
 155: --    others, and derivative works that comment on or otherwise explain it
 156: --    or assist in its implementation may be prepared, copied, published
 157: --    and distributed, in whole or in part, without restriction of any
 158: --    kind, provided that the above copyright notice and this paragraph are
 159: --    included on all such copies and derivative works.  However, this
 160: --    document itself may not be modified in any way, such as by removing
 161: --    the copyright notice or references to the Internet Society or other
 162: --    Internet organizations, except as needed for the purpose of
 163: --    developing Internet standards in which case the procedures for
 164: --    copyrights defined in the Internet Standards process must be
 165: --    followed, or as required to translate it into languages other than
 166: --    English.
 167: -- 
 168: --    The limited permissions granted above are perpetual and will not be
 169: --    revoked by the Internet Society or its successors or assigns.
 170: -- 
 171: --    This document and the information contained herein is provided on an
 172: --    "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
 173: --    TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
 174: --    BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
 175: --    HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
 176: --    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
 177: