~ubuntu-branches/ubuntu/wily/net-snmp/wily-proposed

« back to all changes in this revision

Viewing changes to mibs/DISMAN-SCRIPT-MIB.txt

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-28 14:59:36 UTC
  • mfrom: (1.2.3 upstream) (1.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100628145936-cbiallic69pn044g
Tags: 5.4.3~dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Set Ubuntu maintainer address.
  - net-snmp-config: Use bash. (LP: #104738)
  - Removed multiuser option when calling update-rc.d. (LP: #254261)
  - debian/snmpd.init: LSBify the init script.
  - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
    (LP: #250459)
  - debian/snmpd.postinst: source debconf before doing work, LP: #589056
  - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
    snmp user before install/uninstall, LP: #573391
  - Add apport hook (LP: #533603):
  - debian/{snmp,snmpd}.apport: Added.
  - debian/control: Build-depends on dh-apport.
  - debian/rules: 
    + Add --with apport.
    + override_dh_apport to install hook on snmpd package only.
 * Dropped patches:
   - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
DISMAN-SCRIPT-MIB DEFINITIONS ::= BEGIN
2
 
 
3
 
IMPORTS
4
 
    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
5
 
    Integer32, Unsigned32, mib-2
6
 
        FROM SNMPv2-SMI
7
 
 
8
 
    RowStatus, TimeInterval, DateAndTime, StorageType, DisplayString
9
 
        FROM SNMPv2-TC
10
 
 
11
 
    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
12
 
        FROM SNMPv2-CONF
13
 
 
14
 
    SnmpAdminString
15
 
        FROM SNMP-FRAMEWORK-MIB;
16
 
 
17
 
scriptMIB MODULE-IDENTITY
18
 
    LAST-UPDATED "200108210000Z"
19
 
    ORGANIZATION "IETF Distributed Management Working Group"
20
 
    CONTACT-INFO
21
 
        "WG EMail:  disman@dorothy.bmc.com
22
 
         Subscribe: disman-request@dorothy.bmc.com
23
 
 
24
 
         Chair:     Randy Presuhn
25
 
                    BMC Software, Inc.
26
 
 
27
 
         Postal:    Office 1-3141
28
 
                    2141 North First Street
29
 
                    San Jose,  California 95131
30
 
                    USA
31
 
         EMail:     rpresuhn@bmc.com
32
 
         Phone:     +1 408 546-1006
33
 
 
34
 
         Editor:    David B. Levi
35
 
                    Nortel Networks
36
 
         Postal:    4401 Great America Parkway
37
 
                    Santa Clara, CA 95052-8185
38
 
                    USA
39
 
         EMail:     dlevi@nortelnetworks.com
40
 
         Phone:     +1 423 686 0432
41
 
 
42
 
         Editor:    Juergen Schoenwaelder
43
 
                    TU Braunschweig
44
 
         Postal:    Bueltenweg 74/75
45
 
                    38106 Braunschweig
46
 
                    Germany
47
 
         EMail:     schoenw@ibr.cs.tu-bs.de
48
 
         Phone:     +49 531 391-3283"
49
 
    DESCRIPTION
50
 
        "This MIB module defines a set of objects that allow to
51
 
         delegate management scripts to distributed managers."
52
 
    REVISION    "200108210000Z"
53
 
    DESCRIPTION
54
 
        "Revised version, published as RFC 3165.
55
 
 
56
 
         This revision introduces several new objects: smScriptError,
57
 
         smScriptLastChange, smLaunchError, smLaunchLastChange,
58
 
         smLaunchRowExpireTime, smRunResultTime, and smRunErrorTime.
59
 
 
60
 
         The following existing objects were updated: the maximum
61
 
         value of smRunLifeTime now disables the timer, an
62
 
         autostart value was added to the smLaunchAdminStatus
63
 
         object, and a new expired state was added to the
64
 
         smLaunchOperStatus object.
65
 
 
66
 
         A new smScriptException notification has been added to
67
 
         support runtime error notifications.
68
 
 
69
 
         Created new conformance and compliance statements that
70
 
         take care of the new objects and notifications.
71
 
 
72
 
         Clarifications have been added in several places to remove
73
 
         ambiguities or contradictions that were discovered and
74
 
         reported by implementors."
75
 
 
76
 
    REVISION    "199902221800Z"
77
 
    DESCRIPTION
78
 
        "Initial version, published as RFC 2592."
79
 
    ::= { mib-2 64 }
80
 
 
81
 
--
82
 
--
83
 
 
84
 
smObjects       OBJECT IDENTIFIER ::= { scriptMIB 1 }
85
 
smNotifications OBJECT IDENTIFIER ::= { scriptMIB 2 }
86
 
smConformance   OBJECT IDENTIFIER ::= { scriptMIB 3 }
87
 
 
88
 
--
89
 
--
90
 
--
91
 
 
92
 
smLangTable OBJECT-TYPE
93
 
    SYNTAX      SEQUENCE OF SmLangEntry
94
 
    MAX-ACCESS  not-accessible
95
 
    STATUS      current
96
 
    DESCRIPTION
97
 
        "This table lists supported script languages."
98
 
    ::= { smObjects 1 }
99
 
 
100
 
smLangEntry OBJECT-TYPE
101
 
    SYNTAX      SmLangEntry
102
 
    MAX-ACCESS  not-accessible
103
 
    STATUS      current
104
 
    DESCRIPTION
105
 
        "An entry describing a particular language."
106
 
    INDEX { smLangIndex }
107
 
    ::= { smLangTable 1 }
108
 
 
109
 
SmLangEntry ::= SEQUENCE {
110
 
    smLangIndex         Integer32,
111
 
    smLangLanguage      OBJECT IDENTIFIER,
112
 
    smLangVersion       SnmpAdminString,
113
 
    smLangVendor        OBJECT IDENTIFIER,
114
 
    smLangRevision      SnmpAdminString,
115
 
    smLangDescr         SnmpAdminString
116
 
}
117
 
 
118
 
smLangIndex OBJECT-TYPE
119
 
    SYNTAX      Integer32 (1..2147483647)
120
 
    MAX-ACCESS  not-accessible
121
 
    STATUS      current
122
 
    DESCRIPTION
123
 
        "The locally arbitrary, but unique identifier associated
124
 
         with this language entry.
125
 
 
126
 
         The value is expected to remain constant at least from one
127
 
         re-initialization of the entity's network management system
128
 
         to the next re-initialization.
129
 
 
130
 
         Note that the data type and the range of this object must
131
 
         be consistent with the definition of smScriptLanguage."
132
 
    ::= { smLangEntry 1 }
133
 
 
134
 
smLangLanguage OBJECT-TYPE
135
 
    SYNTAX      OBJECT IDENTIFIER
136
 
    MAX-ACCESS  read-only
137
 
    STATUS      current
138
 
    DESCRIPTION
139
 
        "The globally unique identification of the language."
140
 
    ::= { smLangEntry 2 }
141
 
 
142
 
smLangVersion OBJECT-TYPE
143
 
    SYNTAX      SnmpAdminString (SIZE (0..32))
144
 
    MAX-ACCESS  read-only
145
 
    STATUS      current
146
 
    DESCRIPTION
147
 
        "The version number of the language. The zero-length string
148
 
         shall be used if the language does not have a version
149
 
         number.
150
 
 
151
 
         It is suggested that the version number consist of one or
152
 
         more decimal numbers separated by dots, where the first
153
 
         number is called the major version number."
154
 
    ::= { smLangEntry 3 }
155
 
 
156
 
smLangVendor OBJECT-TYPE
157
 
    SYNTAX      OBJECT IDENTIFIER
158
 
    MAX-ACCESS  read-only
159
 
    STATUS      current
160
 
    DESCRIPTION
161
 
        "An object identifier which identifies the vendor who
162
 
         provides the implementation of the language. This object
163
 
         identifier SHALL point to the object identifier directly
164
 
         below the enterprise object identifier {1 3 6 1 4 1}
165
 
         allocated for the vendor. The value must be the object
166
 
         identifier {0 0} if the vendor is not known."
167
 
    ::= { smLangEntry 4 }
168
 
 
169
 
smLangRevision OBJECT-TYPE
170
 
    SYNTAX      SnmpAdminString (SIZE (0..32))
171
 
    MAX-ACCESS  read-only
172
 
    STATUS      current
173
 
    DESCRIPTION
174
 
        "The version number of the language implementation.
175
 
         The value of this object must be an empty string if
176
 
         version number of the implementation is unknown.
177
 
 
178
 
         It is suggested that the value consist of one or more
179
 
         decimal numbers separated by dots, where the first
180
 
         number is called the major version number."
181
 
    ::= { smLangEntry 5 }
182
 
 
183
 
smLangDescr OBJECT-TYPE
184
 
    SYNTAX      SnmpAdminString
185
 
    MAX-ACCESS  read-only
186
 
    STATUS      current
187
 
    DESCRIPTION
188
 
        "A textual description of the language."
189
 
    ::= { smLangEntry 6 }
190
 
 
191
 
smExtsnTable OBJECT-TYPE
192
 
    SYNTAX      SEQUENCE OF SmExtsnEntry
193
 
    MAX-ACCESS  not-accessible
194
 
    STATUS      current
195
 
    DESCRIPTION
196
 
        "This table lists supported language extensions."
197
 
    ::= { smObjects 2 }
198
 
 
199
 
smExtsnEntry OBJECT-TYPE
200
 
    SYNTAX      SmExtsnEntry
201
 
    MAX-ACCESS  not-accessible
202
 
    STATUS      current
203
 
    DESCRIPTION
204
 
        "An entry describing a particular language extension."
205
 
    INDEX { smLangIndex, smExtsnIndex }
206
 
    ::= { smExtsnTable 1 }
207
 
 
208
 
SmExtsnEntry ::= SEQUENCE {
209
 
    smExtsnIndex        Integer32,
210
 
    smExtsnExtension    OBJECT IDENTIFIER,
211
 
    smExtsnVersion      SnmpAdminString,
212
 
    smExtsnVendor       OBJECT IDENTIFIER,
213
 
    smExtsnRevision     SnmpAdminString,
214
 
    smExtsnDescr        SnmpAdminString
215
 
}
216
 
 
217
 
smExtsnIndex OBJECT-TYPE
218
 
    SYNTAX      Integer32 (1..2147483647)
219
 
    MAX-ACCESS  not-accessible
220
 
    STATUS      current
221
 
    DESCRIPTION
222
 
        "The locally arbitrary, but unique identifier associated
223
 
         with this language extension entry.
224
 
 
225
 
         The value is expected to remain constant at least from one
226
 
         re-initialization of the entity's network management system
227
 
         to the next re-initialization."
228
 
    ::= { smExtsnEntry 1}
229
 
 
230
 
smExtsnExtension OBJECT-TYPE
231
 
    SYNTAX      OBJECT IDENTIFIER
232
 
    MAX-ACCESS  read-only
233
 
    STATUS      current
234
 
    DESCRIPTION
235
 
        "The globally unique identification of the language
236
 
         extension."
237
 
    ::= { smExtsnEntry 2 }
238
 
 
239
 
smExtsnVersion OBJECT-TYPE
240
 
    SYNTAX      SnmpAdminString (SIZE (0..32))
241
 
    MAX-ACCESS  read-only
242
 
    STATUS      current
243
 
    DESCRIPTION
244
 
        "The version number of the language extension.
245
 
         It is suggested that the version number consist of one or
246
 
         more decimal numbers separated by dots, where the first
247
 
         number is called the major version number."
248
 
    ::= { smExtsnEntry 3 }
249
 
 
250
 
smExtsnVendor OBJECT-TYPE
251
 
    SYNTAX      OBJECT IDENTIFIER
252
 
    MAX-ACCESS  read-only
253
 
    STATUS      current
254
 
    DESCRIPTION
255
 
        "An object identifier which identifies the vendor who
256
 
         provides the implementation of the extension. The
257
 
         object identifier value should point to the OID node
258
 
         directly below the enterprise OID {1 3 6 1 4 1}
259
 
         allocated for the vendor. The value must by the object
260
 
         identifier {0 0} if the vendor is not known."
261
 
    ::= { smExtsnEntry 4 }
262
 
 
263
 
smExtsnRevision OBJECT-TYPE
264
 
    SYNTAX      SnmpAdminString (SIZE (0..32))
265
 
    MAX-ACCESS  read-only
266
 
    STATUS      current
267
 
    DESCRIPTION
268
 
        "The version number of the extension implementation.
269
 
         The value of this object must be an empty string if
270
 
         version number of the implementation is unknown.
271
 
 
272
 
         It is suggested that the value consist of one or more
273
 
         decimal numbers separated by dots, where the first
274
 
         number is called the major version number."
275
 
    ::= { smExtsnEntry 5 }
276
 
 
277
 
smExtsnDescr OBJECT-TYPE
278
 
    SYNTAX      SnmpAdminString
279
 
    MAX-ACCESS  read-only
280
 
    STATUS      current
281
 
    DESCRIPTION
282
 
        "A textual description of the language extension."
283
 
    ::= { smExtsnEntry 6 }
284
 
 
285
 
--
286
 
--
287
 
--
288
 
 
289
 
smScriptObjects OBJECT IDENTIFIER ::= { smObjects 3 }
290
 
 
291
 
smScriptTable OBJECT-TYPE
292
 
    SYNTAX      SEQUENCE OF SmScriptEntry
293
 
    MAX-ACCESS  not-accessible
294
 
    STATUS      current
295
 
    DESCRIPTION
296
 
        "This table lists and describes locally known scripts."
297
 
    ::= { smScriptObjects 1 }
298
 
 
299
 
smScriptEntry OBJECT-TYPE
300
 
    SYNTAX      SmScriptEntry
301
 
    MAX-ACCESS  not-accessible
302
 
    STATUS      current
303
 
    DESCRIPTION
304
 
        "An entry describing a particular script. Every script that
305
 
         is stored in non-volatile memory is required to appear in
306
 
         this script table."
307
 
    INDEX { smScriptOwner, smScriptName }
308
 
    ::= { smScriptTable 1 }
309
 
 
310
 
SmScriptEntry ::= SEQUENCE {
311
 
    smScriptOwner       SnmpAdminString,
312
 
    smScriptName        SnmpAdminString,
313
 
    smScriptDescr       SnmpAdminString,
314
 
    smScriptLanguage    Integer32,
315
 
    smScriptSource      DisplayString,
316
 
    smScriptAdminStatus INTEGER,
317
 
    smScriptOperStatus  INTEGER,
318
 
    smScriptStorageType StorageType,
319
 
    smScriptRowStatus   RowStatus,
320
 
    smScriptError       SnmpAdminString,
321
 
    smScriptLastChange  DateAndTime
322
 
}
323
 
 
324
 
smScriptOwner OBJECT-TYPE
325
 
    SYNTAX      SnmpAdminString (SIZE (0..32))
326
 
    MAX-ACCESS  not-accessible
327
 
    STATUS      current
328
 
    DESCRIPTION
329
 
        "The manager who owns this row in the smScriptTable."
330
 
    ::= { smScriptEntry 1 }
331
 
 
332
 
smScriptName OBJECT-TYPE
333
 
    SYNTAX      SnmpAdminString (SIZE (1..32))
334
 
    MAX-ACCESS  not-accessible
335
 
    STATUS      current
336
 
    DESCRIPTION
337
 
        "The locally-unique, administratively assigned name for this
338
 
         script. This object allows an smScriptOwner to have multiple
339
 
         entries in the smScriptTable.
340
 
 
341
 
         This value of this object may be used to derive the name
342
 
         (e.g. a file name) which is used by the Script MIB
343
 
         implementation to access the script in non-volatile
344
 
         storage. The details of this mapping are implementation
345
 
         specific. However, the mapping needs to ensure that scripts
346
 
         created by different owners with the same script name do not
347
 
         map to the same name in non-volatile storage."
348
 
    ::= { smScriptEntry 2 }
349
 
 
350
 
smScriptDescr OBJECT-TYPE
351
 
    SYNTAX      SnmpAdminString
352
 
    MAX-ACCESS  read-create
353
 
    STATUS      current
354
 
    DESCRIPTION
355
 
        "A description of the purpose of the script."
356
 
    ::= { smScriptEntry 3 }
357
 
 
358
 
smScriptLanguage OBJECT-TYPE
359
 
    SYNTAX      Integer32 (0..2147483647)
360
 
    MAX-ACCESS  read-create
361
 
    STATUS      current
362
 
    DESCRIPTION
363
 
        "The value of this object type identifies an entry in the
364
 
         smLangTable which is used to execute this script.
365
 
         The special value 0 may be used by hard-wired scripts
366
 
         that can not be modified and that are executed by
367
 
         internal functions.
368
 
 
369
 
         Set requests to change this object are invalid if the
370
 
         value of smScriptOperStatus is `enabled' or `compiling'
371
 
         and will result in an inconsistentValue error.
372
 
 
373
 
         Note that the data type and the range of this object must
374
 
         be consistent with the definition of smLangIndex."
375
 
    ::= { smScriptEntry 4 }
376
 
 
377
 
smScriptSource OBJECT-TYPE
378
 
    SYNTAX      DisplayString
379
 
    MAX-ACCESS  read-create
380
 
    STATUS      current
381
 
    DESCRIPTION
382
 
        "This object either contains a reference to the script
383
 
         source or an empty string. A reference must be given
384
 
         in the form of a Uniform Resource Locator (URL) as
385
 
         defined in RFC 2396. The allowed character sets and the
386
 
         encoding rules defined in RFC 2396 section 2 apply.
387
 
 
388
 
         When the smScriptAdminStatus object is set to `enabled',
389
 
         the Script MIB implementation will `pull' the script
390
 
         source from the URL contained in this object if the URL
391
 
         is not empty.
392
 
 
393
 
         An empty URL indicates that the script source is loaded
394
 
         from local storage. The script is read from the smCodeTable
395
 
         if the value of smScriptStorageType is volatile. Otherwise,
396
 
         the script is read from non-volatile storage.
397
 
 
398
 
         Note: This document does not mandate implementation of any
399
 
         specific URL scheme. An attempt to load a script from a
400
 
         nonsupported URL scheme will cause the smScriptOperStatus
401
 
         to report an `unknownProtocol' error.
402
 
 
403
 
         Set requests to change this object are invalid if the
404
 
         value of smScriptOperStatus is `enabled', `editing',
405
 
         `retrieving' or `compiling' and will result in an
406
 
         inconsistentValue error."
407
 
    DEFVAL { ''H }
408
 
    ::= { smScriptEntry 5 }
409
 
 
410
 
smScriptAdminStatus OBJECT-TYPE
411
 
    SYNTAX      INTEGER {
412
 
                    enabled(1),
413
 
                    disabled(2),
414
 
                    editing(3)
415
 
                }
416
 
    MAX-ACCESS  read-create
417
 
    STATUS      current
418
 
    DESCRIPTION
419
 
        "The value of this object indicates the desired status of
420
 
         the script. See the definition of smScriptOperStatus for
421
 
         a description of the values.
422
 
 
423
 
         When the smScriptAdminStatus object is set to `enabled' and
424
 
         the smScriptOperStatus is `disabled' or one of the error
425
 
         states, the Script MIB implementation will `pull' the script
426
 
         source from the URL contained in the smScriptSource object
427
 
         if the URL is not empty."
428
 
    DEFVAL { disabled }
429
 
    ::= { smScriptEntry 6 }
430
 
 
431
 
smScriptOperStatus OBJECT-TYPE
432
 
    SYNTAX      INTEGER {
433
 
                    enabled(1),
434
 
                    disabled(2),
435
 
                    editing(3),
436
 
                    retrieving(4),
437
 
                    compiling(5),
438
 
                    noSuchScript(6),
439
 
                    accessDenied(7),
440
 
                    wrongLanguage(8),
441
 
                    wrongVersion(9),
442
 
                    compilationFailed(10),
443
 
                    noResourcesLeft(11),
444
 
                    unknownProtocol(12),
445
 
                    protocolFailure(13),
446
 
                    genericError(14)
447
 
                }
448
 
    MAX-ACCESS  read-only
449
 
    STATUS      current
450
 
    DESCRIPTION
451
 
        "The actual status of the script in the runtime system. The
452
 
         value of this object is only meaningful when the value of
453
 
         the smScriptRowStatus object is `active'.
454
 
 
455
 
         The smScriptOperStatus object may have the following values:
456
 
 
457
 
         - `enabled' indicates that the script is available and can
458
 
            be started by a launch table entry.
459
 
 
460
 
         - `disabled' indicates that the script can not be used.
461
 
 
462
 
         - `editing' indicates that the script can be modified in the
463
 
           smCodeTable.
464
 
 
465
 
         - `retrieving' indicates that the script is currently being
466
 
           loaded from non-volatile storage or a remote system.
467
 
 
468
 
         - `compiling' indicates that the script is currently being
469
 
           compiled by the runtime system.
470
 
 
471
 
         - `noSuchScript' indicates that the script does not exist
472
 
           at the smScriptSource.
473
 
 
474
 
         - `accessDenied' indicates that the script can not be loaded
475
 
           from the smScriptSource due to a lack of permissions.
476
 
 
477
 
         - `wrongLanguage' indicates that the script can not be
478
 
            loaded from the smScriptSource because of a language
479
 
            mismatch.
480
 
 
481
 
         - `wrongVersion' indicates that the script can not be loaded
482
 
           from the smScriptSource because of a language version
483
 
           mismatch.
484
 
 
485
 
         - `compilationFailed' indicates that the compilation failed.
486
 
 
487
 
         - `noResourcesLeft' indicates that the runtime system does
488
 
           not have enough resources to load the script.
489
 
 
490
 
         - `unknownProtocol' indicates that the script could not be
491
 
           loaded from the smScriptSource because the requested
492
 
           protocol is not supported.
493
 
 
494
 
         - `protocolFailure' indicates that the script could not be
495
 
           loaded from the smScriptSource because of a protocol
496
 
           failure.
497
 
 
498
 
         - `genericError' indicates that the script could not be
499
 
 
500
 
           loaded due to an error condition not listed above.
501
 
 
502
 
         The `retrieving' and `compiling' states are transient states
503
 
         which will either lead to one of the error states or the
504
 
         `enabled' state. The `disabled' and `editing' states are
505
 
         administrative states which are only reached by explicit
506
 
         management operations.
507
 
 
508
 
         All launch table entries that refer to this script table
509
 
         entry shall have an smLaunchOperStatus value of `disabled'
510
 
         when the value of this object is not `enabled'."
511
 
    DEFVAL { disabled }
512
 
    ::= { smScriptEntry 7 }
513
 
 
514
 
smScriptStorageType OBJECT-TYPE
515
 
    SYNTAX      StorageType
516
 
    MAX-ACCESS  read-create
517
 
    STATUS      current
518
 
    DESCRIPTION
519
 
        "This object defines whether this row and the script
520
 
         controlled by this row are kept in volatile storage and
521
 
         lost upon reboot or if this row is backed up by
522
 
         non-volatile or permanent storage.
523
 
 
524
 
         The storage type of this row always complies with the value
525
 
         of this entry if the value of the corresponding RowStatus
526
 
         object is `active'.
527
 
 
528
 
         However, the storage type of the script controlled by this
529
 
         row may be different, if the value of this entry is
530
 
         `non-volatile'. The script controlled by this row is written
531
 
         into local non-volatile storage if the following condition
532
 
         becomes true:
533
 
 
534
 
         (a) the URL contained in the smScriptSource object is empty
535
 
             and
536
 
         (b) the smScriptStorageType is `nonVolatile'
537
 
             and
538
 
         (c) the smScriptOperStatus is `enabled'
539
 
 
540
 
         Setting this object to `volatile' removes a script from
541
 
         non-volatile storage if the script controlled by this row
542
 
         has been in non-volatile storage before. Attempts to set
543
 
         this object to permanent will always fail with an
544
 
         inconsistentValue error.
545
 
 
546
 
         The value of smScriptStorageType is only meaningful if the
547
 
         value of the corresponding RowStatus object is `active'.
548
 
 
549
 
         If smScriptStorageType has the value permanent(4), then all
550
 
         objects whose MAX-ACCESS value is read-create must be
551
 
         writable, with the exception of the smScriptStorageType and
552
 
         smScriptRowStatus objects, which shall be read-only."
553
 
    DEFVAL { volatile }
554
 
    ::= { smScriptEntry 8 }
555
 
 
556
 
smScriptRowStatus OBJECT-TYPE
557
 
    SYNTAX      RowStatus
558
 
    MAX-ACCESS  read-create
559
 
    STATUS      current
560
 
    DESCRIPTION
561
 
        "A control that allows entries to be added and removed from
562
 
         this table.
563
 
 
564
 
         Changing the smScriptRowStatus from `active' to
565
 
         `notInService' will remove the associated script from the
566
 
         runtime system.
567
 
 
568
 
         Deleting conceptual rows from this table may affect the
569
 
         deletion of other resources associated with this row. For
570
 
         example, a script stored in non-volatile storage may be
571
 
         removed from non-volatile storage.
572
 
 
573
 
         An entry may not exist in the `active' state unless all
574
 
         required objects in the entry have appropriate values. Rows
575
 
         that are not complete or not in service are not known by the
576
 
         script runtime system.
577
 
 
578
 
         Attempts to `destroy' a row or to set a row `notInService'
579
 
         while the smScriptOperStatus is `enabled' will result in an
580
 
         inconsistentValue error.
581
 
 
582
 
         Attempts to `destroy' a row or to set a row `notInService'
583
 
         where the value of the smScriptStorageType object is
584
 
         `permanent' or `readOnly' will result in an
585
 
         inconsistentValue error.
586
 
 
587
 
         The value of this object has no effect on whether other
588
 
         objects in this conceptual row can be modified."
589
 
    ::= { smScriptEntry 9 }
590
 
 
591
 
smScriptError OBJECT-TYPE
592
 
    SYNTAX      SnmpAdminString
593
 
    MAX-ACCESS  read-only
594
 
    STATUS      current
595
 
    DESCRIPTION
596
 
        "This object contains a descriptive error message if the
597
 
 
598
 
         transition into the operational status `enabled' failed.
599
 
         Implementations must reset the error message to a
600
 
         zero-length string when a new attempt to change the
601
 
         script status to `enabled' is started."
602
 
    DEFVAL { ''H }
603
 
    ::= { smScriptEntry 10 }
604
 
 
605
 
smScriptLastChange OBJECT-TYPE
606
 
    SYNTAX      DateAndTime
607
 
    MAX-ACCESS  read-only
608
 
    STATUS      current
609
 
    DESCRIPTION
610
 
        "The date and time when this script table entry was last
611
 
         modified. The value '0000000000000000'H is returned if
612
 
         the script table entry has not yet been modified.
613
 
 
614
 
         Note that the resetting of smScriptError is not considered
615
 
         a change of the script table entry."
616
 
    DEFVAL { '0000000000000000'H }
617
 
    ::= { smScriptEntry 11 }
618
 
 
619
 
--
620
 
--
621
 
--
622
 
 
623
 
smCodeTable OBJECT-TYPE
624
 
    SYNTAX      SEQUENCE OF SmCodeEntry
625
 
    MAX-ACCESS  not-accessible
626
 
    STATUS      current
627
 
    DESCRIPTION
628
 
        "This table contains the script code for scripts that are
629
 
         written via SNMP write operations."
630
 
    ::= { smScriptObjects 2 }
631
 
 
632
 
smCodeEntry OBJECT-TYPE
633
 
    SYNTAX      SmCodeEntry
634
 
    MAX-ACCESS  not-accessible
635
 
    STATUS      current
636
 
    DESCRIPTION
637
 
        "An entry describing a particular fragment of a script."
638
 
    INDEX { smScriptOwner, smScriptName, smCodeIndex }
639
 
    ::= { smCodeTable 1 }
640
 
 
641
 
SmCodeEntry ::= SEQUENCE {
642
 
    smCodeIndex         Unsigned32,
643
 
    smCodeText          OCTET STRING,
644
 
    smCodeRowStatus     RowStatus
645
 
}
646
 
 
647
 
smCodeIndex OBJECT-TYPE
648
 
    SYNTAX      Unsigned32 (1..4294967295)
649
 
    MAX-ACCESS  not-accessible
650
 
    STATUS      current
651
 
    DESCRIPTION
652
 
        "The index value identifying this code fragment."
653
 
    ::= { smCodeEntry 1 }
654
 
 
655
 
smCodeText OBJECT-TYPE
656
 
    SYNTAX      OCTET STRING (SIZE (1..1024))
657
 
    MAX-ACCESS  read-create
658
 
    STATUS      current
659
 
    DESCRIPTION
660
 
        "The code that makes up a fragment of a script. The format
661
 
         of this code fragment depends on the script language which
662
 
         is identified by the associated smScriptLanguage object."
663
 
    ::= { smCodeEntry 2 }
664
 
 
665
 
smCodeRowStatus OBJECT-TYPE
666
 
    SYNTAX      RowStatus
667
 
    MAX-ACCESS  read-create
668
 
    STATUS      current
669
 
    DESCRIPTION
670
 
        "A control that allows entries to be added and removed from
671
 
         this table.
672
 
 
673
 
         The value of this object has no effect on whether other
674
 
         objects in this conceptual row can be modified."
675
 
    ::= { smCodeEntry 3 }
676
 
 
677
 
--
678
 
--
679
 
--
680
 
 
681
 
smRunObjects OBJECT IDENTIFIER ::= { smObjects 4 }
682
 
 
683
 
smLaunchTable OBJECT-TYPE
684
 
    SYNTAX      SEQUENCE OF SmLaunchEntry
685
 
    MAX-ACCESS  not-accessible
686
 
    STATUS      current
687
 
    DESCRIPTION
688
 
        "This table lists and describes scripts that are ready
689
 
         to be executed together with their parameters."
690
 
    ::= { smRunObjects 1 }
691
 
 
692
 
smLaunchEntry OBJECT-TYPE
693
 
    SYNTAX      SmLaunchEntry
694
 
    MAX-ACCESS  not-accessible
695
 
    STATUS      current
696
 
    DESCRIPTION
697
 
        "An entry describing a particular executable script."
698
 
    INDEX { smLaunchOwner, smLaunchName }
699
 
    ::= { smLaunchTable 1 }
700
 
 
701
 
SmLaunchEntry ::= SEQUENCE {
702
 
    smLaunchOwner               SnmpAdminString,
703
 
    smLaunchName                SnmpAdminString,
704
 
    smLaunchScriptOwner         SnmpAdminString,
705
 
    smLaunchScriptName          SnmpAdminString,
706
 
    smLaunchArgument            OCTET STRING,
707
 
    smLaunchMaxRunning          Unsigned32,
708
 
    smLaunchMaxCompleted        Unsigned32,
709
 
    smLaunchLifeTime            TimeInterval,
710
 
    smLaunchExpireTime          TimeInterval,
711
 
    smLaunchStart               Integer32,
712
 
    smLaunchControl             INTEGER,
713
 
    smLaunchAdminStatus         INTEGER,
714
 
    smLaunchOperStatus          INTEGER,
715
 
    smLaunchRunIndexNext        Integer32,
716
 
    smLaunchStorageType         StorageType,
717
 
    smLaunchRowStatus           RowStatus,
718
 
    smLaunchError               SnmpAdminString,
719
 
    smLaunchLastChange          DateAndTime,
720
 
    smLaunchRowExpireTime       TimeInterval
721
 
}
722
 
 
723
 
smLaunchOwner OBJECT-TYPE
724
 
    SYNTAX      SnmpAdminString (SIZE (0..32))
725
 
    MAX-ACCESS  not-accessible
726
 
    STATUS      current
727
 
    DESCRIPTION
728
 
        "The manager who owns this row in the smLaunchTable. Every
729
 
         instance of a running script started from a particular entry
730
 
         in the smLaunchTable (i.e. entries in the smRunTable) will
731
 
         be owned by the same smLaunchOwner used to index the entry
732
 
         in the smLaunchTable. This owner is not necessarily the same
733
 
         as the owner of the script itself (smLaunchScriptOwner)."
734
 
    ::= { smLaunchEntry 1 }
735
 
 
736
 
smLaunchName OBJECT-TYPE
737
 
    SYNTAX      SnmpAdminString (SIZE (1..32))
738
 
    MAX-ACCESS  not-accessible
739
 
    STATUS      current
740
 
    DESCRIPTION
741
 
        "The locally-unique, administratively assigned name for this
742
 
         launch table entry. This object allows an smLaunchOwner to
743
 
         have multiple entries in the smLaunchTable. The smLaunchName
744
 
         is an arbitrary name that must be different from any other
745
 
         smLaunchTable entries with the same smLaunchOwner but can be
746
 
         the same as other entries in the smLaunchTable with
747
 
         different smLaunchOwner values. Note that the value of
748
 
         smLaunchName is not related in any way to the name of the
749
 
         script being launched."
750
 
    ::= { smLaunchEntry 2 }
751
 
 
752
 
smLaunchScriptOwner OBJECT-TYPE
753
 
    SYNTAX      SnmpAdminString (SIZE (0..32))
754
 
    MAX-ACCESS  read-create
755
 
    STATUS      current
756
 
    DESCRIPTION
757
 
        "The value of this object in combination with the value of
758
 
         smLaunchScriptName identifies the script that can be
759
 
         launched from this smLaunchTable entry. Attempts to write
760
 
         this object will fail with an inconsistentValue error if
761
 
         the value of smLaunchOperStatus is `enabled'."
762
 
    ::= { smLaunchEntry 3 }
763
 
 
764
 
smLaunchScriptName OBJECT-TYPE
765
 
    SYNTAX      SnmpAdminString (SIZE (0..32))
766
 
    MAX-ACCESS  read-create
767
 
    STATUS      current
768
 
    DESCRIPTION
769
 
        "The value of this object in combination with the value of
770
 
         the smLaunchScriptOwner identifies the script that can be
771
 
         launched from this smLaunchTable entry. The zero-length
772
 
         string may be used to point to a non-existing script.
773
 
 
774
 
         Attempts to write this object will fail with an
775
 
         inconsistentValue error if the value of smLaunchOperStatus
776
 
         is `enabled'."
777
 
    DEFVAL { ''H }
778
 
    ::= { smLaunchEntry 4 }
779
 
 
780
 
smLaunchArgument OBJECT-TYPE
781
 
    SYNTAX      OCTET STRING
782
 
    MAX-ACCESS  read-create
783
 
    STATUS      current
784
 
    DESCRIPTION
785
 
        "The argument supplied to the script. When a script is
786
 
         invoked, the value of this object is used to initialize
787
 
         the smRunArgument object."
788
 
    DEFVAL { ''H }
789
 
    ::= { smLaunchEntry 5 }
790
 
 
791
 
smLaunchMaxRunning OBJECT-TYPE
792
 
    SYNTAX      Unsigned32 (1..4294967295)
793
 
    MAX-ACCESS  read-create
794
 
    STATUS      current
795
 
    DESCRIPTION
796
 
        "The maximum number of concurrently running scripts that may
797
 
         be invoked from this entry in the smLaunchTable. Lowering
798
 
         the current value of this object does not affect any scripts
799
 
         that are already executing."
800
 
    DEFVAL { 1 }
801
 
    ::= { smLaunchEntry 6 }
802
 
 
803
 
smLaunchMaxCompleted OBJECT-TYPE
804
 
    SYNTAX      Unsigned32 (1..4294967295)
805
 
    MAX-ACCESS  read-create
806
 
    STATUS      current
807
 
    DESCRIPTION
808
 
        "The maximum number of finished scripts invoked from this
809
 
         entry in the smLaunchTable allowed to be retained in the
810
 
         smRunTable. Whenever the value of this object is changed
811
 
         and whenever a script terminates, entries in the smRunTable
812
 
         are deleted if necessary until the number of completed
813
 
         scripts is smaller than the value of this object. Scripts
814
 
         whose smRunEndTime value indicates the oldest completion
815
 
         time are deleted first."
816
 
    DEFVAL { 1 }
817
 
    ::= { smLaunchEntry 7 }
818
 
 
819
 
smLaunchLifeTime OBJECT-TYPE
820
 
    SYNTAX      TimeInterval
821
 
    UNITS       "centi-seconds"
822
 
    MAX-ACCESS  read-create
823
 
    STATUS      current
824
 
    DESCRIPTION
825
 
        "The default maximum amount of time a script launched
826
 
         from this entry may run. The value of this object is used
827
 
         to initialize the smRunLifeTime object when a script is
828
 
         launched. Changing the value of an smLaunchLifeTime
829
 
         instance does not affect scripts previously launched from
830
 
 
831
 
         this entry."
832
 
    DEFVAL { 360000 }
833
 
    ::= { smLaunchEntry 8 }
834
 
 
835
 
smLaunchExpireTime OBJECT-TYPE
836
 
    SYNTAX      TimeInterval
837
 
    UNITS       "centi-seconds"
838
 
    MAX-ACCESS  read-create
839
 
    STATUS      current
840
 
    DESCRIPTION
841
 
        "The default maximum amount of time information about a
842
 
         script launched from this entry is kept in the smRunTable
843
 
         after the script has completed execution.  The value of
844
 
         this object is used to initialize the smRunExpireTime
845
 
         object when a script is launched. Changing the value of an
846
 
         smLaunchExpireTime instance does not affect scripts
847
 
         previously launched from this entry."
848
 
    DEFVAL { 360000 }
849
 
    ::= { smLaunchEntry 9 }
850
 
 
851
 
smLaunchStart OBJECT-TYPE
852
 
    SYNTAX      Integer32 (0..2147483647)
853
 
    MAX-ACCESS  read-create
854
 
    STATUS      current
855
 
    DESCRIPTION
856
 
        "This object is used to start the execution of scripts.
857
 
         When retrieved, the value will be the value of smRunIndex
858
 
         for the last script that started execution by manipulating
859
 
         this object. The value will be zero if no script started
860
 
         execution yet.
861
 
 
862
 
         A script is started by setting this object to an unused
863
 
         smRunIndex value. A new row in the smRunTable will be
864
 
         created which is indexed by the value supplied by the
865
 
         set-request in addition to the value of smLaunchOwner and
866
 
         smLaunchName. An unused value can be obtained by reading
867
 
         the smLaunchRunIndexNext object.
868
 
 
869
 
         Setting this object to the special value 0 will start
870
 
         the script with a self-generated smRunIndex value. The
871
 
         consequence is that the script invoker has no reliable
872
 
         way to determine the smRunIndex value for this script
873
 
         invocation and that the invoker has therefore no way
874
 
         to obtain the results from this script invocation. The
875
 
         special value 0 is however useful for scheduled script
876
 
         invocations.
877
 
 
878
 
         If this object is set, the following checks must be
879
 
 
880
 
         performed:
881
 
 
882
 
         1) The value of the smLaunchOperStatus object in this
883
 
            entry of the smLaunchTable must be `enabled'.
884
 
         2) The values of smLaunchScriptOwner and
885
 
            smLaunchScriptName of this row must identify an
886
 
            existing entry in the smScriptTable.
887
 
         3) The value of smScriptOperStatus of this entry must
888
 
            be `enabled'.
889
 
         4) The principal performing the set operation must have
890
 
            read access to the script. This must be checked by
891
 
            calling the isAccessAllowed abstract service interface
892
 
            defined in RFC 2271 on the row in the smScriptTable
893
 
            identified by smLaunchScriptOwner and smLaunchScriptName.
894
 
            The isAccessAllowed abstract service interface must be
895
 
            called on all columnar objects in the smScriptTable with
896
 
            a MAX-ACCESS value different than `not-accessible'. The
897
 
            test fails as soon as a call indicates that access is
898
 
            not allowed.
899
 
         5) If the value provided by the set operation is not 0,
900
 
            a check must be made that the value is currently not
901
 
            in use. Otherwise, if the value provided by the set
902
 
            operation is 0, a suitable unused value must be
903
 
            generated.
904
 
         6) The number of currently executing scripts invoked
905
 
            from this smLaunchTable entry must be less than
906
 
            smLaunchMaxRunning.
907
 
 
908
 
         Attempts to start a script will fail with an
909
 
         inconsistentValue error if one of the checks described
910
 
         above fails.
911
 
 
912
 
         Otherwise, if all checks have been passed, a new entry
913
 
         in the smRunTable will be created indexed by smLaunchOwner,
914
 
         smLaunchName and the new value for smRunIndex. The value
915
 
         of smLaunchArgument will be copied into smRunArgument,
916
 
         the value of smLaunchLifeTime will be copied to
917
 
         smRunLifeTime, and the value of smLaunchExpireTime
918
 
         will be copied to smRunExpireTime.
919
 
 
920
 
         The smRunStartTime will be set to the current time and
921
 
         the smRunState will be set to `initializing' before the
922
 
         script execution is initiated in the appropriate runtime
923
 
         system.
924
 
 
925
 
         Note that the data type and the range of this object must
926
 
         be consistent with the smRunIndex object. Since this
927
 
         object might be written from the scheduling MIB, the
928
 
 
929
 
         data type Integer32 rather than Unsigned32 is used."
930
 
    DEFVAL { 0 }
931
 
    ::= { smLaunchEntry 10 }
932
 
 
933
 
smLaunchControl OBJECT-TYPE
934
 
    SYNTAX      INTEGER {
935
 
                    abort(1),
936
 
                    suspend(2),
937
 
                    resume(3),
938
 
                    nop(4)
939
 
                }
940
 
    MAX-ACCESS  read-create
941
 
    STATUS      current
942
 
    DESCRIPTION
943
 
        "This object is used to request a state change for all
944
 
         running scripts in the smRunTable that were started from
945
 
         this row in the smLaunchTable.
946
 
 
947
 
         Setting this object to abort(1), suspend(2) or resume(3)
948
 
         will set the smRunControl object of all applicable rows
949
 
         in the smRunTable to abort(1), suspend(2) or resume(3)
950
 
         respectively. The phrase `applicable rows' means the set of
951
 
         rows which were created from this entry in the smLaunchTable
952
 
         and whose value of smRunState allows the corresponding
953
 
         state change as described in the definition of the
954
 
         smRunControl object. Setting this object to nop(4) has no
955
 
         effect.
956
 
 
957
 
         Attempts to set this object lead to an inconsistentValue
958
 
         error only if all implicated sets on all the applicable
959
 
         rows lead to inconsistentValue errors. It is not allowed
960
 
         to return an inconsistentValue error if at least one state
961
 
         change on one of the applicable rows was successful."
962
 
    DEFVAL { nop }
963
 
    ::= { smLaunchEntry 11 }
964
 
 
965
 
smLaunchAdminStatus OBJECT-TYPE
966
 
    SYNTAX      INTEGER {
967
 
                    enabled(1),
968
 
                    disabled(2),
969
 
                    autostart(3)
970
 
                }
971
 
    MAX-ACCESS  read-create
972
 
    STATUS      current
973
 
    DESCRIPTION
974
 
        "The value of this object indicates the desired status of
975
 
         this launch table entry. The values enabled(1) and
976
 
         autostart(3) both indicate that the launch table entry
977
 
 
978
 
         should transition into the operational enabled(1) state as
979
 
         soon as the associated script table entry is enabled(1).
980
 
 
981
 
         The value autostart(3) further indicates that the script
982
 
         is started automatically by conceptually writing the
983
 
         value 0 into the associated smLaunchStart object during
984
 
         the transition from the `disabled' into the `enabled'
985
 
         operational state. This is useful for scripts that are
986
 
         to be launched on system start-up."
987
 
    DEFVAL { disabled }
988
 
    ::= { smLaunchEntry 12 }
989
 
 
990
 
smLaunchOperStatus OBJECT-TYPE
991
 
    SYNTAX      INTEGER {
992
 
                    enabled(1),
993
 
                    disabled(2),
994
 
                    expired(3)
995
 
                }
996
 
    MAX-ACCESS  read-only
997
 
    STATUS      current
998
 
    DESCRIPTION
999
 
        "The value of this object indicates the actual status of
1000
 
         this launch table entry.  The smLaunchOperStatus object
1001
 
         may have the following values:
1002
 
 
1003
 
         - `enabled' indicates that the launch table entry is
1004
 
           available and can be used to start scripts.
1005
 
 
1006
 
         - `disabled' indicates that the launch table entry can
1007
 
           not be used to start scripts.
1008
 
 
1009
 
         - `expired' indicates that the launch table entry can
1010
 
           not be used to start scripts and will disappear as
1011
 
           soon as all smRunTable entries associated with this
1012
 
           launch table entry have disappeared.
1013
 
 
1014
 
         The value `enabled' requires that the smLaunchRowStatus
1015
 
         object is active. The value `disabled' requires that there
1016
 
         are no entries in the smRunTable associated with this
1017
 
         smLaunchTable entry."
1018
 
    DEFVAL { disabled }
1019
 
    ::= { smLaunchEntry 13 }
1020
 
 
1021
 
smLaunchRunIndexNext OBJECT-TYPE
1022
 
    SYNTAX      Integer32 (1..2147483647)
1023
 
    MAX-ACCESS  read-only
1024
 
    STATUS      current
1025
 
    DESCRIPTION
1026
 
        "This variable is used for creating rows in the smRunTable.
1027
 
         The value of this variable is a currently unused value
1028
 
         for smRunIndex, which can be written into the smLaunchStart
1029
 
         object associated with this row to launch a script.
1030
 
 
1031
 
         The value returned when reading this variable must be unique
1032
 
         for the smLaunchOwner and smLaunchName associated with this
1033
 
         row. Subsequent attempts to read this variable must return
1034
 
         different values.
1035
 
 
1036
 
         This variable will return the special value 0 if no new rows
1037
 
         can be created.
1038
 
 
1039
 
         Note that the data type and the range of this object must be
1040
 
         consistent with the definition of smRunIndex."
1041
 
    ::= { smLaunchEntry 14 }
1042
 
 
1043
 
smLaunchStorageType OBJECT-TYPE
1044
 
    SYNTAX      StorageType
1045
 
    MAX-ACCESS  read-create
1046
 
    STATUS      current
1047
 
    DESCRIPTION
1048
 
        "This object defines if this row is kept in volatile storage
1049
 
         and lost upon reboot or if this row is backed up by stable
1050
 
         storage.
1051
 
 
1052
 
         The value of smLaunchStorageType is only meaningful if the
1053
 
         value of the corresponding RowStatus object is active.
1054
 
 
1055
 
         If smLaunchStorageType has the value permanent(4), then all
1056
 
         objects whose MAX-ACCESS value is read-create must be
1057
 
         writable, with the exception of the smLaunchStorageType and
1058
 
         smLaunchRowStatus objects, which shall be read-only."
1059
 
    DEFVAL { volatile }
1060
 
    ::= { smLaunchEntry 15 }
1061
 
 
1062
 
smLaunchRowStatus OBJECT-TYPE
1063
 
    SYNTAX      RowStatus
1064
 
    MAX-ACCESS  read-create
1065
 
    STATUS      current
1066
 
    DESCRIPTION
1067
 
        "A control that allows entries to be added and removed from
1068
 
         this table.
1069
 
 
1070
 
         Attempts to `destroy' a row or to set a row `notInService'
1071
 
         while the smLaunchOperStatus is `enabled' will result in
1072
 
         an inconsistentValue error.
1073
 
 
1074
 
         Attempts to `destroy' a row or to set a row `notInService'
1075
 
         where the value of the smLaunchStorageType object is
1076
 
         `permanent' or `readOnly' will result in an
1077
 
         inconsistentValue error.
1078
 
 
1079
 
         The value of this object has no effect on whether other
1080
 
         objects in this conceptual row can be modified."
1081
 
    ::= { smLaunchEntry 16 }
1082
 
 
1083
 
smLaunchError OBJECT-TYPE
1084
 
    SYNTAX      SnmpAdminString
1085
 
    MAX-ACCESS  read-only
1086
 
    STATUS      current
1087
 
    DESCRIPTION
1088
 
        "This object contains a descriptive error message if an
1089
 
         attempt to launch a script fails. Implementations must reset
1090
 
         the error message to a zero-length string when a new attempt
1091
 
         to launch a script is started."
1092
 
    DEFVAL { ''H }
1093
 
    ::= { smLaunchEntry 17 }
1094
 
 
1095
 
smLaunchLastChange OBJECT-TYPE
1096
 
    SYNTAX      DateAndTime
1097
 
    MAX-ACCESS  read-only
1098
 
    STATUS      current
1099
 
    DESCRIPTION
1100
 
        "The date and time when this launch table entry was last
1101
 
         modified. The value '0000000000000000'H is returned if
1102
 
         the launch table entry has not yet been modified.
1103
 
 
1104
 
         Note that a change of smLaunchStart, smLaunchControl,
1105
 
         smLaunchRunIndexNext, smLaunchRowExpireTime, or the
1106
 
         resetting of smLaunchError is not considered a change
1107
 
         of this launch table entry."
1108
 
    DEFVAL { '0000000000000000'H }
1109
 
    ::= { smLaunchEntry 18 }
1110
 
 
1111
 
smLaunchRowExpireTime OBJECT-TYPE
1112
 
    SYNTAX      TimeInterval
1113
 
    UNITS       "centi-seconds"
1114
 
    MAX-ACCESS  read-create
1115
 
    STATUS      current
1116
 
    DESCRIPTION
1117
 
        "The value of this object specifies how long this row remains
1118
 
         in the `enabled' or `disabled' operational state. The value
1119
 
         reported by this object ticks backwards. When the value
1120
 
         reaches 0, it stops ticking backward and the row is
1121
 
         deleted if there are no smRunTable entries associated with
1122
 
 
1123
 
         this smLaunchTable entry. Otherwise, the smLaunchOperStatus
1124
 
         changes to `expired' and the row deletion is deferred
1125
 
         until there are no smRunTable entries associated with this
1126
 
         smLaunchTable entry.
1127
 
 
1128
 
         The smLaunchRowExpireTime will not tick backwards if it is
1129
 
         set to its maximum value (2147483647). In other words,
1130
 
         setting this object to its maximum value turns the timer
1131
 
         off.
1132
 
 
1133
 
         The value of this object may be set in order to increase
1134
 
         or reduce the remaining time that the launch table entry
1135
 
         may be used. Setting the value to 0 will cause an immediate
1136
 
         row deletion or transition into the `expired' operational
1137
 
         state.
1138
 
 
1139
 
         It is not possible to set this object while the operational
1140
 
         status is `expired'. Attempts to modify this object while
1141
 
         the operational status is `expired' leads to an
1142
 
         inconsistentValue error.
1143
 
 
1144
 
         Note that the timer ticks backwards independent of the
1145
 
         operational state of the launch table entry."
1146
 
    DEFVAL { 2147483647 }
1147
 
    ::= { smLaunchEntry 19 }
1148
 
 
1149
 
smRunTable OBJECT-TYPE
1150
 
    SYNTAX      SEQUENCE OF SmRunEntry
1151
 
    MAX-ACCESS  not-accessible
1152
 
    STATUS      current
1153
 
    DESCRIPTION
1154
 
        "This table lists and describes scripts that are currently
1155
 
         running or have been running in the past."
1156
 
    ::= { smRunObjects 2 }
1157
 
 
1158
 
smRunEntry OBJECT-TYPE
1159
 
    SYNTAX      SmRunEntry
1160
 
    MAX-ACCESS  not-accessible
1161
 
    STATUS      current
1162
 
    DESCRIPTION
1163
 
        "An entry describing a particular running or finished
1164
 
         script."
1165
 
    INDEX { smLaunchOwner, smLaunchName, smRunIndex }
1166
 
    ::= { smRunTable 1 }
1167
 
 
1168
 
SmRunEntry ::= SEQUENCE {
1169
 
    smRunIndex          Integer32,
1170
 
    smRunArgument       OCTET STRING,
1171
 
    smRunStartTime      DateAndTime,
1172
 
    smRunEndTime        DateAndTime,
1173
 
    smRunLifeTime       TimeInterval,
1174
 
    smRunExpireTime     TimeInterval,
1175
 
    smRunExitCode       INTEGER,
1176
 
    smRunResult         OCTET STRING,
1177
 
    smRunControl        INTEGER,
1178
 
    smRunState          INTEGER,
1179
 
    smRunError          SnmpAdminString,
1180
 
    smRunResultTime     DateAndTime,
1181
 
    smRunErrorTime      DateAndTime
1182
 
}
1183
 
 
1184
 
smRunIndex OBJECT-TYPE
1185
 
    SYNTAX      Integer32 (1..2147483647)
1186
 
    MAX-ACCESS  not-accessible
1187
 
    STATUS      current
1188
 
    DESCRIPTION
1189
 
        "The locally arbitrary, but unique identifier associated
1190
 
         with this running or finished script. This value must be
1191
 
         unique for all rows in the smRunTable with the same
1192
 
         smLaunchOwner and smLaunchName.
1193
 
 
1194
 
         Note that the data type and the range of this object must
1195
 
         be consistent with the definition of smLaunchRunIndexNext
1196
 
         and smLaunchStart."
1197
 
    ::= { smRunEntry 1 }
1198
 
 
1199
 
smRunArgument OBJECT-TYPE
1200
 
    SYNTAX      OCTET STRING
1201
 
    MAX-ACCESS  read-only
1202
 
    STATUS      current
1203
 
    DESCRIPTION
1204
 
        "The argument supplied to the script when it started."
1205
 
    DEFVAL { ''H }
1206
 
    ::= { smRunEntry 2 }
1207
 
 
1208
 
smRunStartTime OBJECT-TYPE
1209
 
    SYNTAX      DateAndTime
1210
 
    MAX-ACCESS  read-only
1211
 
    STATUS      current
1212
 
    DESCRIPTION
1213
 
        "The date and time when the execution started. The value
1214
 
         '0000000000000000'H is returned if the script has not
1215
 
         started yet."
1216
 
    DEFVAL { '0000000000000000'H }
1217
 
    ::= { smRunEntry 3 }
1218
 
 
1219
 
smRunEndTime OBJECT-TYPE
1220
 
    SYNTAX      DateAndTime
1221
 
    MAX-ACCESS  read-only
1222
 
    STATUS      current
1223
 
    DESCRIPTION
1224
 
        "The date and time when the execution terminated. The value
1225
 
         '0000000000000000'H is returned if the script has not
1226
 
         terminated yet."
1227
 
    DEFVAL { '0000000000000000'H }
1228
 
    ::= { smRunEntry 4 }
1229
 
 
1230
 
smRunLifeTime OBJECT-TYPE
1231
 
    SYNTAX      TimeInterval
1232
 
    UNITS       "centi-seconds"
1233
 
    MAX-ACCESS  read-write
1234
 
    STATUS      current
1235
 
    DESCRIPTION
1236
 
        "This object specifies how long the script can execute.
1237
 
         This object returns the remaining time that the script
1238
 
         may run. The object is initialized with the value of the
1239
 
         associated smLaunchLifeTime object and ticks backwards.
1240
 
         The script is aborted immediately when the value reaches 0.
1241
 
 
1242
 
         The value of this object may be set in order to increase or
1243
 
         reduce the remaining time that the script may run. Setting
1244
 
         this value to 0 will abort script execution immediately,
1245
 
         and, if the value of smRunExpireTime is also 0, will remove
1246
 
         this entry from the smRunTable once it has terminated.
1247
 
 
1248
 
         If smRunLifeTime is set to its maximum value (2147483647),
1249
 
         either by a set operation or by its initialization from the
1250
 
         smLaunchLifeTime object, then it will not tick backwards.
1251
 
         A running script with a maximum smRunLifeTime value will
1252
 
         thus never be terminated with a `lifeTimeExceeded' exit
1253
 
         code.
1254
 
 
1255
 
         The value of smRunLifeTime reflects the real-time execution
1256
 
         time as seen by the outside world. The value of this object
1257
 
         will always be 0 for a script that finished execution, that
1258
 
         is smRunState has the value `terminated'.
1259
 
 
1260
 
         The value of smRunLifeTime does not change while a script
1261
 
         is suspended, that is smRunState has the value `suspended'.
1262
 
         Note that this does not affect set operations. It is legal
1263
 
         to modify smRunLifeTime via set operations while a script
1264
 
         is suspended."
1265
 
    ::= { smRunEntry 5 }
1266
 
 
1267
 
smRunExpireTime OBJECT-TYPE
1268
 
    SYNTAX      TimeInterval
1269
 
    UNITS       "centi-seconds"
1270
 
    MAX-ACCESS  read-write
1271
 
    STATUS      current
1272
 
    DESCRIPTION
1273
 
        "The value of this object specifies how long this row can
1274
 
         exist in the smRunTable after the script has terminated.
1275
 
         This object returns the remaining time that the row may
1276
 
         exist before it is aged out. The object is initialized with
1277
 
         the value of the associated smLaunchExpireTime object and
1278
 
         ticks backwards. The entry in the smRunTable is destroyed
1279
 
         when the value reaches 0 and the smRunState has the value
1280
 
         `terminated'.
1281
 
 
1282
 
         The value of this object may be set in order to increase or
1283
 
         reduce the remaining time that the row may exist.  Setting
1284
 
         the value to 0 will destroy this entry as soon as the
1285
 
         smRunState has the value `terminated'."
1286
 
    ::= { smRunEntry 6 }
1287
 
 
1288
 
smRunExitCode OBJECT-TYPE
1289
 
    SYNTAX      INTEGER {
1290
 
                    noError(1),
1291
 
                    halted(2),
1292
 
                    lifeTimeExceeded(3),
1293
 
                    noResourcesLeft(4),
1294
 
                    languageError(5),
1295
 
                    runtimeError(6),
1296
 
                    invalidArgument(7),
1297
 
                    securityViolation(8),
1298
 
                    genericError(9)
1299
 
                }
1300
 
    MAX-ACCESS  read-only
1301
 
    STATUS      current
1302
 
    DESCRIPTION
1303
 
        "The value of this object indicates the reason why a
1304
 
         script finished execution. The smRunExitCode code may have
1305
 
         one of the following values:
1306
 
 
1307
 
         - `noError', which indicates that the script completed
1308
 
            successfully without errors;
1309
 
 
1310
 
         - `halted', which indicates that the script was halted
1311
 
            by a request from an authorized manager;
1312
 
 
1313
 
         - `lifeTimeExceeded', which indicates that the script
1314
 
            exited because a time limit was exceeded;
1315
 
 
1316
 
         - `noResourcesLeft', which indicates that the script
1317
 
            exited because it ran out of resources (e.g. memory);
1318
 
 
1319
 
         - `languageError', which indicates that the script exited
1320
 
            because of a language error (e.g. a syntax error in an
1321
 
            interpreted language);
1322
 
 
1323
 
         - `runtimeError', which indicates that the script exited
1324
 
            due to a runtime error (e.g. a division by zero);
1325
 
 
1326
 
         - `invalidArgument', which indicates that the script could
1327
 
            not be run because of invalid script arguments;
1328
 
 
1329
 
         - `securityViolation', which indicates that the script
1330
 
            exited due to a security violation;
1331
 
 
1332
 
         - `genericError', which indicates that the script exited
1333
 
            for an unspecified reason.
1334
 
 
1335
 
         If the script has not yet begun running, or is currently
1336
 
         running, the value will be `noError'."
1337
 
    DEFVAL { noError }
1338
 
    ::= { smRunEntry 7 }
1339
 
 
1340
 
smRunResult OBJECT-TYPE
1341
 
    SYNTAX      OCTET STRING
1342
 
    MAX-ACCESS  read-only
1343
 
    STATUS      current
1344
 
    DESCRIPTION
1345
 
        "The result value produced by the running script. Note that
1346
 
         the result may change while the script is executing."
1347
 
    DEFVAL { ''H }
1348
 
    ::= { smRunEntry 8 }
1349
 
 
1350
 
smRunControl OBJECT-TYPE
1351
 
    SYNTAX      INTEGER {
1352
 
                    abort(1),
1353
 
                    suspend(2),
1354
 
                    resume(3),
1355
 
                    nop(4)
1356
 
                }
1357
 
    MAX-ACCESS  read-write
1358
 
    STATUS      current
1359
 
    DESCRIPTION
1360
 
        "The value of this object indicates the desired status of the
1361
 
         script execution defined by this row.
1362
 
 
1363
 
         Setting this object to `abort' will abort execution if the
1364
 
 
1365
 
         value of smRunState is `initializing', `executing',
1366
 
         `suspending', `suspended' or `resuming'. Setting this object
1367
 
         to `abort' when the value of smRunState is `aborting' or
1368
 
         `terminated', or if the implementation can determine that
1369
 
         the attempt to abort the execution would fail, will result
1370
 
         in an inconsistentValue error.
1371
 
 
1372
 
         Setting this object to `suspend' will suspend execution
1373
 
         if the value of smRunState is `executing'. Setting this
1374
 
         object to `suspend' will cause an inconsistentValue error
1375
 
         if the value of smRunState is not `executing' or if the
1376
 
         implementation can determine that the attempt to suspend
1377
 
         the execution would fail.
1378
 
 
1379
 
         Setting this object to `resume' will resume execution
1380
 
         if the value of smRunState is `suspending' or
1381
 
         `suspended'. Setting this object to `resume' will cause an
1382
 
         inconsistentValue error if the value of smRunState is
1383
 
         not `suspended' or if the implementation can determine
1384
 
         that the attempt to resume the execution would fail.
1385
 
 
1386
 
         Setting this object to nop(4) has no effect."
1387
 
    DEFVAL { nop }
1388
 
    ::= { smRunEntry 9 }
1389
 
 
1390
 
smRunState OBJECT-TYPE
1391
 
    SYNTAX      INTEGER {
1392
 
                    initializing(1),
1393
 
                    executing(2),
1394
 
                    suspending(3),
1395
 
                    suspended(4),
1396
 
                    resuming(5),
1397
 
                    aborting(6),
1398
 
                    terminated(7)
1399
 
                }
1400
 
    MAX-ACCESS  read-only
1401
 
    STATUS      current
1402
 
    DESCRIPTION
1403
 
        "The value of this object indicates the script's execution
1404
 
         state. If the script has been invoked but has not yet
1405
 
         begun execution, the value will be `initializing'. If the
1406
 
         script is running, the value will be `executing'.
1407
 
 
1408
 
         A running script which received a request to suspend
1409
 
         execution first transitions into a temporary `suspending'
1410
 
         state.  The temporary `suspending' state changes to
1411
 
         `suspended' when the script has actually been suspended. The
1412
 
         temporary `suspending' state changes back to `executing' if
1413
 
 
1414
 
         the attempt to suspend the running script fails.
1415
 
 
1416
 
         A suspended script which received a request to resume
1417
 
         execution first transitions into a temporary `resuming'
1418
 
         state. The temporary `resuming' state changes to `running'
1419
 
         when the script has actually been resumed. The temporary
1420
 
         `resuming' state changes back to `suspended' if the attempt
1421
 
         to resume the suspended script fails.
1422
 
 
1423
 
         A script which received a request to abort execution but
1424
 
         which is still running first transitions into a temporary
1425
 
         `aborting' state.
1426
 
 
1427
 
         A script which has finished its execution is `terminated'."
1428
 
    ::= { smRunEntry 10 }
1429
 
 
1430
 
smRunError OBJECT-TYPE
1431
 
    SYNTAX      SnmpAdminString
1432
 
    MAX-ACCESS  read-only
1433
 
    STATUS      current
1434
 
    DESCRIPTION
1435
 
        "This object contains a descriptive error message if the
1436
 
         script startup or execution raised an abnormal condition.
1437
 
         An implementation must store a descriptive error message
1438
 
         in this object if the script exits with the smRunExitCode
1439
 
         `genericError'."
1440
 
    DEFVAL { ''H }
1441
 
    ::= { smRunEntry 11 }
1442
 
 
1443
 
smRunResultTime OBJECT-TYPE
1444
 
    SYNTAX      DateAndTime
1445
 
    MAX-ACCESS  read-only
1446
 
    STATUS      current
1447
 
    DESCRIPTION
1448
 
        "The date and time when the smRunResult was last updated.
1449
 
         The value '0000000000000000'H is returned if smRunResult
1450
 
         has not yet been updated after the creation of this
1451
 
         smRunTable entry."
1452
 
    DEFVAL { '0000000000000000'H }
1453
 
    ::= { smRunEntry 12 }
1454
 
 
1455
 
smRunErrorTime OBJECT-TYPE
1456
 
    SYNTAX      DateAndTime
1457
 
    MAX-ACCESS  read-only
1458
 
    STATUS      current
1459
 
    DESCRIPTION
1460
 
        "The date and time when the smRunError was last updated.
1461
 
         The value '0000000000000000'H is returned if smRunError
1462
 
 
1463
 
         has not yet been updated after the creation of this
1464
 
         smRunTable entry."
1465
 
    DEFVAL { '0000000000000000'H }
1466
 
    ::= { smRunEntry 13 }
1467
 
 
1468
 
--
1469
 
--
1470
 
 
1471
 
smTraps OBJECT IDENTIFIER ::= { smNotifications 0 }
1472
 
 
1473
 
smScriptAbort NOTIFICATION-TYPE
1474
 
    OBJECTS     { smRunExitCode, smRunEndTime, smRunError }
1475
 
    STATUS      current
1476
 
    DESCRIPTION
1477
 
        "This notification is generated whenever a running script
1478
 
         terminates with an smRunExitCode unequal to `noError'."
1479
 
    ::= { smTraps 1 }
1480
 
 
1481
 
smScriptResult NOTIFICATION-TYPE
1482
 
    OBJECTS     { smRunResult }
1483
 
    STATUS      current
1484
 
    DESCRIPTION
1485
 
        "This notification can be used by scripts to notify other
1486
 
         management applications about results produced by the
1487
 
         script.
1488
 
 
1489
 
         This notification is not automatically generated by the
1490
 
         Script MIB implementation. It is the responsibility of
1491
 
         the executing script to emit this notification where it
1492
 
         is appropriate to do so."
1493
 
    ::= { smTraps 2 }
1494
 
 
1495
 
smScriptException NOTIFICATION-TYPE
1496
 
    OBJECTS     { smRunError }
1497
 
    STATUS      current
1498
 
    DESCRIPTION
1499
 
        "This notification can be used by scripts to notify other
1500
 
         management applications about script errors.
1501
 
 
1502
 
         This notification is not automatically generated by the
1503
 
         Script MIB implementation. It is the responsibility of
1504
 
         the executing script or the runtime system to emit this
1505
 
         notification where it is appropriate to do so."
1506
 
    ::= { smTraps 3 }
1507
 
 
1508
 
 
1509
 
smCompliances OBJECT IDENTIFIER ::= { smConformance 1 }
1510
 
smGroups      OBJECT IDENTIFIER ::= { smConformance 2 }
1511
 
 
1512
 
 
1513
 
smCompliance2 MODULE-COMPLIANCE
1514
 
    STATUS      current
1515
 
    DESCRIPTION
1516
 
        "The compliance statement for SNMP entities which implement
1517
 
         the Script MIB."
1518
 
    MODULE      -- this module
1519
 
    MANDATORY-GROUPS {
1520
 
            smLanguageGroup, smScriptGroup2, smLaunchGroup2,
1521
 
            smRunGroup2, smNotificationsGroup2
1522
 
    }
1523
 
    GROUP   smCodeGroup
1524
 
    DESCRIPTION
1525
 
        "The smCodeGroup is mandatory only for those implementations
1526
 
         that support the downloading of scripts via SNMP."
1527
 
    OBJECT  smScriptSource
1528
 
    MIN-ACCESS  read-only
1529
 
    DESCRIPTION
1530
 
        "The smScriptSource object is read-only for implementations
1531
 
         that are not able to download script code from a URL."
1532
 
    OBJECT smCodeText
1533
 
    DESCRIPTION
1534
 
        "A compliant implementation need only support write access to
1535
 
         the smCodeText object only during row creation."
1536
 
    OBJECT smLaunchArgument
1537
 
    DESCRIPTION
1538
 
        "A compliant implementation has to support a minimum size
1539
 
         for smLaunchArgument of 255 octets."
1540
 
    OBJECT smRunArgument
1541
 
    DESCRIPTION
1542
 
        "A compliant implementation has to support a minimum size
1543
 
         for smRunArgument of 255 octets."
1544
 
    OBJECT smRunResult
1545
 
    DESCRIPTION
1546
 
        "A compliant implementation has to support a minimum size
1547
 
         for smRunResult of 255 octets."
1548
 
    OBJECT smRunState
1549
 
    DESCRIPTION
1550
 
        "A compliant implementation does not have to support script
1551
 
         suspension and the smRunState `suspended'. Such an
1552
 
         implementation will change into the `suspending' state
1553
 
         when the smRunControl is set to `suspend' and remain in this
1554
 
         state until smRunControl is set to `resume' or the script
1555
 
         terminates."
1556
 
    ::= { smCompliances 2 }
1557
 
 
1558
 
smLanguageGroup OBJECT-GROUP
1559
 
    OBJECTS {
1560
 
        smLangLanguage, smLangVersion,
1561
 
        smLangVendor, smLangRevision,
1562
 
        smLangDescr, smExtsnExtension,
1563
 
        smExtsnVersion, smExtsnVendor,
1564
 
        smExtsnRevision, smExtsnDescr
1565
 
    }
1566
 
    STATUS      current
1567
 
    DESCRIPTION
1568
 
        "A collection of objects providing information about the
1569
 
         capabilities of the scripting engine."
1570
 
    ::= { smGroups 1 }
1571
 
 
1572
 
smScriptGroup2 OBJECT-GROUP
1573
 
    OBJECTS {
1574
 
        smScriptDescr, smScriptLanguage,
1575
 
        smScriptSource, smScriptAdminStatus,
1576
 
        smScriptOperStatus, smScriptStorageType,
1577
 
        smScriptRowStatus, smScriptError,
1578
 
        smScriptLastChange
1579
 
    }
1580
 
    STATUS      current
1581
 
    DESCRIPTION
1582
 
        "A collection of objects providing information about
1583
 
         installed scripts."
1584
 
    ::= { smGroups 7 }
1585
 
 
1586
 
smCodeGroup OBJECT-GROUP
1587
 
    OBJECTS {
1588
 
        smCodeText, smCodeRowStatus
1589
 
    }
1590
 
    STATUS      current
1591
 
    DESCRIPTION
1592
 
        "A collection of objects used to download or modify scripts
1593
 
         by using SNMP set requests."
1594
 
    ::= { smGroups 3 }
1595
 
 
1596
 
smLaunchGroup2 OBJECT-GROUP
1597
 
    OBJECTS {
1598
 
        smLaunchScriptOwner, smLaunchScriptName,
1599
 
        smLaunchArgument, smLaunchMaxRunning,
1600
 
        smLaunchMaxCompleted, smLaunchLifeTime,
1601
 
        smLaunchExpireTime, smLaunchStart,
1602
 
        smLaunchControl, smLaunchAdminStatus,
1603
 
        smLaunchOperStatus, smLaunchRunIndexNext,
1604
 
        smLaunchStorageType, smLaunchRowStatus,
1605
 
        smLaunchError, smLaunchLastChange,
1606
 
        smLaunchRowExpireTime
1607
 
    }
1608
 
    STATUS      current
1609
 
    DESCRIPTION
1610
 
        "A collection of objects providing information about scripts
1611
 
         that can be launched."
1612
 
    ::= { smGroups 8 }
1613
 
 
1614
 
smRunGroup2 OBJECT-GROUP
1615
 
    OBJECTS {
1616
 
        smRunArgument, smRunStartTime,
1617
 
        smRunEndTime, smRunLifeTime,
1618
 
        smRunExpireTime, smRunExitCode,
1619
 
        smRunResult, smRunState,
1620
 
        smRunControl, smRunError,
1621
 
        smRunResultTime, smRunErrorTime
1622
 
    }
1623
 
    STATUS      current
1624
 
    DESCRIPTION
1625
 
        "A collection of objects providing information about running
1626
 
         scripts."
1627
 
    ::= { smGroups 9 }
1628
 
 
1629
 
smNotificationsGroup2 NOTIFICATION-GROUP
1630
 
    NOTIFICATIONS {
1631
 
        smScriptAbort,
1632
 
        smScriptResult,
1633
 
        smScriptException
1634
 
    }
1635
 
    STATUS      current
1636
 
    DESCRIPTION
1637
 
        "The notifications emitted by the Script MIB."
1638
 
    ::= { smGroups 10 }
1639
 
 
1640
 
--
1641
 
--
1642
 
 
1643
 
smCompliance MODULE-COMPLIANCE
1644
 
    STATUS      deprecated
1645
 
    DESCRIPTION
1646
 
        "The compliance statement for SNMP entities which implement
1647
 
         the Script MIB."
1648
 
    MODULE      -- this module
1649
 
    MANDATORY-GROUPS {
1650
 
 
1651
 
            smLanguageGroup, smScriptGroup, smLaunchGroup, smRunGroup
1652
 
    }
1653
 
    GROUP   smCodeGroup
1654
 
    DESCRIPTION
1655
 
        "The smCodeGroup is mandatory only for those implementations
1656
 
         that support the downloading of scripts via SNMP."
1657
 
    OBJECT  smScriptSource
1658
 
    MIN-ACCESS  read-only
1659
 
    DESCRIPTION
1660
 
        "The smScriptSource object is read-only for implementations
1661
 
         that are not able to download script code from a URL."
1662
 
    OBJECT smCodeText
1663
 
    DESCRIPTION
1664
 
        "A compliant implementation need only support write access
1665
 
         to the smCodeText object during row creation."
1666
 
    OBJECT smLaunchArgument
1667
 
    DESCRIPTION
1668
 
        "A compliant implementation has to support a minimum size
1669
 
         for smLaunchArgument of 255 octets."
1670
 
    OBJECT smRunArgument
1671
 
    DESCRIPTION
1672
 
        "A compliant implementation has to support a minimum size
1673
 
         for smRunArgument of 255 octets."
1674
 
    OBJECT smRunResult
1675
 
    DESCRIPTION
1676
 
        "A compliant implementation has to support a minimum size
1677
 
         for smRunResult of 255 octets."
1678
 
    OBJECT smRunState
1679
 
    DESCRIPTION
1680
 
        "A compliant implementation does not have to support script
1681
 
         suspension and the smRunState `suspended'. Such an
1682
 
         implementation will change into the `suspending' state
1683
 
         when the smRunControl is set to `suspend' and remain in this
1684
 
         state until smRunControl is set to `resume' or the script
1685
 
         terminates."
1686
 
    ::= { smCompliances 1 }
1687
 
 
1688
 
smScriptGroup OBJECT-GROUP
1689
 
    OBJECTS {
1690
 
        smScriptDescr, smScriptLanguage,
1691
 
        smScriptSource, smScriptAdminStatus,
1692
 
        smScriptOperStatus, smScriptStorageType,
1693
 
        smScriptRowStatus
1694
 
    }
1695
 
    STATUS      deprecated
1696
 
    DESCRIPTION
1697
 
        "A collection of objects providing information about
1698
 
         installed scripts."
1699
 
    ::= { smGroups 2 }
1700
 
 
1701
 
smLaunchGroup OBJECT-GROUP
1702
 
    OBJECTS {
1703
 
        smLaunchScriptOwner, smLaunchScriptName,
1704
 
        smLaunchArgument, smLaunchMaxRunning,
1705
 
        smLaunchMaxCompleted, smLaunchLifeTime,
1706
 
        smLaunchExpireTime, smLaunchStart,
1707
 
        smLaunchControl, smLaunchAdminStatus,
1708
 
        smLaunchOperStatus, smLaunchRunIndexNext,
1709
 
        smLaunchStorageType, smLaunchRowStatus
1710
 
    }
1711
 
    STATUS      deprecated
1712
 
    DESCRIPTION
1713
 
        "A collection of objects providing information about scripts
1714
 
         that can be launched."
1715
 
    ::= { smGroups 4 }
1716
 
 
1717
 
smRunGroup OBJECT-GROUP
1718
 
    OBJECTS {
1719
 
        smRunArgument, smRunStartTime,
1720
 
        smRunEndTime, smRunLifeTime,
1721
 
        smRunExpireTime, smRunExitCode,
1722
 
        smRunResult, smRunState,
1723
 
        smRunControl, smRunError
1724
 
    }
1725
 
    STATUS      deprecated
1726
 
    DESCRIPTION
1727
 
        "A collection of objects providing information about running
1728
 
         scripts."
1729
 
    ::= { smGroups 5 }
1730
 
 
1731
 
smNotificationsGroup NOTIFICATION-GROUP
1732
 
    NOTIFICATIONS {
1733
 
        smScriptAbort,
1734
 
        smScriptResult
1735
 
    }
1736
 
    STATUS      deprecated
1737
 
    DESCRIPTION
1738
 
        "The notifications emitted by the Script MIB."
1739
 
    ::= { smGroups 6 }
1740
 
 
1741
 
END