smRunLifeTime

  • 1.3.6.1.2.1.64.1.4.2.1.5
  • Access readwrite
  • Type TimeInterval
  • Unit centi-seconds

This object specifies how long the script can execute. This object returns the remaining time that the script may run. The object is initialized with the value of the associated smLaunchLifeTime object and ticks backwards. The script is aborted immediately when the value reaches 0. The value of this object may be set in order to increase or reduce the remaining time that the script may run. Setting this value to 0 will abort script execution immediately, and, if the value of smRunExpireTime is also 0, will remove this entry from the smRunTable once it has terminated. If smRunLifeTime is set to its maximum value (2147483647), either by a set operation or by its initialization from the smLaunchLifeTime object, then it will not tick backwards. A running script with a maximum smRunLifeTime value will thus never be terminated with a `lifeTimeExceeded' exit code. The value of smRunLifeTime reflects the real-time execution time as seen by the outside world. The value of this object will always be 0 for a script that finished execution, that is smRunState has the value `terminated'. The value of smRunLifeTime does not change while a script is suspended, that is smRunState has the value `suspended'. Note that this does not affect set operations. It is legal to modify smRunLifeTime via set operations while a script is suspended.

Table columns

13 objects
Oid Name Access Type
1.3.6.1.2.1.64.1.4.2.1.1 smRunIndex noaccess Unknown
1.3.6.1.2.1.64.1.4.2.1.2 smRunArgument readonly OctetString
1.3.6.1.2.1.64.1.4.2.1.3 smRunStartTime readonly DateAndTime
1.3.6.1.2.1.64.1.4.2.1.4 smRunEndTime readonly DateAndTime
1.3.6.1.2.1.64.1.4.2.1.5 smRunLifeTime readwrite TimeInterval
1.3.6.1.2.1.64.1.4.2.1.6 smRunExpireTime readwrite TimeInterval
1.3.6.1.2.1.64.1.4.2.1.7 smRunExitCode readonly noError(1), halted(2), lifeTimeExceeded(3), noResourcesLeft(4), languageError(5), runtimeError(6), invalidArgument(7), securityViolation(8), genericError(9)
1.3.6.1.2.1.64.1.4.2.1.8 smRunResult readonly OctetString
1.3.6.1.2.1.64.1.4.2.1.9 smRunControl readwrite abort(1), suspend(2), resume(3), nop(4)
1.3.6.1.2.1.64.1.4.2.1.10 smRunState readonly initializing(1), executing(2), suspending(3), suspended(4), resuming(5), aborting(6), terminated(7)
1.3.6.1.2.1.64.1.4.2.1.11 smRunError readonly SnmpAdminString
1.3.6.1.2.1.64.1.4.2.1.12 smRunResultTime readonly DateAndTime
1.3.6.1.2.1.64.1.4.2.1.13 smRunErrorTime readonly DateAndTime

Used by conformance groups

2 objects
  • 1.3.6.1.2.1.64.3.2.5 smRunGroup
  • 1.3.6.1.2.1.64.3.2.9 smRunGroup2

Comments