smLaunchStart
DISMAN-SCRIPT-MIB ·
.1.3.6.1.2.1.64.1.4.1.1.10
Object
column
r/w
Integer32
This object is used to start the execution of scripts.
When retrieved, the value will be the value of smRunIndex
for the last script that started execution by manipulating
this object. The value will be zero if no script started
execution yet.
A script is started by setting this object to an unused
smRunIndex value. A new row in the smRunTable will be
created which is indexed by the value supplied by the
set-request in addition to the value of smLaunchOwner and
smLaunchName. An unused value can be obtained by reading
the smLaunchRunIndexNext object.
Setting this object to the special value 0 will start
the script with a self-generated smRunIndex value. The
consequence is that the script invoker has no reliable
way to determine the smRunIndex value for this script
invocation and that the invoker has therefore no way
to obtain the results from this script invocation. The
special value 0 is however useful for scheduled script
invocations.
If this object is set, the following checks must be
performed:
1) The value of the smLaunchOperStatus object in this
entry of the smLaunchTable must be `enabled'.
2) The values of smLaunchScriptOwner and
smLaunchScriptName of this row must identify an
existing entry in the smScriptTable.
3) The value of smScriptOperStatus of this entry must
be `enabled'.
4) The principal performing the set operation must have
read access to the script. This must be checked by
calling the isAccessAllowed abstract service interface
defined in RFC 2271 on the row in the smScriptTable
identified by smLaunchScriptOwner and smLaunchScriptName.
The isAccessAllowed abstract service interface must be
called on all columnar objects in the smScriptTable with
a MAX-ACCESS value different than `not-accessible'. The
test fails as soon as a call indicates that access is
not allowed.
5) If the value provided by the set operation is not 0,
a check must be made that the value is currently not
in use. Otherwise, if the value provided by the set
operation is 0, a suitable unused value must be
generated.
6) The number of currently executing scripts invoked
from this smLaunchTable entry must be less than
smLaunchMaxRunning.
Attempts to start a script will fail with an
inconsistentValue error if one of the checks described
above fails.
Otherwise, if all checks have been passed, a new entry
in the smRunTable will be created indexed by smLaunchOwner,
smLaunchName and the new value for smRunIndex. The value
of smLaunchArgument will be copied into smRunArgument,
the value of smLaunchLifeTime will be copied to
smRunLifeTime, and the value of smLaunchExpireTime
will be copied to smRunExpireTime.
The smRunStartTime will be set to the current time and
the smRunState will be set to `initializing' before the
script execution is initiated in the appropriate runtime
system.
Note that the data type and the range of this object must
be consistent with the smRunIndex object. Since this
object might be written from the scheduling MIB, the
data type Integer32 rather than Unsigned32 is used.
Context
- MIB
- DISMAN-SCRIPT-MIB
- OID
.1.3.6.1.2.1.64.1.4.1.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- smLaunchEntry
- Table
- smLaunchTable
- Siblings
- 18
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647
Related Objects
Sibling Objects
| Object | Type | Syntax | OID |
|---|---|---|---|
| smLaunchOwner The manager who owns this row in the smLaunchTable. Every
instance of a running script started from a particular entry
in the smLaunchTable (i.e. entries in the smRunTable) will
b… | column | OctetString | .1.3.6.1.2.1.64.1.4.1.1.1 |
| smLaunchControl This object is used to request a state change for all
running scripts in the smRunTable that were started from
this row in the smLaunchTable.
Setting this object to… | column | Enumeration | .1.3.6.1.2.1.64.1.4.1.1.11 |
| smLaunchAdminStatus The value of this object indicates the desired status of
this launch table entry. The values enabled(1) and
autostart(3) both indicate that the launch table entry
s… | column | Enumeration | .1.3.6.1.2.1.64.1.4.1.1.12 |
| smLaunchOperStatus The value of this object indicates the actual status of
this launch table entry. The smLaunchOperStatus object
may have the following values:
- `enabled' indicates… | column | Enumeration | .1.3.6.1.2.1.64.1.4.1.1.13 |
| smLaunchRunIndexNext This variable is used for creating rows in the smRunTable.
The value of this variable is a currently unused value
for smRunIndex, which can be written into the smLaunchStart
objec… | column | Integer32 | .1.3.6.1.2.1.64.1.4.1.1.14 |
| smLaunchStorageType This object defines if this row is kept in volatile storage
and lost upon reboot or if this row is backed up by stable
storage.
The value of smLaunchStorageType is … | column | SNMPv2-TCStorageType | .1.3.6.1.2.1.64.1.4.1.1.15 |
| smLaunchRowStatus A control that allows entries to be added and removed from
this table.
Attempts to `destroy' a row or to set a row `notInService'
while the smLaunchOperStatus is `e… | column | SNMPv2-TCRowStatus | .1.3.6.1.2.1.64.1.4.1.1.16 |
| smLaunchError This object contains a descriptive error message if an
attempt to launch a script fails. Implementations must reset
the error message to a zero-length string when a new attempt
to… | column | SNMP-FRAMEWORK-MIBSnmpAdminString | .1.3.6.1.2.1.64.1.4.1.1.17 |
| smLaunchLastChange The date and time when this launch table entry was last
modified. The value '0000000000000000'H is returned if
the launch table entry has not yet been modified.
Not… | column | SNMPv2-TCDateAndTime | .1.3.6.1.2.1.64.1.4.1.1.18 |
| smLaunchRowExpireTime The value of this object specifies how long this row remains
in the `enabled' or `disabled' operational state. The value
reported by this object ticks backwards. When the value
re… | column | centi-seconds SNMPv2-TCTimeInterval | .1.3.6.1.2.1.64.1.4.1.1.19 |
| smLaunchName The locally-unique, administratively assigned name for this
launch table entry. This object allows an smLaunchOwner to
have multiple entries in the smLaunchTable. The smLaunchName… | column | OctetString | .1.3.6.1.2.1.64.1.4.1.1.2 |
| smLaunchScriptOwner The value of this object in combination with the value of
smLaunchScriptName identifies the script that can be
launched from this smLaunchTable entry. Attempts to write
this objec… | column | OctetString | .1.3.6.1.2.1.64.1.4.1.1.3 |
| smLaunchScriptName The value of this object in combination with the value of
the smLaunchScriptOwner identifies the script that can be
launched from this smLaunchTable entry. The zero-length
string … | column | OctetString | .1.3.6.1.2.1.64.1.4.1.1.4 |
| smLaunchArgument The argument supplied to the script. When a script is
invoked, the value of this object is used to initialize
the smRunArgument object. | column | OctetString | .1.3.6.1.2.1.64.1.4.1.1.5 |
| smLaunchMaxRunning The maximum number of concurrently running scripts that may
be invoked from this entry in the smLaunchTable. Lowering
the current value of this object does not affect any scripts
… | column | Unsigned32 | .1.3.6.1.2.1.64.1.4.1.1.6 |
| smLaunchMaxCompleted The maximum number of finished scripts invoked from this
entry in the smLaunchTable allowed to be retained in the
smRunTable. Whenever the value of this object is changed
and when… | column | Unsigned32 | .1.3.6.1.2.1.64.1.4.1.1.7 |
| smLaunchLifeTime The default maximum amount of time a script launched
from this entry may run. The value of this object is used
to initialize the smRunLifeTime object when a script is
launched. Ch… | column | centi-seconds SNMPv2-TCTimeInterval | .1.3.6.1.2.1.64.1.4.1.1.8 |
| smLaunchExpireTime The default maximum amount of time information about a
script launched from this entry is kept in the smRunTable
after the script has completed execution. The value of
this objec… | column | centi-seconds SNMPv2-TCTimeInterval | .1.3.6.1.2.1.64.1.4.1.1.9 |