⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc2592.mib

📁 wm PNE 3.3 source code, running at more than vxworks6.x version.
💻 MIB
📖 第 1 页 / 共 4 页
字号:
           "The argument supplied to the script. When a script is            invoked, the value of this object is used to initialize            the smRunArgument object."       DEFVAL { ''H }       ::= { smLaunchEntry 5 }   smLaunchMaxRunning OBJECT-TYPE       SYNTAX      Unsigned32 (1..4294967295)       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "The maximum number of concurrently running scripts that may            be invoked from this entry in the smLaunchTable. Lowering the            current value of this object does not affect any scripts that            are already executing."       DEFVAL { 1 }       ::= { smLaunchEntry 6 }   smLaunchMaxCompleted OBJECT-TYPE       SYNTAX      Unsigned32 (1..4294967295)       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "The maximum number of finished scripts invoked from this            entry in the smLaunchTable allowed to be retained in the            smRunTable. Whenever the value of this object is changed            and whenever a script terminates, entries in the smRunTable            are deleted if necessary until the number of completed            scripts is smaller than the value of this object. Scripts            whose smRunEndTime value indicates the oldest completion            time are deleted first."       DEFVAL { 1 }       ::= { smLaunchEntry 7 }   smLaunchLifeTime OBJECT-TYPE       SYNTAX      TimeInterval       UNITS       "centi-seconds"       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "The default maximum amount of time a script launched            from this entry may run. The value of this object is used            to initialize the smRunLifeTime object when a script is            launched. Changing the value of an smLaunchLifeTime            instance does not affect scripts previously launched from            this entry."       DEFVAL { 360000 }       ::= { smLaunchEntry 8 }   smLaunchExpireTime OBJECT-TYPE       SYNTAX      TimeInterval       UNITS       "centi-seconds"       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "The default maximum amount of time information about a            script launched from this entry is kept in the smRunTable            after the script has completed execution.  The value of            this object is used to initialize the smRunExpireTime            object when a script is launched. Changing the value of an            smLaunchExpireTime instance does not affect scripts            previously launched from this entry."       DEFVAL { 360000 }       ::= { smLaunchEntry 9 }   smLaunchStart OBJECT-TYPE       SYNTAX      Integer32 (0..2147483647)       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "This object is used to start the execution of scripts.            When retrieved, the value will be the value of smRunIndex            for the last script that started execution by manipulating            this object. The value will be zero if no script started            execution yet.            A script is started by setting this object to an unused            smRunIndex value. A new row in the smRunTable will be            created which is indexed by the value supplied by the            set-request in addition to the value of smLaunchOwner and            smLaunchName. An unused value can be obtained by reading            the smLaunchRunIndexNext object.            Setting this object to the special value 0 will start            the script with a self-generated smRunIndex value. The            consequence is that the script invoker has no reliable            way to determine the smRunIndex value for this script            invocation and that the invoker has therefore no way            to obtain the results from this script invocation. The            special value 0 is however useful for scheduled script            invocations.            If this object is set, the following checks must be            performed:            1) The value of the smLaunchOperStatus object in this               entry of the smLaunchTable must be `enabled'.            2) The values of smLaunchScriptOwner and               smLaunchScriptName of this row must identify an               existing entry in the smScriptTable.            3) The value of smScriptOperStatus of this entry must               be `enabled'.            4) The principal performing the set operation must have               read access to the script. This must be checked by               calling the isAccessAllowed abstract service interface               defined in RFC 2271 on the row in the smScriptTable               identified by smLaunchScriptOwner and smLaunchScriptName.               The isAccessAllowed abstract service interface must be               called on all columnar objects in the smScriptTable with               a MAX-ACCESS value different than `not-accessible'. The               test fails as soon as a call indicates that access is               not allowed.            5) If the value provided by the set operation is not 0,               a check must be made that the value is currently not               in use. Otherwise, if the value provided by the set               operation is 0, a suitable unused value must be               generated.            6) The number of currently executing scripts invoked               from this smLaunchTable entry must be less than               smLaunchMaxRunning.            Attempts to start a script will fail with an            inconsistentValue error if one of the checks described            above fails.            Otherwise, if all checks have been passed, a new entry            in the smRunTable will be created indexed by smLaunchOwner,            smLaunchName and the new value for smRunIndex. The value            of smLaunchArgument will be copied into smRunArgument,            the value of smLaunchLifeTime will be copied to            smRunLifeTime, and the value of smLaunchExpireTime            will be copied to smRunExpireTime.            The smRunStartTime will be set to the current time and            the smRunState will be set to `initializing' before the            script execution is initiated in the appropriate runtime            system.            Note, the data type and the range of this object must            be consistent with the smRunIndex object. Since this            object might be written from the scheduling MIB, the            data type Integer32 rather than Unsigned32 is used."       DEFVAL { 0 }       ::= { smLaunchEntry 10 }   smLaunchControl OBJECT-TYPE       SYNTAX      INTEGER {                       abort(1),                       suspend(2),                       resume(3),                       nop(4)                   }       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "This object is used to request a state change for all            running scripts in the smRunTable that were started from            this row in the smLaunchTable.            Setting this object to abort(1), suspend(2) or resume(3)            will set the smRunControl object of all applicable rows            in the smRunTable to abort(1), suspend(2) or resume(3)            respectively. The phrase `applicable rows' means the set of            rows which were created from this entry in the smLaunchTable            and whose value of smRunState allows the corresponding            state change as described in the definition of the            smRunControl object. Setting this object to nop(4) has no            effect."       DEFVAL { nop }       ::= { smLaunchEntry 11 }   smLaunchAdminStatus OBJECT-TYPE       SYNTAX      INTEGER {                       enabled(1),                       disabled(2)                   }       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "The value of this object indicates the desired status of            this launch table entry."       DEFVAL { disabled }       ::= { smLaunchEntry 12 }   smLaunchOperStatus OBJECT-TYPE       SYNTAX      INTEGER {                       enabled(1),                       disabled(2)                   }       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "The value of this object indicates the actual status of            this launch table entry. An `enabled' launch table            entry can be used to start scripts while a `disabled'            launch table entry will refuse any attempts to start            scripts. The value `enabled' requires that the            smLaunchRowStatus object is active. The value            `disabled' requires that there are no entries in the            smRunTable associated with this smLaunchTable entry."       DEFVAL { disabled }       ::= { smLaunchEntry 13 }   smLaunchRunIndexNext OBJECT-TYPE       SYNTAX      Integer32 (1..2147483647)       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "This variable is used for creating rows in the smRunTable.            The value of this variable is a currently unused value            for smRunIndex, which can be written into the smLaunchStart            object associated with this row to launch a script.            The value returned when reading this variable must be unique            for the smLaunchOwner and smLauchName associated with this            row. Subsequent attempts to read this variable must return            different values.            This variable will return the special value 0 if no new rows            can be created.            Note, the data type and the range of this object must be            consistent with the definition of smRunIndex."       ::= { smLaunchEntry 14 }   smLaunchStorageType OBJECT-TYPE       SYNTAX      StorageType       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "This object defines if this row is kept in volatile storage            and lost upon reboot or if this row is backed up by stable            storage.            The value of smLaunchStorageType is only meaningful if the            value of the corresponding RowStatus object is active.            If smLaunchStorageType has the value permanent(4), then all            objects whose MAX-ACCESS value is read-create must be            writable, with the exception of the smLaunchStorageType and            smLaunchRowStatus objects, which shall be read-only."       DEFVAL { volatile }       ::= { smLaunchEntry 15 }   smLaunchRowStatus OBJECT-TYPE       SYNTAX      RowStatus       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "A control that allows entries to be added and removed from            this table.            Attempts to `destroy' a row or to set a row `notInService'            while scripts started from this launch table entry are            running will result in an inconsistentValue error.            Attempts to `destroy' a row or to set a row `notInService'            where the value of the smLaunchStorageType object is            `permanent' or `readOnly' will result in an            inconsistentValue error."       ::= { smLaunchEntry 16 }   smRunTable OBJECT-TYPE       SYNTAX      SEQUENCE OF SmRunEntry       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "This table lists and describes scripts that are currently            running or have been running in the past."       ::= { smRunObjects 2 }   smRunEntry OBJECT-TYPE       SYNTAX      SmRunEntry       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "An entry describing a particular running or finished            script."       INDEX { smLaunchOwner, smLaunchName, smRunIndex }       ::= { smRunTable 1 }   SmRunEntry ::= SEQUENCE {       smRunIndex          Integer32,       smRunArgument       OCTET STRING,       smRunStartTime      DateAndTime,       smRunEndTime        DateAndTime,       smRunLifeTime       TimeInterval,       smRunExpireTime     TimeInterval,       smRunExitCode       INTEGER,       smRunResult         OCTET STRING,       smRunControl        INTEGER,       smRunState          INTEGER,       smRunError          SnmpAdminString   }   smRunIndex OBJECT-TYPE       SYNTAX      Integer32 (1..2147483647)       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "The locally arbitrary, but unique identifier associated            with this running or finished script. This value must be            unique for all rows in the smRunTable with the same            smLaunchOwner and smLaunchName.            Note, the data type and the range of this object must be            consistent with the definition of smLaunchRunIndexNext            and smLaunchStart."       ::= { smRunEntry 1 }   smRunArgument OBJECT-TYPE       SYNTAX      OCTET STRING       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "The argument supplied to the script when it started."       DEFVAL { ''H }       ::= { smRunEntry 2 }   smRunStartTime OBJECT-TYPE       SYNTAX      DateAndTime       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "The date and time when the execution started. The value            '0000000000000000'H is returned if the script has not            started yet."       DEFVAL { '0000000000000000'H }       ::= { smRunEntry 3 }   smRunEndTime OBJECT-TYPE       SYNTAX      DateAndTime       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "The date and time when the execution terminated. The value            '0000000000000000'H is returned if the script has not            terminated yet."       DEFVAL { '0000000000000000'H }       ::= { smRunEntry 4 }   smRunLifeTime OBJECT-TYPE       SYNTAX      TimeInterval       UNITS       "centi-seconds"       MAX-ACCESS  read-write       STATUS      current       DESCRIPTION           "This object specifies how long the script can execute.            This object returns the remaining time that the script            may run. The object is initialized with the value of the            associated smLaunchLifeTime object and ticks backwards.            The script is aborted immediately when the value reaches 0.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -