smRunExitCode
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'.
Details
| 1 | noError |
| 2 | halted |
| 3 | lifeTimeExceeded |
| 4 | noResourcesLeft |
| 5 | languageError |
| 6 | runtimeError |
| 7 | invalidArgument |
| 8 | securityViolation |
| 9 | genericError |
Table columns
13 objects| Oid | Name | Access | Type |
|---|---|---|---|
| 1.3.6.1.2.1.64.1.4.2.1.1 | smRunIndex | noaccess | Unknown |
| 1.3.6.1.2.1.64.1.4.2.1.2 | smRunArgument | readonly | OctetString |
| 1.3.6.1.2.1.64.1.4.2.1.3 | smRunStartTime | readonly | DateAndTime |
| 1.3.6.1.2.1.64.1.4.2.1.4 | smRunEndTime | readonly | DateAndTime |
| 1.3.6.1.2.1.64.1.4.2.1.5 | smRunLifeTime | readwrite | TimeInterval |
| 1.3.6.1.2.1.64.1.4.2.1.6 | smRunExpireTime | readwrite | TimeInterval |
| 1.3.6.1.2.1.64.1.4.2.1.7 | smRunExitCode | readonly | noError(1), halted(2), lifeTimeExceeded(3), noResourcesLeft(4), languageError(5), runtimeError(6), invalidArgument(7), securityViolation(8), genericError(9) |
| 1.3.6.1.2.1.64.1.4.2.1.8 | smRunResult | readonly | OctetString |
| 1.3.6.1.2.1.64.1.4.2.1.9 | smRunControl | readwrite | abort(1), suspend(2), resume(3), nop(4) |
| 1.3.6.1.2.1.64.1.4.2.1.10 | smRunState | readonly | initializing(1), executing(2), suspending(3), suspended(4), resuming(5), aborting(6), terminated(7) |
| 1.3.6.1.2.1.64.1.4.2.1.11 | smRunError | readonly | SnmpAdminString |
| 1.3.6.1.2.1.64.1.4.2.1.12 | smRunResultTime | readonly | DateAndTime |
| 1.3.6.1.2.1.64.1.4.2.1.13 | smRunErrorTime | readonly | DateAndTime |
Used by notifications
1 objects- 1.3.6.1.2.1.64.2.0.1 smScriptAbort
Used by conformance groups
2 objects- 1.3.6.1.2.1.64.3.2.5 smRunGroup
- 1.3.6.1.2.1.64.3.2.9 smRunGroup2