A3COM0048-EMBEDDED-SCRIPTS

File: A3COM0048-EMBEDDED-SCRIPTS.mib (14079 bytes)

Imported modules

A3COM0004-GENERIC RFC1213-MIB RMON-MIB
RFC-1212

Imported symbols

rmonExtensions DisplayString OwnerString
EntryStatus TimeTicks OBJECT-TYPE

Defined Types

CmdMacroEntry  
SEQUENCE    
  cmdMacroIndex INTEGER
  cmdMacroName DisplayString Size(0..10)
  cmdMacroString DisplayString Size(0..255)
  cmdMacroOwner OwnerString
  cmdMacroStatus EntryStatus

CmdExecEntry  
SEQUENCE    
  cmdExecUnit INTEGER
  cmdExecIndex INTEGER
  cmdExecProcessStatus INTEGER
  cmdExecStartTime TimeTicks
  cmdExecLastExecTime TimeTicks
  cmdExecSystemTime TimeTicks
  cmdExecStatement INTEGER
  cmdExecOperation INTEGER
  cmdExecLastError INTEGER
  cmdExecOwner OwnerString
  cmdExecStatus EntryStatus
  cmdExecMacroName DisplayString

Defined Values

command 1.3.6.1.4.1.43.10.25.5
OBJECT IDENTIFIER    

cmdMacroTable 1.3.6.1.4.1.43.10.25.5.1
Extended RMON table that provides a macro execution facility on the remote unit.
OBJECT-TYPE    
  SEQUENCE OF  
    CmdMacroEntry

cmdMacroEntry 1.3.6.1.4.1.43.10.25.5.1.1
Tok_String
OBJECT-TYPE    
  CmdMacroEntry  

cmdMacroIndex 1.3.6.1.4.1.43.10.25.5.1.1.1
Standard RMON index column.
OBJECT-TYPE    
  INTEGER 0..65535  

cmdMacroName 1.3.6.1.4.1.43.10.25.5.1.1.2
A short text name for this macro. This name can be referenced in the cmdTable to execute a script.
OBJECT-TYPE    
  DisplayString Size(0..10)  

cmdMacroString 1.3.6.1.4.1.43.10.25.5.1.1.3
Text macro that is represented by this control entry.
OBJECT-TYPE    
  DisplayString Size(0..255)  

cmdMacroOwner 1.3.6.1.4.1.43.10.25.5.1.1.4
RMON Owner of this process.
OBJECT-TYPE    
  OwnerString  

cmdMacroStatus 1.3.6.1.4.1.43.10.25.5.1.1.5
Rmon RowStatus for this macro definition.
OBJECT-TYPE    
  EntryStatus  

cmdExecTable 1.3.6.1.4.1.43.10.25.5.2
Extended RMON table that provides a script execution facility on the remote unit. Note that scripts executed by this table do not have to reside in the macro table. A script is identified by its 'cmdExecMacroName'. The agent will search all available script sources for that named script. The script _may_ be found in the macro table but this is not mandated.
OBJECT-TYPE    
  SEQUENCE OF  
    CmdExecEntry

cmdExecEntry 1.3.6.1.4.1.43.10.25.5.2.1
Tok_String
OBJECT-TYPE    
  CmdExecEntry  

cmdExecUnit 1.3.6.1.4.1.43.10.25.5.2.1.1
Identifies one of a number of different 'execution units'. Genrally each of these is a separate processor in a distributed environment.
OBJECT-TYPE    
  INTEGER 0..65535  

cmdExecIndex 1.3.6.1.4.1.43.10.25.5.2.1.2
Standard RMON index column.
OBJECT-TYPE    
  INTEGER 0..65535  

cmdExecProcessStatus 1.3.6.1.4.1.43.10.25.5.2.1.3
The current status of this process. The various possible values are described as follows: inactive : This process is not currently executing any script. This is the default state after creating a row in the table. running: The process is currently executing a script, and that script is not currently blocked by any internal asynchronous activity. 'running' actually means that this process is capable of being scheduled and is in a 'ready to run' scheduling queue. suspended: The script being executed by this process is currently blocked waiting for the completion of some asynchronous activity. dying: The script that was being executed by this process has completed and is waiting to be tidied up. When the tidyup has been completed this process will either automatically be destroyed or will enter the 'inactive' state. paused: The script being executed has been manually stopped, generally for debug purposes. A script can enter this state either voluntarily be requesting the system to stop it (ie similar to a breakpoint) or can be paused by writing to the cmdExecOperation variable. searching: When a process is given a script to execute the engine must first find that script. The script is identified by name (spe cified in cmdExecMacroName). The agent must search all possible sources for the script, which may take some time. The MIB allows the script to be specified by any name and so some implementations may allow the name to identify a file on some remote file system, for example by using a URL. While the agent searches for the script the process enters the 'searching' state. If the agent locates the script it will enter the 'running' state. If the script cannot be located then the process re-enters the 'inactive' state.
OBJECT-TYPE    
  INTEGER inactive(1), running(2), suspended(3), dying(4), paused(5), searching(6)  

cmdExecStartTime 1.3.6.1.4.1.43.10.25.5.2.1.4
sysUpTime when this process was started.
OBJECT-TYPE    
  TimeTicks  

cmdExecLastExecTime 1.3.6.1.4.1.43.10.25.5.2.1.5
sysUpTime when this process last used any processor time.
OBJECT-TYPE    
  TimeTicks  

cmdExecSystemTime 1.3.6.1.4.1.43.10.25.5.2.1.6
Number of time-ticks used by this process.
OBJECT-TYPE    
  TimeTicks  

cmdExecStatement 1.3.6.1.4.1.43.10.25.5.2.1.8
Generally scripts are broken into statements, this is just about true for any scripting mechanism. The statement number is generally useful for debugging. This object reports the current statement that will be executed _next_.
OBJECT-TYPE    
  INTEGER 0..65535  

cmdExecOperation 1.3.6.1.4.1.43.10.25.5.2.1.9
This object can be set to cause some action to be applied to a executing process. Note that this variable can only be set if the row- status is valid. Operations are: none - Value returned for _any_ read operation. execute - If the operational state of the macro is 'inactive' then this command will attempt to execute the script named in cmdMacroName. If the process is in any other state this command will be rejected. suspend - This command will suspend the process at the end of the current statement. Command is rejected if the macro is inactive. continue - If a macro is suspended due to a 'suspend' command this will cause it to continue execution from its current point. step - Execute the next statement and then stop. kill - Stop this process from running and put it in the inactive state. Note that this deletes all resource associated with the executing script, but not the process itself. abort - If the current macro status is 'suspended' Will cause it to terminate at its current point. next - Execute the next statement, stepping over child processes.
OBJECT-TYPE    
  INTEGER none(1), execute(2), suspend(3), continue(4), step(5), kill(6), abort(7), next(8)  

cmdExecLastError 1.3.6.1.4.1.43.10.25.5.2.1.10
Last error detected by this process or the script executing within the process.
OBJECT-TYPE    
  INTEGER none(1), syntax(2), noResource(3), illegalAssignment(4), blockMismatch(5), badFnParams(6), stackOverflow(7), accessViolation(8), typeMismatch(9), nestTooDeep(10), runTimeError(11), noSuchVar(12), outOfRange(13), illegalLeftVal(14), brokenRemoteProc(15), sourceNotFound(16), missingSemiColon(17), missingEndList(18), missingEndOid(19), missingEndBracket(20), missingEndSubscript(21), missingEndParams(22), invalidQuoteStr(23), invalidGlobalName(24), namedVarNotSupported(25), processKilled(26), childDiedBadly(27), noTargetProcess(28), invalidBinaryImage(29), divideByZero(30), parentDiedPadly(31), nestedErrorHandler(32), rpcTargetDoesnotExist(33), rpcTargetNotSupported(34), assertionFailed(35), missingControlExpression(36)  

cmdExecOwner 1.3.6.1.4.1.43.10.25.5.2.1.11
RMON Owner of this process.
OBJECT-TYPE    
  OwnerString  

cmdExecStatus 1.3.6.1.4.1.43.10.25.5.2.1.12
Rmon RowStatus for this process.
OBJECT-TYPE    
  EntryStatus  

cmdExecMacroName 1.3.6.1.4.1.43.10.25.5.2.1.13
Name of the script to execute in the process. The script can reside in either the macro table in this MIB module, or in some other internal script repository.
OBJECT-TYPE    
  DisplayString