All MIBs › SEE-MIB › seeTaskControlRunMode
seeTaskControlRunMode
Module: SEE-MIB
OID (symbolic): SEE-MIB::seeTaskControlRunMode
OID (numeric): 1.3.6.1.4.1.99999.61.1.3.1.1.6
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-create
Description: Controls the manner in which the script associated with this task is executed. There are four run modes defined, which allow some level of control over log messages, script debugging, and system access.
The value 'normalRunMode' identifies a management task running in the 'normal' operational mode, in which system library function logging is disabled. Note that a script may emit logging messages via library functions, regardless of the value of this object. This mode only disables trace logging of system activity.
The value 'traceRunMode' identifies a management task running in the 'trace' operational mode, in which system activity, such as calls to library functions, are logged in the seeLogControlTable.
The value 'debugRunMode' identifies a management task running in the 'debug' operational mode, in which trace logging is active, except no read-write library functions are actually invoked. This allows an administrator some ability to determine the impact of a new script on the existing environment, without risking system disruption. Note that scripts which modify and then inspect system behavior may behave unexpectedly in this 'no-op' run mode.
The value 'validateMode' identifies a management task that is installed in validation mode. Instead of executing the associated script, the agent will examine the entire script for correctness. Problems such as syntax errors and unresolved function names should be detected in this mode. Note that an implementation cannot completely validate OID Alias and environment variable identifier usage, since these identifier tokens can be installed dynamically, by scripts or management applications.
After the validation check is done, the seeTaskControlLastResCode, seeTaskControlLastSEIndex, and seeTaskControlLastSEOffset objects will be set to non-zero values if any problems are found. The agent will also output error messages to the seeLogTable for the script.
This object may not be modified if the associated seeTaskControlStatus object is equal to active.
What is seeTaskControlRunMode?
This sets how this task's script executes: normalRunMode(1) with tracing off, traceRunMode(2) logging system library calls, debugRunMode(3) which traces but skips actually invoking read-write library functions (a safe dry-run), or validateMode(4) which checks the whole script for syntax/reference errors instead of running it. Admins use debugRunMode to test a new script's logic without risking real configuration changes, and validateMode to pre-check a script before deploying it live.
OID Breakdown
Upper-level ancestors (7 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.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.99999 | iec624392 | IEC-62439-2-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.99999.61 | seeMIB | SEE-MIB |
| 1.3.6.1.4.1.99999.61.1 | seeMibObjects | SEE-MIB |
| 1.3.6.1.4.1.99999.61.1.3 | seeExecObjects | SEE-MIB |
| 1.3.6.1.4.1.99999.61.1.3.1 | seeTaskControlTable | SEE-MIB |
| 1.3.6.1.4.1.99999.61.1.3.1.1 | seeTaskControlEntry | SEE-MIB |
| 1.3.6.1.4.1.99999.61.1.3.1.1.6 | seeTaskControlRunMode | SEE-MIB |