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

📄 rfc2592.mib

📁 wm PNE 3.3 source code, running at more than vxworks6.x version.
💻 MIB
📖 第 1 页 / 共 4 页
字号:
            source from the URL contained in this object if the URL            is not empty.            An empty URL indicates that the script source is loaded            from local storage. The script is read from the smCodeTable            if the value of smScriptStorageType is volatile. Otherwise,            the script is read from non-volatile storage.            Note: This document does not mandate implementation of any            specific URL scheme. A attempt to load a script from a            nonsupported URL scheme will cause the smScriptOperStatus            to report an `unknownProtocol' error.            Set requests to change this object are invalid if the            value of smScriptOperStatus is `enabled', `editing',            `retrieving' or `compiling' and will result in an            inconsistentValue error."       DEFVAL { ''H }       ::= { smScriptEntry 5 }   smScriptAdminStatus OBJECT-TYPE       SYNTAX      INTEGER {                       enabled(1),                       disabled(2),                       editing(3)                   }       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "The value of this object indicates the desired status of            the script. See the definition of smScriptOperStatus for            a description of the values.            When the smScriptAdminStatus object is set to `enabled' and            the smScriptOperStatus is `disabled' or one of the error            states, the Script MIB implementation will `pull' the script            source from the URL contained in the smScriptSource object            if the URL is not empty."       DEFVAL { disabled }       ::= { smScriptEntry 6 }   smScriptOperStatus OBJECT-TYPE       SYNTAX      INTEGER {                       enabled(1),                       disabled(2),                       editing(3),                       retrieving(4),                       compiling(5),                       noSuchScript(6),                       accessDenied(7),                       wrongLanguage(8),                       wrongVersion(9),                       compilationFailed(10),                       noResourcesLeft(11),                       unknownProtocol(12),                       protocolFailure(13),                       genericError(14)                   }       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "The actual status of the script in the runtime system. The            value of this object is only meaningful when the value of the            smScriptRowStatus object is `active'.            The smScriptOperStatus object may have the following values:            - `enabled' indicates that the script is available and can               be started by a launch table entry.            - `disabled' indicates that the script can not be used.            - `editing' indicates that the script can be modified in the              smCodeTable.            - `retrieving' indicates that the script is currently being              loaded from non-volatile storage or a remote system.            - `compiling' indicates that the script is currently being              compiled by the runtime system.            - `noSuchScript' indicates that the script does not exist              at the smScriptSource.            - `accessDenied' indicates that the script can not be loaded              from the smScriptSource due to a lack of permissions.            - `wrongLanguage' indicates that the script can not be loaded              from the smScriptSource because of a language mismatch.            - `wrongVersion' indicates that the script can not be loaded              from the smScriptSource because of a language version              mismatch.            - `compilationFailed' indicates that the compilation failed.            - `noResourcesLeft' indicates that the runtime system does              not have enough resources to load the script.            - `unknownProtocol' indicates that the script could not be              loaded from the smScriptSource because the requested              protocol is not supported.            - `protocolFailure' indicates that the script could not be              loaded from the smScriptSource because of a protocol              failure.            - `genericError' indicates that the script could not be              loaded due to an error condition not listed above.            The `retrieving' and `compiling' states are transient states            which will either lead to one of the error states or the            `enabled' state. The `disabled' and `editing' states are            administrative states which are only reached by explicit            management operations.            All launch table entries that refer to this script table            entry shall have an smLaunchOperStatus value of `disabled'            when the value of this object is not `enabled'."       DEFVAL { disabled }       ::= { smScriptEntry 7 }   smScriptStorageType OBJECT-TYPE       SYNTAX      StorageType       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "This object defines whether this row and the script            controlled by this row are kept in volatile storage and            lost upon reboot or if this row is backed up by            non-volatile or permanent storage.            The script controlled by this row is written into local            non-volatile storage if the following condition becomes            true:            (a) the URL contained in the smScriptSource object is empty                and            (b) the smScriptStorageType is `nonVolatile'                and            (c) the smScriptOperStatus is `enabled'            Setting this object to `volatile' removes a script from            non-volatile storage if the script controlled by this row            has been in non-volatile storage before. Attempts to set            this object to permanent will always fail with an            inconsistentValue error.            The value of smScriptStorageType is only meaningful if the            value of the corresponding RowStatus object is `active'.            If smScriptStorageType has the value permanent(4), then all            objects whose MAX-ACCESS value is read-create must be            writable, with the exception of the smScriptStorageType and            smScriptRowStatus objects, which shall be read-only."       DEFVAL { volatile }       ::= { smScriptEntry 8 }   smScriptRowStatus OBJECT-TYPE       SYNTAX      RowStatus       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "A control that allows entries to be added and removed from            this table.            Changing the smScriptRowStatus from `active' to `notInService'            will remove the associated script from the runtime system.            The value of smScriptOperStatus will be reset to `disabled'.            Deleting conceptual rows from this table includes the            deletion of all resources associated with this row. This            implies that a script stored in non-volatile storage is            removed from non-volatile storage.            An entry may not exist in the `active' state unless all            required objects in the entry have appropriate values. Rows            that are not complete or not in service are not known by the            script runtime system.            Attempts to `destroy' a row or to set a row `notInService'            while the script is executing will result in an            inconsistentValue error.            Attempts to `destroy' a row or to set a row `notInService'            where the value of the smScriptStorageType object is            `permanent' or `readOnly' will result in an            inconsistentValue error."       ::= { smScriptEntry 9 }   --   -- Access to script code via SNMP   --   -- The smCodeTable allows script code to be read and modified   -- via SNMP.   --   smCodeTable OBJECT-TYPE       SYNTAX      SEQUENCE OF SmCodeEntry       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "This table contains the script code for scripts that are            written via SNMP write operations."       ::= { smScriptObjects 2 }   smCodeEntry OBJECT-TYPE       SYNTAX      SmCodeEntry       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "An entry describing a particular fragment of a script."       INDEX { smScriptOwner, smScriptName, smCodeIndex }       ::= { smCodeTable 1 }   SmCodeEntry ::= SEQUENCE {       smCodeIndex         Unsigned32,       smCodeText          OCTET STRING,       smCodeRowStatus     RowStatus   }   smCodeIndex OBJECT-TYPE       SYNTAX      Unsigned32 (1..4294967295)       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "The index value identifying this code fragment."       ::= { smCodeEntry 1 }   smCodeText OBJECT-TYPE       SYNTAX      OCTET STRING (SIZE (1..1024))       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "The code that makes up a fragment of a script. The format            of this code fragment depends on the script language which            is identified by the associated smScriptLanguage object."       ::= { smCodeEntry 2 }   smCodeRowStatus OBJECT-TYPE       SYNTAX      RowStatus       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "A control that allows entries to be added and removed from            this table."       ::= { smCodeEntry 3 }   --   -- Script execution.   --   -- This group defines tables which allow script execution to be   -- initiated, suspended, resumed, and terminated.  It also provides   -- a mechanism for keeping a history of recent script executions   -- and their results.   --   smRunObjects OBJECT IDENTIFIER ::= { smObjects 4 }   smLaunchTable OBJECT-TYPE       SYNTAX      SEQUENCE OF SmLaunchEntry       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "This table lists and describes scripts that are ready            to be executed together with their parameters."       ::= { smRunObjects 1 }   smLaunchEntry OBJECT-TYPE       SYNTAX      SmLaunchEntry       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "An entry describing a particular executable script."       INDEX { smLaunchOwner, smLaunchName }       ::= { smLaunchTable 1 }   SmLaunchEntry ::= SEQUENCE {       smLaunchOwner               SnmpAdminString,       smLaunchName                SnmpAdminString,       smLaunchScriptOwner         SnmpAdminString,       smLaunchScriptName          SnmpAdminString,       smLaunchArgument            OCTET STRING,       smLaunchMaxRunning          Unsigned32,       smLaunchMaxCompleted        Unsigned32,       smLaunchLifeTime            TimeInterval,       smLaunchExpireTime          TimeInterval,       smLaunchStart               Integer32,       smLaunchControl             INTEGER,       smLaunchAdminStatus         INTEGER,       smLaunchOperStatus          INTEGER,       smLaunchRunIndexNext        Integer32,       smLaunchStorageType         StorageType,       smLaunchRowStatus           RowStatus   }   smLaunchOwner OBJECT-TYPE       SYNTAX      SnmpAdminString (SIZE (0..32))       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "The manager who owns this row in the smLaunchTable. Every            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-create       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

⌨️ 快捷键说明

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