DISMAN-SCRIPT-MIB :: smRunLifeTime

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › DISMAN-SCRIPT-MIB › smRunLifeTime

smRunLifeTime

Module: DISMAN-SCRIPT-MIB

OID (symbolic): DISMAN-SCRIPT-MIB::smRunLifeTime

OID (numeric): 1.3.6.1.2.1.64.1.4.2.1.5

Node type: OBJECT-TYPE

Type: TimeInterval

Access: read-write

Description: 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.

What is smRunLifeTime?

Shows, and lets an admin adjust, the remaining centi-seconds this specific running script instance is allowed to keep executing before being force-aborted; setting it to 0 kills the script immediately, and to its maximum value (2147483647) removes the time limit for this run.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.64.1.4.2.1.5
snmpwalk -v2c -c public <target> DISMAN-SCRIPT-MIB::smRunLifeTime

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.64.1.4.2.1.5.1
snmpget -v2c -c public <target> DISMAN-SCRIPT-MIB::smRunLifeTime.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.2.1.64.1.4.2.1.5.1 s <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> smRunLifeTime.1

Start monitoring SNMP agent supporting DISMAN script delegation (vendor-neutral) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DISMAN-SCRIPT-MIB::smRunLifeTime OID value, configure state conditions and alerts, and monitor any SNMP agent supporting DISMAN script delegation (vendor-neutral) from a single console.

OID Breakdown

Upper-level ancestors (6 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAPERTUS-NPG-MIB
1.3.6.1.2.1mib_2AXON-MIB
Numeric OIDNameModule
1.3.6.1.2.1.64scriptMIBDISMAN-SCRIPT-MIB
1.3.6.1.2.1.64.1smObjectsDISMAN-SCRIPT-MIB
1.3.6.1.2.1.64.1.4smRunObjectsDISMAN-SCRIPT-MIB
1.3.6.1.2.1.64.1.4.2smRunTableDISMAN-SCRIPT-MIB
1.3.6.1.2.1.64.1.4.2.1smRunEntryDISMAN-SCRIPT-MIB
1.3.6.1.2.1.64.1.4.2.1.5smRunLifeTimeDISMAN-SCRIPT-MIB