All MIBs › DISMAN-SCRIPT-MIB › smRunControl
smRunControl
Module: DISMAN-SCRIPT-MIB
OID (symbolic): DISMAN-SCRIPT-MIB::smRunControl
OID (numeric): 1.3.6.1.2.1.64.1.4.2.1.9
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The value of this object indicates the desired status of the script execution defined by this row.
Setting this object to `abort' will abort execution if the
value of smRunState is `initializing', `executing', `suspending', `suspended' or `resuming'. Setting this object to `abort' when the value of smRunState is `aborting' or `terminated', or if the implementation can determine that the attempt to abort the execution would fail, will result in an inconsistentValue error.
Setting this object to `suspend' will suspend execution if the value of smRunState is `executing'. Setting this object to `suspend' will cause an inconsistentValue error if the value of smRunState is not `executing' or if the implementation can determine that the attempt to suspend the execution would fail.
Setting this object to `resume' will resume execution if the value of smRunState is `suspending' or `suspended'. Setting this object to `resume' will cause an inconsistentValue error if the value of smRunState is not `suspended' or if the implementation can determine that the attempt to resume the execution would fail.
Setting this object to nop(4) has no effect.
What is smRunControl?
Lets an admin abort, suspend, or resume this one specific running script instance - for example, setting it to suspend only succeeds while smRunState is executing, and resume only while suspended.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.64.1.4.2.1.9 snmpwalk -v2c -c public <target> DISMAN-SCRIPT-MIB::smRunControl
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.64.1.4.2.1.9.1 snmpget -v2c -c public <target> DISMAN-SCRIPT-MIB::smRunControl.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.64.1.4.2.1.9.1 i <value>
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::smRunControl 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.9 | smRunControl | DISMAN-SCRIPT-MIB |