| RE:-1
I tried modifying the MIB. I get a bit further, and it terminates
with the error below: More help please.
thanks,
Mike
Welcome to the DECmcc TCP/IP MIB Translator Utility driver procedure V1.3.0
17-NOV-1994 11:22:37
This procedure operates in a 2 phased manner --
Phase 1 translates a MIB definition into a management specification.
Phase 2 (as an option) translates the management specification into a
dictionary loadable file and updates the DECmcc data dictionary.
Phase 1 -- Enter name(s) of file(s) to translate
(separate multiple files by commas): dec_serv.txt
Phase 1 -- (prune option):
You have the option to PRUNE the entity model tree created by the
MIB Translator.
Pruning will cause child entities without attributes to be discarded.
Do you want to PRUNE the entity model tree? (Y/N) [N]:
Phase 1 -- (help generation option):
Do you want to build HELP text from the mib ? (Y/N) [N]: y
Phase 2 -- Do you want to update the DECmcc data dictionary? (Y/N) [N]: y
Issuing following command:
$ MTU = "$ SYS$SYSTEM:MCC_TCPIP_MTU.EXE"
* * *
(Now processing file # 1 out of a list of 1 file(s) ...)
Beginning Phase 1 for file SYSB$:[MCC]DEC_SERV.TXT;
17-NOV-1994 11:22:45
Now starting to run the MIB Translator ...
This may take approximately 1-5 minutes.
Issuing following command:
$ MTU SYSB$:[MCC]DEC_SERV.TXT; -h
Variable sysUpTime in trap defn. acctThresholdExceeded not previously defined
An error occurred while running the MIB Translator.
Check file DEC_SERV.LIS,
if it exists, for any further information.
Files DEC_SERV.MS and DEC_SERV_ENUM.MS
may also have been created; delete these files, as appropriate.
17-NOV-1994 11:22:49
Procedure terminated in error.
================================================================================
DEC_SERV.LIS:
DECmcc MIB Translation Utility T1.1.0-A Page 1
Input: sysb$:[mcc]dec_serv.txt; Output: dec_serv.ms, dec_serv_enum.ms
1 --
2 -- DECserver Accounting MIB v1.0
3 --
4
5 DECserver-Accounting-MIB DEFINITIONS ::= BEGIN
6
7 IMPORTS
8 OBJECT-TYPE FROM RFC-1212
9 DisplayString FROM RFC1213-MIB
10 Counter, TimeTicks FROM RFC1155-SMI;
11
12 dec OBJECT IDENTIFIER ::= { enterprises 36 }
13 ema OBJECT IDENTIFIER ::= { dec 2 }
14 mib-extensions-1 OBJECT IDENTIFIER ::= { ema 18 }
15 decServeraccounting OBJECT IDENTIFIER ::= { mib-extensions-1 12 }
16
17 -- the acctSys group provides system wide accounting
18 -- parameters
19
20 acctSystem OBJECT IDENTIFIER ::= { decServeraccounting 1 }
21
22 acctConsole OBJECT-TYPE
23 SYNTAX INTEGER {
24 disable(1),
25 enable(2)
26 }
27 ACCESS read-write
28 STATUS mandatory
29 DESCRIPTION
30 "This object controls whether the managed
31 system displays the accounting events to the
32 server's console port as they occur. The value
33 disable(1) means that it does not. The
34 value enable(2) means that it does.
35
36 The value of this object persists across
37 power cycles and reboots. Setting takes
38 effect immediately."
39 DEFVAL disable
40 ::= { acctSystem 1 }
41
42 acctAdminLogSize OBJECT-TYPE
43 SYNTAX INTEGER {
44 none(1),
45 size4K(2),
46 size8K(3),
47 size16K(4),
48 size32K(5),
49 size64K(6),
50 size128K(7),
51 size256K(8),
52 size512K(9)
53 }
54 ACCESS read-write
DECmcc MIB Translation Utility T1.1.0-A Page 2
Input: sysb$:[mcc]dec_serv.txt; Output: dec_serv.ms, dec_serv_enum.ms
55 STATUS mandatory
56 DESCRIPTION
57 "This object controls the total number of
58 bytes the managed system allocates for all
59 accounting records. The value size4K(1)
60 means the managed system allocates 4K bytes
61 for the accounting table, etc.
62
63 The value of this object persists across
64 power cycles and reboots of the managed
65 system. Setting it via SNMP has no effect
66 until the managed system again reboots."
67 DEFVAL size16K
68 ::= { acctSystem 2 }
69
70 acctOperLogSize OBJECT-TYPE
71 SYNTAX INTEGER {
72 none(1),
73 size4K(2),
74 size8K(3),
75 size16K(4),
76 size32K(5),
77 size64K(6),
78 size128K(7),
79 size256K(8),
80 size512K(9)
81 }
82 ACCESS read-only
83 STATUS mandatory
84 DESCRIPTION
85 "This object specifies the total number of
86 bytes the managed system has allocated for all
87 accounting records. The value size4K(1) means
88 the managed system allocated 4K bytes for
89 the accounting table, etc."
90 ::= { acctSystem 3 }
91
92 acctThreshold OBJECT-TYPE
93 SYNTAX INTEGER {
94 none(1),
95 end(2),
96 half(3),
97 quarter(4),
98 eighth(5)
99 }
100 ACCESS read-write
101 STATUS mandatory
102 DESCRIPTION
103 "This object controls when the managed
104 system generates an accounting trap. A trap
105 will be generated by the managed system whenever
106 logging another record will take it beyond the
107 specified physical points in the log. For example,
108 the value quarter(4) causes the managed system to
109 generate a trap when logging an entry takes it beyond
DECmcc MIB Translation Utility T1.1.0-A Page 3
Input: sysb$:[mcc]dec_serv.txt; Output: dec_serv.ms, dec_serv_enum.ms
110 the 1/4, 1/2, 3/4, or end of the log.
111
112 The managed system maintains the value
113 of this object across power-cycles and
114 reboots, although setting it changes the
115 behavior of the managed system
116 immediately."
117 DEFVAL none
118 ::= { acctSystem 4 }
119
120 -- The acctTable group represents an accounting log.
121
122 acctTable OBJECT-TYPE
123 SYNTAX SEQUENCE OF AcctEntry
124 ACCESS not-accessible
125 STATUS mandatory
126 DESCRIPTION
127 "The list of all accounting records at this
128 managed system."
129 ::= { decServeraccounting 2 }
130
131 acctEntry OBJECT-TYPE
132 SYNTAX AcctEntry
133 ACCESS not-accessible
134 STATUS mandatory
135 DESCRIPTION
136 "An accounting record for this managed
137 system. The system automatically creates
138 this record in response to an action
139 which accounting requires to be logged."
140 INDEX { acctEntryNonce1, acctEntryNonce2 }
141 ::= { acctTable 1 }
142
143 AcctEntry ::= SEQUENCE {
144 acctEntryNonce1 INTEGER,
145 acctEntryNonce2 INTEGER,
146 acctEntryTime TimeTicks,
147 acceEntryEvent INTEGER,
148 acctEntryPort INTEGER,
149 acctEntryUser DisplayString,
150 acctEntrySessionId INTEGER,
151 acctEntryProtocol INTEGER,
152 acctEntryAccess INTEGER,
153 acctEntryPeer DisplayString,
154 acctEntryReason INTEGER,
155 acctEntrySentBytes Counter,
156 acctEntryReceivedBytes Counter
157 }
158
159 acctEntryNonce1 OBJECT-TYPE
160 SYNTAX INTEGER (1..65535)
161 ACCESS read-only
162 STATUS mandatory
163 DESCRIPTION
164 "A number which, in combination with acctNonce2,
DECmcc MIB Translation Utility T1.1.0-A Page 4
Input: sysb$:[mcc]dec_serv.txt; Output: dec_serv.ms, dec_serv_enum.ms
165 distinguishes this object's entry from all
166 others."
167 ::= { acctEntry 1 }
168
169 acctEntryNonce2 OBJECT-TYPE
170 SYNTAX INTEGER (1..65535)
171 ACCESS read-only
172 STATUS mandatory
173 DESCRIPTION
174 "A number which, in combination with acctNonce1,
175 distinguishes this object's entry from all
176 others."
177 ::= { acctEntry 2 }
178
179 acctEntryTime OBJECT-TYPE
180 SYNTAX TimeTicks
181 ACCESS read-only
182 STATUS mandatory
183 DESCRIPTION
184 "The value of the MIB-II sysUpTime object at
185 which the managed system created this accounting
186 log entry."
187 ::= { acctEntry 3 }
188
189 acctEntryEvent OBJECT-TYPE
190 SYNTAX INTEGER {
191 other(1),
192 logIn(2),
193 logOut(3),
194 sessionConnect(4),
195 sessionDisconnect(5),
196 kerberosPasswordFail(6),
197 privilegedPasswordFail(7),
198 maintenancePasswordFail(8),
199 loginPasswordFail(9),
200 remotePasswordFail(10),
201 communityFail(11),
202 privilegedPasswordModified(12),
203 maintenacePasswordModified(13),
204 loginPasswordModified(14),
205 remotePasswordModified(15),
206 privilegeLevelModified(16),
207 communityModified(17)
208 }
209 ACCESS read-only
210 STATUS mandatory
211 DESCRIPTION
212 "This object identifies the record type
213 associated with its entry. The value logIn(2)
214 identifies the entry as a log-in record. The
215 value logOut(3) identifies the entry as a
216 log-out record. The value sessionConnect(4) means
217 the entry is a connect attempt record. The
218 value sessionDisconnect(5) means the record is a
219 disconnect record. For all password fail events (6-10),
DECmcc MIB Translation Utility T1.1.0-A Page 5
Input: sysb$:[mcc]dec_serv.txt; Output: dec_serv.ms, dec_serv_enum.ms
220 the value identifies the entry as a record flagging a
221 failure to correctly provide the associated password.
222 The value communityFail(11) identifies the record as
223 flagging a failure to provide a valid community in an
224 SNMP request. For all password modify events (12-16),
225 the value identifies the entry as a record flagging a
226 modification to an associated password. The value
227 communityModified(17) indicates that the SNMP community
228 data base at the managed system has been modified. The value
229 other(1) indicates that some other event has occured."
230 ::= { acctEntry 4 }
231
232 acctEntryPort OBJECT-TYPE
233 SYNTAX INTEGER
234 ACCESS read-only
235 STATUS mandatory
236 DESCRIPTION
237 "The port to which this entry applies. Its
238 value is -1 when the managed system can
239 associate the record with no port."
240 ::= { acctEntry 5 }
241
242 acctEntryUser OBJECT-TYPE
243 SYNTAX DisplayString
244 ACCESS read-only
245 STATUS mandatory
246 DESCRIPTION
247 "The username associated with the logged-in port.
248 If the managed system can attribute no name to
249 the entry, the value of this object is the NULL string."
250 ::= { acctEntry 6 }
251
252 acctEntrySessionId OBJECT-TYPE
253 SYNTAX INTEGER
254 ACCESS read-only
255 STATUS mandatory
256 DESCRIPTION
257 "The id of the session associated with this
258 record. If the managed system associates no
259 session with this accounting record, this
260 object's value is -1."
261 ::= { acctEntry 7 }
262
263 acctEntryProtocol OBJECT-TYPE
264 SYNTAX INTEGER {
265 none(1),
266 lat(2),
267 telnet(3),
268 slip(4),
269 ping(5),
270 mop(6),
271 ppp(7),
272 tn3270(8),
273 autolink(9),
274 snmp_ip(10),
DECmcc MIB Translation Utility T1.1.0-A Page 6
Input: sysb$:[mcc]dec_serv.txt; Output: dec_serv.ms, dec_serv_enum.ms
275 other(11)
276 }
277 ACCESS read-only
278 STATUS mandatory
279 DESCRIPTION
280 "This object indicates the protocol associated
281 with its entry. Its value is none(1) when the entry
282 is not a connect or disconnect record. The
283 value other(11) applies to other session types than
284 the ones specified above."
285 ::= { acctEntry 8 }
286
287 acctEntryAccess OBJECT-TYPE
288 SYNTAX INTEGER {
289 notApplicable(1),
290 local(2),
291 remote(3)
292 }
293 ACCESS read-only
294 STATUS mandatory
295 DESCRIPTION
296 "This object indicates its entry's access. The
297 value local(2) means the record is associated
298 with a local access log-in or session connect.
299 The value remote(3) indicates the record is
300 associated with a remote access log-in or session
301 connect. The value notApplicable(1) means the
302 entry is not a log-in or session connection record."
303 ::= { acctEntry 9 }
304
305 acctEntryPeer OBJECT-TYPE
306 SYNTAX DisplayString
307 ACCESS read-only
308 STATUS mandatory
309 DESCRIPTION
310 "This object identifies the peer associated
311 with the session connect, maintenance password
312 fail or community fail events. The value is the NULL
313 string for entries corresponding to other record
314 types."
315 ::= { acctEntry 10 }
316
317 acctEntryReason OBJECT-TYPE
318 SYNTAX INTEGER {
319 notApplicable(1),
320 normal(2),
321 error(3),
322 other(4)
323 }
324 ACCESS read-only
325 STATUS mandatory
326 DESCRIPTION
327 "This object indicates the session disconnect
328 reason for its entry. The value notApplicable(1)
329 means that it is not a session disconnect event.
DECmcc MIB Translation Utility T1.1.0-A Page 7
Input: sysb$:[mcc]dec_serv.txt; Output: dec_serv.ms, dec_serv_enum.ms
330 The value normal(2) means that the session
331 disconnect occured under normal circumstances.
332 The value error(3) means that an error or some
333 abnormal event occured to disconnect the
334 session. The value other(4) applies to other
335 disconnect reasons."
336 ::= { acctEntry 11 }
337
338 acctEntrySentBytes OBJECT-TYPE
339 SYNTAX Counter
340 ACCESS read-only
341 STATUS mandatory
342 DESCRIPTION
343 "The number of bytes sent when this object's entry
344 represents a session disconnect or logout, and 0 otherwise."
345 ::= { acctEntry 12 }
346
347 acctEntryReceivedBytes OBJECT-TYPE
348 SYNTAX Counter
349 ACCESS read-only
350 STATUS mandatory
351 DESCRIPTION
352 "The number of bytes received when this object's
353 entry represents a session disconnect or logout, and 0
354 otherwise."
355 ::= { acctEntry 13 }
356
357 -- the acctTraps group specifies traps the
358 -- accounting subsystem can generate
359
360 acctTraps OBJECT IDENTIFIER ::= { decServeraccounting 3 }
361
362 acctThresholdExceeded TRAP-TYPE
363 ENTERPRISE acctTraps
364 VARIABLES {
365 sysUpTime,
366 acctThreshold
367 }
368 DESCRIPTION
369 "This trap reports that the managed system
370 has crossed the configured threshold."
371 ::= 1
Variable sysUpTime in trap defn. acctThresholdExceeded not previously defined
|