smilint output for ./MOBILE-MIB
Message Severities |
Severity | Count |
severe | 22 |
error | 41 |
warning | 33 |
fyi | 5 |
Message Types |
Type | Count |
bad-identifier-case (error) | 40 |
identifier-external-redefined (warning) | 5 |
import-unused (warning) | 6 |
internal-flushing (warning) | 22 |
internal-other (severe) | 22 |
object-identifier-not-prefix (error) | 1 |
previous-definition (fyi) | 5 |
Messages:
/home/fenner/share/mibs/ietf/RFC1155-SMI
1: RFC1155-SMI DEFINITIONS ::= BEGIN
2:
3: EXPORTS -- EVERYTHING
4: internet, directory, mgmt,
5: experimental, private, enterprises,
6: OBJECT-TYPE, ObjectName, ObjectSyntax, SimpleSyntax,
7: ApplicationSyntax, NetworkAddress, IpAddress,
8: Counter, Gauge, TimeTicks, Opaque;
9:
9: fyi -
info: previous definition of `directory'
10: -- the path to the root
11:
11: fyi -
info: previous definition of `mgmt'
12: internet OBJECT IDENTIFIER ::= { iso org(3) dod(6) 1 }
13:
13: fyi -
info: previous definition of `experimental'
14: directory OBJECT IDENTIFIER ::= { internet 1 }
15:
15: fyi -
info: previous definition of `private'
16: mgmt OBJECT IDENTIFIER ::= { internet 2 }
16: fyi -
info: previous definition of `enterprises'
17:
18: experimental OBJECT IDENTIFIER ::= { internet 3 }
19:
20: private OBJECT IDENTIFIER ::= { internet 4 }
21: enterprises OBJECT IDENTIFIER ::= { private 1 }
22:
23:
24: -- definition of object types
25:
26: OBJECT-TYPE MACRO ::=
27: BEGIN
28: TYPE NOTATION ::= "SYNTAX" type (TYPE ObjectSyntax)
29: "ACCESS" Access
30: "STATUS" Status
31: VALUE NOTATION ::= value (VALUE ObjectName)
32:
33: Access ::= "read-only"
34: | "read-write"
35: | "write-only"
36: | "not-accessible"
37: Status ::= "mandatory"
38: | "optional"
39: | "obsolete"
40: END
41:
42: -- names of objects in the MIB
43:
44: ObjectName ::=
45: OBJECT IDENTIFIER
46:
47: -- syntax of objects in the MIB
48:
49: ObjectSyntax ::=
50: CHOICE {
51: simple
52: SimpleSyntax,
53:
54: -- note that simple SEQUENCEs are not directly
55: -- mentioned here to keep things simple (i.e.,
56: -- prevent mis-use). However, application-wide
57: -- types which are IMPLICITly encoded simple
58: -- SEQUENCEs may appear in the following CHOICE
59:
60: application-wide
61: ApplicationSyntax
62: }
63:
64: SimpleSyntax ::=
65: CHOICE {
66: number
67: INTEGER,
68:
69: string
70: OCTET STRING,
71:
72: object
73: OBJECT IDENTIFIER,
74:
75: empty
76: NULL
77: }
78:
79: ApplicationSyntax ::=
80: CHOICE {
81: address
82: NetworkAddress,
83:
84: counter
85: Counter,
86:
87: gauge
88: Gauge,
89:
90: ticks
91: TimeTicks,
92:
93: arbitrary
94: Opaque
95:
96: -- other application-wide types, as they are
97: -- defined, will be added here
98: }
99:
100:
101: -- application-wide types
102:
103: NetworkAddress ::=
104: CHOICE {
105: internet
106: IpAddress
107: }
108:
109: IpAddress ::=
110: [APPLICATION 0] -- in network-byte order
111: IMPLICIT OCTET STRING (SIZE (4))
112:
113: Counter ::=
114: [APPLICATION 1]
115: IMPLICIT INTEGER (0..4294967295)
116:
117: Gauge ::=
118: [APPLICATION 2]
119: IMPLICIT INTEGER (0..4294967295)
120:
121: TimeTicks ::=
122: [APPLICATION 3]
123: IMPLICIT INTEGER (0..4294967295)
124:
125: Opaque ::=
126: [APPLICATION 4] -- arbitrary ASN.1 value,
127: IMPLICIT OCTET STRING -- "double-wrapped"
128:
129: END
MOBILE-MIB
1: -- extracted from draft-adwankar-netconf-symple-00.txt
2: -- at Thu Oct 23 06:15:15 2003
3:
4: MOBILE-MIB DEFINITIONS ::= BEGIN
5:
6: IMPORTS
7: mgmt, NetworkAddress, IpAddress, Counter, Gauge,
7: warning -
warning: identifier `mgmt' imported from module `RFC1155-SMI' is never used
7: warning -
warning: identifier `NetworkAddress' imported from module `RFC1155-SMI' is never used
7: warning -
warning: identifier `IpAddress' imported from module `RFC1155-SMI' is never used
7: warning -
warning: identifier `Counter' imported from module `RFC1155-SMI' is never used
7: warning -
warning: identifier `Gauge' imported from module `RFC1155-SMI' is never used
8: TimeTicks
8: warning -
warning: identifier `TimeTicks' imported from module `RFC1155-SMI' is never used
9: FROM RFC1155-SMI
10: OBJECT-TYPE
11: FROM RFC-1212;
12:
13: mgmt OBJECT IDENTIFIER ::= { iso org(3) dod(6) internet(1)
13: warning -
warning: redefinition of identifier `RFC1155-SMI::mgmt'
14: mgmt(2) }
15: directory OBJECT IDENTIFIER ::= { internet 1 }
15: warning -
warning: redefinition of identifier `RFC1155-SMI::directory'
16: experimental OBJECT IDENTIFIER ::= { internet 3 }
16: warning -
warning: redefinition of identifier `RFC1155-SMI::experimental'
17: private OBJECT IDENTIFIER ::= { internet 4 }
17: warning -
warning: redefinition of identifier `RFC1155-SMI::private'
18: enterprises OBJECT IDENTIFIER ::= { private 1 }
18: warning -
warning: redefinition of identifier `RFC1155-SMI::enterprises'
19: Company OBJECT IDENTIFIER ::= { enterprises xxx }
19: error -
`Company' should start with a lower case letter
19: error -
Object identifier element `xxx' name only allowed as first element
20:
21: -- textual conventions
22:
23: DisplayString ::=
24: OCTET STRING
25: -- This data type is used to model textual information taken
26: -- from the NVT ASCII character set. By convention, objects
27: -- with this syntax are declared as having
28: --
29: (SIZE (0..255))
30:
31: PhysAddress ::=
32: OCTET STRING
33: -- This data type is used to model media addresses. For many
34: -- types of media, this will be in a binary representation.
35: -- For example, an ethernet address would be represented as
36: -- a string of 6 octets.
37:
38:
39: -- groups in MOBILE-MIB
40:
41: DevInfo OBJECT IDENTIFIER ::= { Company 1 }
41: error -
`DevInfo' should start with a lower case letter
41: error -
`Company' should start with a lower case letter
42: DevDetail OBJECT IDENTIFIER ::= { Company 2 }
42: error -
`DevDetail' should start with a lower case letter
42: error -
`Company' should start with a lower case letter
43:
44: Ext OBJECT IDENTIFIER ::= { DevDetail 1 }
44: error -
`Ext' should start with a lower case letter
44: error -
`DevDetail' should start with a lower case letter
45:
46: Settings OBJECT IDENTIFIER ::= { Ext 1 }
46: error -
`Settings' should start with a lower case letter
46: error -
`Ext' should start with a lower case letter
47:
48: WAP OBJECT IDENTIFIER ::= { Ext 2 }
48: error -
`WAP' should start with a lower case letter
48: error -
`Ext' should start with a lower case letter
49:
50: Log OBJECT IDENTIFIER ::= { Ext 3 }
50: error -
`Log' should start with a lower case letter
50: error -
`Ext' should start with a lower case letter
51:
52: Applications OBJECT IDENTIFIER ::= { Ext 4 }
52: error -
`Applications' should start with a lower case letter
52: error -
`Ext' should start with a lower case letter
53:
54: App1 OBJECT IDENTIFIER ::= { Applications 1 }
54: error -
`App1' should start with a lower case letter
54: error -
`Applications' should start with a lower case letter
55:
56: -- the DevInfo group
57:
58: -- Directory which holds device info
59:
60: Man OBJECT-TYPE
60: error -
`Man' should start with a lower case letter
60: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
61: SYNTAX DisplayString (SIZE (0..255))
62: ACCESS read-only
63: STATUS mandatory
64: DESCRIPTION
65: "Manufacture name."
66: ::= { DevInfo 1 }
66: warning -
warning: flushing recent incorrect declaration, see previous error(s)
67:
68: Mod OBJECT-TYPE
68: error -
`Mod' should start with a lower case letter
68: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
69: SYNTAX DisplayString (SIZE (0..255))
70: ACCESS read-only
71: STATUS mandatory
72: DESCRIPTION
73: "Model name."
74: ::= { DevInfo 2 }
74: warning -
warning: flushing recent incorrect declaration, see previous error(s)
75:
76: DevID OBJECT-TYPE
76: error -
`DevID' should start with a lower case letter
76: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
77: SYNTAX DisplayString (SIZE (0..255))
78: ACCESS read-only
79: STATUS mandatory
80: DESCRIPTION
81: "Device serial number."
82: ::= { DevInfo 3 }
82: warning -
warning: flushing recent incorrect declaration, see previous error(s)
83:
84: Lang OBJECT-TYPE
84: error -
`Lang' should start with a lower case letter
84: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
85: SYNTAX DisplayString (SIZE (0..255))
86: ACCESS read-write
87: STATUS mandatory
88: DESCRIPTION
89: "Device language."
90: ::= { DevInfo 4 }
90: warning -
warning: flushing recent incorrect declaration, see previous error(s)
91:
92: DmV OBJECT-TYPE
92: error -
`DmV' should start with a lower case letter
92: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
93: SYNTAX DisplayString (SIZE (0..255))
94: ACCESS read-only
95: STATUS mandatory
96:
97: DESCRIPTION
98: "Device version."
99: ::= { DevInfo 5 }
99: warning -
warning: flushing recent incorrect declaration, see previous error(s)
100:
101: -- the DevDetail group
102:
103: OEM OBJECT-TYPE
103: error -
`OEM' should start with a lower case letter
103: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
104: SYNTAX DisplayString (SIZE (0..255))
105: ACCESS read-only
106: STATUS mandatory
107: DESCRIPTION
108: "Specify OEM of the device (ex, Motorola)."
109: ::= { DevDetail 1 }
109: warning -
warning: flushing recent incorrect declaration, see previous error(s)
110:
111: FwV OBJECT-TYPE
111: error -
`FwV' should start with a lower case letter
111: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
112: SYNTAX DisplayString (SIZE (0..255))
113: ACCESS read-only
114: STATUS mandatory
115: DESCRIPTION
116: "Firmware version."
117: ::= { DevDetail 2 }
117: warning -
warning: flushing recent incorrect declaration, see previous error(s)
118:
119: SwV OBJECT-TYPE
119: error -
`SwV' should start with a lower case letter
119: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
120: SYNTAX DisplayString (SIZE (0..255))
121: ACCESS read-only
122: STATUS mandatory
123: DESCRIPTION
124: "Software version."
125: ::= { DevDetail 3 }
125: warning -
warning: flushing recent incorrect declaration, see previous error(s)
126:
127: HwV OBJECT-TYPE
127: error -
`HwV' should start with a lower case letter
127: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
128: SYNTAX DisplayString (SIZE (0..255))
129: ACCESS read-only
130: STATUS mandatory
131: DESCRIPTION
132: "Hardware version."
133: ::= { DevDetail 4 }
133: warning -
warning: flushing recent incorrect declaration, see previous error(s)
134:
135: DevTyp OBJECT-TYPE
135: error -
`DevTyp' should start with a lower case letter
135: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
136: SYNTAX DisplayString (SIZE (0..255))
137: ACCESS read-only
138: STATUS mandatory
139: DESCRIPTION
140: "Device type."
141: ::= { DevDetail 5 }
141: warning -
warning: flushing recent incorrect declaration, see previous error(s)
142:
143: Bearer OBJECT-TYPE
143: error -
`Bearer' should start with a lower case letter
143: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
144: SYNTAX DisplayString (SIZE (0..255))
145: ACCESS read-only
146: STATUS mandatory
147: DESCRIPTION
148: "Bearer."
149: ::= { DevDetail 6 }
149: warning -
warning: flushing recent incorrect declaration, see previous error(s)
150:
151: EnergyLevel OBJECT-TYPE
151: error -
`EnergyLevel' should start with a lower case letter
151: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
152: SYNTAX INTEGER
153: ACCESS read-only
154: STATUS mandatory
155: DESCRIPTION
156: "Energy Level. e.g Battery level"
157: ::= { DevDetail 7 }
157: warning -
warning: flushing recent incorrect declaration, see previous error(s)
158:
159: -- the Settings group
160:
161: -- Parent Settings directory
162:
163: clock OBJECT-TYPE
164: SYNTAX DisplayString (SIZE (0..255))
165: ACCESS read-write
166: STATUS mandatory
167: DESCRIPTION
168: "Set date and time."
169: ::= { Settings 1 }
169: error -
`Settings' should start with a lower case letter
170:
171: ActiveRing OBJECT-TYPE
171: error -
`ActiveRing' should start with a lower case letter
171: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
172: SYNTAX INTEGER
173: ACCESS read-write
174: STATUS mandatory
175: DESCRIPTION
176: "Replace active ring tone type setting."
177: ::= { Settings 2 }
177: warning -
warning: flushing recent incorrect declaration, see previous error(s)
178:
179: ActiveAlert OBJECT-TYPE
179: error -
`ActiveAlert' should start with a lower case letter
179: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
180: SYNTAX INTEGER
181: ACCESS read-write
182: STATUS mandatory
183: DESCRIPTION
184: "Replace active alert type setting (Silent, Vibrate,
185: Loud, etc)."
186: ::= { Settings 3 }
186: warning -
warning: flushing recent incorrect declaration, see previous error(s)
187:
188: AlertLevel OBJECT-TYPE
188: error -
`AlertLevel' should start with a lower case letter
188: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
189: SYNTAX INTEGER
190: ACCESS read-write
191: STATUS mandatory
192: DESCRIPTION
193: "Replace alert level setting."
194: ::= { Settings 4 }
194: warning -
warning: flushing recent incorrect declaration, see previous error(s)
195:
196: DTMF OBJECT-TYPE
196: error -
`DTMF' should start with a lower case letter
196: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
197: SYNTAX INTEGER
198: ACCESS read-write
199: STATUS mandatory
200: DESCRIPTION
201: "Replace DTMF settings (Short, Long, Off)."
202: ::= { Settings 5 }
202: warning -
warning: flushing recent incorrect declaration, see previous error(s)
203:
204: SecurityCode OBJECT-TYPE
204: error -
`SecurityCode' should start with a lower case letter
204: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
205: SYNTAX DisplayString (SIZE (0..255))
206: ACCESS read-write
207: STATUS mandatory
208: DESCRIPTION
209: "Replace the security code."
210: ::= { Settings 6 }
210: warning -
warning: flushing recent incorrect declaration, see previous error(s)
211:
212: LockState OBJECT-TYPE
212: error -
`LockState' should start with a lower case letter
212: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
213: SYNTAX INTEGER
214: ACCESS read-write
215: STATUS mandatory
216: DESCRIPTION
217: "Security lock state (Locked, Unlocked)."
218: ::= { Settings 7 }
218: warning -
warning: flushing recent incorrect declaration, see previous error(s)
219:
220:
221: -- the WAP group
222:
223: -- WAP folder settings
224:
225: Defaultwebsession OBJECT-TYPE
225: error -
`Defaultwebsession' should start with a lower case letter
225: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
226: SYNTAX DisplayString (SIZE (0..255))
227: ACCESS read-write
228: STATUS optional
229: DESCRIPTION
230: "Set default web session on phone."
231: ::= { WAP 1 }
231: warning -
warning: flushing recent incorrect declaration, see previous error(s)
232:
233: -- the Log group
234:
235: -- Directory which holds Log Mgmt Node
236:
237: CallProcessing OBJECT-TYPE
237: error -
`CallProcessing' should start with a lower case letter
237: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
238: SYNTAX DisplayString (SIZE (0..255))
239: ACCESS read-write
240: STATUS optional
241: DESCRIPTION
242: "Call Processing Log."
243: ::= { Log 1 }
243: warning -
warning: flushing recent incorrect declaration, see previous error(s)
244:
245: Location OBJECT-TYPE
245: error -
`Location' should start with a lower case letter
245: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
246: SYNTAX DisplayString (SIZE (0..255))
247: ACCESS read-write
248: STATUS optional
249: DESCRIPTION
250: "Location Log."
251: ::= { Log 2 }
251: warning -
warning: flushing recent incorrect declaration, see previous error(s)
252:
253: -- the Applications group
254:
255: -- Directory which holds Applications Info
256:
257: ExecutionCount OBJECT-TYPE
257: error -
`ExecutionCount' should start with a lower case letter
257: severe -
syntax error, unexpected OBJECT_TYPE, expecting OBJECT
258: SYNTAX INTEGER
259: ACCESS read-write
260: STATUS optional
261: DESCRIPTION
262: "App1 Execution Count."
263: ::= { App1 1 }
263: warning -
warning: flushing recent incorrect declaration, see previous error(s)
264:
265: END