DISMAN-SCRIPT-MIB :: smRunExitCode

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › DISMAN-SCRIPT-MIB › smRunExitCode

smRunExitCode

Module: DISMAN-SCRIPT-MIB

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

OID (numeric): 1.3.6.1.2.1.64.1.4.2.1.7

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: The value of this object indicates the reason why a script finished execution. The smRunExitCode code may have one of the following values:

- `noError', which indicates that the script completed successfully without errors;

- `halted', which indicates that the script was halted by a request from an authorized manager;

- `lifeTimeExceeded', which indicates that the script exited because a time limit was exceeded;

- `noResourcesLeft', which indicates that the script exited because it ran out of resources (e.g. memory);

- `languageError', which indicates that the script exited because of a language error (e.g. a syntax error in an interpreted language);

- `runtimeError', which indicates that the script exited due to a runtime error (e.g. a division by zero);

- `invalidArgument', which indicates that the script could not be run because of invalid script arguments;

- `securityViolation', which indicates that the script exited due to a security violation;

- `genericError', which indicates that the script exited for an unspecified reason.

If the script has not yet begun running, or is currently running, the value will be `noError'.

What is smRunExitCode?

Reports why a script instance stopped running - noError for a clean finish, or a specific failure reason such as lifeTimeExceeded, languageError, runtimeError, invalidArgument, or securityViolation - which an admin checks first when a script didn't produce the expected smRunResult.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.64.1.4.2.1.7
snmpwalk -v2c -c public <target> DISMAN-SCRIPT-MIB::smRunExitCode

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.64.1.4.2.1.7.1
snmpget -v2c -c public <target> DISMAN-SCRIPT-MIB::smRunExitCode.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::smRunExitCode 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.7smRunExitCodeDISMAN-SCRIPT-MIB