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

📄 rfc2592.txt

📁 著名的RFC文档,其中有一些文档是已经翻译成中文的的.
💻 TXT
📖 第 1 页 / 共 5 页
字号:
            instance of a running script started from a particular entry            in the smLaunchTable (i.e. entries in the smRunTable) will be            owned by the same smLaunchOwner used to index the entry in            the smLaunchTable. This owner is not necessarily the same as            the owner of the script itself (smLaunchScriptOwner)."       ::= { smLaunchEntry 1 }   smLaunchName OBJECT-TYPE       SYNTAX      SnmpAdminString (SIZE (1..32))       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "The locally-unique, administratively assigned name for this            launch table entry. This object allows an smLaunchOwner to            have multiple entries in the smLaunchTable. The smLaunchName            is an arbitrary name that must be different from any other            smLaunchTable entries with the same smLaunchOwner but can be            the same as other entries in the smLaunchTable with different            smLaunchOwner values. Note that the value of smLaunchName            is not related in any way to the name of the script being            launched."       ::= { smLaunchEntry 2 }   smLaunchScriptOwner OBJECT-TYPE       SYNTAX      SnmpAdminString (SIZE (0..32))       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "The value of this object in combination with the value of            smLaunchScriptName identifies the script that can be            launched from this smLaunchTable entry. Attempts to write            this object will fail with an inconsistentValue error if            the value of smLaunchOperStatus is `enabled'."       ::= { smLaunchEntry 3 }   smLaunchScriptName OBJECT-TYPE       SYNTAX      SnmpAdminString (SIZE (0..32))       MAX-ACCESS  read-createLevi & Schoenwaelder        Standards Track                    [Page 25]RFC 2592                       Script MIB                       May 1999       STATUS      current       DESCRIPTION           "The value of this object in combination with the value of            the smLaunchScriptOwner identifies the script that can be            launched from this smLaunchTable entry. Attempts to write            this objects will fail with an inconsistentValue error if            the value of smLaunchOperStatus is `enabled'."       ::= { smLaunchEntry 4 }   smLaunchArgument OBJECT-TYPE       SYNTAX      OCTET STRING       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "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 }Levi & Schoenwaelder        Standards Track                    [Page 26]RFC 2592                       Script MIB                       May 1999   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.Levi & Schoenwaelder        Standards Track                    [Page 27]RFC 2592                       Script MIB                       May 1999            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 smLaunchExpireTimeLevi & Schoenwaelder        Standards Track                    [Page 28]RFC 2592                       Script MIB                       May 1999            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       DESCRIPTIONLevi & Schoenwaelder        Standards Track                    [Page 29]RFC 2592                       Script MIB                       May 1999           "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      StorageTypeLevi & Schoenwaelder        Standards Track                    [Page 30]RFC 2592                       Script MIB                       May 1999       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 h

⌨️ 快捷键说明

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