All MIBs › DISMAN-SCRIPT-MIB › smRunState
smRunState
Module: DISMAN-SCRIPT-MIB
OID (symbolic): DISMAN-SCRIPT-MIB::smRunState
OID (numeric): 1.3.6.1.2.1.64.1.4.2.1.10
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: The value of this object indicates the script's execution state. If the script has been invoked but has not yet begun execution, the value will be `initializing'. If the script is running, the value will be `executing'.
A running script which received a request to suspend execution first transitions into a temporary `suspending' state. The temporary `suspending' state changes to `suspended' when the script has actually been suspended. The temporary `suspending' state changes back to `executing' if
the attempt to suspend the running script fails.
A suspended script which received a request to resume execution first transitions into a temporary `resuming' state. The temporary `resuming' state changes to `running' when the script has actually been resumed. The temporary `resuming' state changes back to `suspended' if the attempt to resume the suspended script fails.
A script which received a request to abort execution but which is still running first transitions into a temporary `aborting' state.
A script which has finished its execution is `terminated'.
What is smRunState?
Tracks a script instance's execution lifecycle - initializing, executing, suspending or suspended, resuming, aborting, or terminated - so an admin can tell at a glance whether a launched script is still running, paused, or done.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.64.1.4.2.1.10 snmpwalk -v2c -c public <target> DISMAN-SCRIPT-MIB::smRunState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.64.1.4.2.1.10.1 snmpget -v2c -c public <target> DISMAN-SCRIPT-MIB::smRunState.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::smRunState 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 OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | APERTUS-NPG-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.64 | scriptMIB | DISMAN-SCRIPT-MIB |
| 1.3.6.1.2.1.64.1 | smObjects | DISMAN-SCRIPT-MIB |
| 1.3.6.1.2.1.64.1.4 | smRunObjects | DISMAN-SCRIPT-MIB |
| 1.3.6.1.2.1.64.1.4.2 | smRunTable | DISMAN-SCRIPT-MIB |
| 1.3.6.1.2.1.64.1.4.2.1 | smRunEntry | DISMAN-SCRIPT-MIB |
| 1.3.6.1.2.1.64.1.4.2.1.10 | smRunState | DISMAN-SCRIPT-MIB |