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

📄 rfc3165.mib

📁 wm PNE 3.3 source code, running at more than vxworks6.x version.
💻 MIB
📖 第 1 页 / 共 5 页
字号:
   smScriptOwner OBJECT-TYPE       SYNTAX      SnmpAdminString (SIZE (0..32))       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "The manager who owns this row in the smScriptTable."       ::= { smScriptEntry 1 }   smScriptName OBJECT-TYPE       SYNTAX      SnmpAdminString (SIZE (1..32))       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "The locally-unique, administratively assigned name for this            script. This object allows an smScriptOwner to have multiple            entries in the smScriptTable.            This value of this object may be used to derive the name            (e.g. a file name) which is used by the Script MIB            implementation to access the script in non-volatile            storage. The details of this mapping are implementation            specific. However, the mapping needs to ensure that scripts            created by different owners with the same script name do not            map to the same name in non-volatile storage."       ::= { smScriptEntry 2 }   smScriptDescr OBJECT-TYPE       SYNTAX      SnmpAdminString       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "A description of the purpose of the script."       ::= { smScriptEntry 3 }   smScriptLanguage OBJECT-TYPE       SYNTAX      Integer32 (0..2147483647)       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "The value of this object type identifies an entry in the            smLangTable which is used to execute this script.            The special value 0 may be used by hard-wired scripts            that can not be modified and that are executed by            internal functions.            Set requests to change this object are invalid if the            value of smScriptOperStatus is `enabled' or `compiling'            and will result in an inconsistentValue error.            Note that the data type and the range of this object must            be consistent with the definition of smLangIndex."       ::= { smScriptEntry 4 }   smScriptSource OBJECT-TYPE       SYNTAX      DisplayString       MAX-ACCESS  read-create       STATUS      current       DESCRIPTION           "This object either contains a reference to the script            source or an empty string. A reference must be given            in the form of a Uniform Resource Locator (URL) as            defined in RFC 2396. The allowed character sets and the            encoding rules defined in RFC 2396 section 2 apply.            When the smScriptAdminStatus object is set to `enabled',            the Script MIB implementation will `pull' the script            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. An 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 storage type of this row always complies with the value            of this entry if the value of the corresponding RowStatus            object is `active'.            However, the storage type of the script controlled by this            row may be different, if the value of this entry is            `non-volatile'. 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.            Deleting conceptual rows from this table may affect the            deletion of other resources associated with this row. For            example, a script stored in non-volatile storage may be            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 smScriptOperStatus is `enabled' 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.            The value of this object has no effect on whether other            objects in this conceptual row can be modified."       ::= { smScriptEntry 9 }   smScriptError OBJECT-TYPE       SYNTAX      SnmpAdminString       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "This object contains a descriptive error message if the            transition into the operational status `enabled' failed.            Implementations must reset the error message to a            zero-length string when a new attempt to change the            script status to `enabled' is started."       DEFVAL { ''H }       ::= { smScriptEntry 10 }   smScriptLastChange OBJECT-TYPE       SYNTAX      DateAndTime       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "The date and time when this script table entry was last            modified. The value '0000000000000000'H is returned if            the script table entry has not yet been modified.            Note that the resetting of smScriptError is not considered            a change of the script table entry."       DEFVAL { '0000000000000000'H }       ::= { smScriptEntry 11 }   --   -- 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 }

⌨️ 快捷键说明

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