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

📄 rfc2592.mib

📁 wm PNE 3.3 source code, running at more than vxworks6.x version.
💻 MIB
📖 第 1 页 / 共 4 页
字号:
            The value of this object may be set in order to increase or            reduce the remaining time that the script may run. Setting            this value to 0 will abort script execution immediately,            and, if the value of smRunExpireTime is also 0, will remove            this entry from the smRunTable once it has terminated.            The value of smRunLifeTime reflects the real-time execution            time as seen by the outside world. The value of this object            will always be 0 for a script that finished execution, that            is smRunState has the value `terminated'.            The value of smRunLifeTime does not change while a script            is suspended, that is smRunState has the value `suspended'.            Note, this does not affect set operations. It is legal to            modify smRunLifeTime via set operations while a script is            suspended."       ::= { smRunEntry 5 }   smRunExpireTime OBJECT-TYPE       SYNTAX      TimeInterval       UNITS       "centi-seconds"       MAX-ACCESS  read-write       STATUS      current       DESCRIPTION           "This value specifies how long this row can exist in the            smRunTable after the script has terminated.  This object            returns the remaining time that the row may exist before it            is aged out. The object is initialized with the value of the            associated smLaunchExpireTime object and ticks backwards. The            entry in the smRunTable is destroyed when the value reaches 0            and the smRunState has the value `terminated'.            The value of this object may be set in order to increase or            reduce the remaining time that the row may exist.  Setting            the value to 0 will destroy this entry as soon as the            smRunState has the value `terminated'."       ::= { smRunEntry 6 }   smRunExitCode OBJECT-TYPE       SYNTAX      INTEGER {                       noError(1),                       halted(2),                       lifeTimeExceeded(3),                       noResourcesLeft(4),                       languageError(5),                       runtimeError(6),                       invalidArgument(7),                       securityViolation(8),                       genericError(9)                   }       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "The value of this object indicates the reason why a            script finished execution. The smRunExitCode code may have            one of the following values:            - `noError', which indicates that the script completed               successfully without errors;            - `halted', which indicates that the script was halted               by a request from an authorized manager;            - `lifeTimeExceeded', which indicates that the script               exited because a time limit was exceeded;            - `noResourcesLeft', which indicates that the script               exited because it ran out of resources (e.g. memory);            - `languageError', which indicates that the script exited               because of a language error (e.g. a syntax error in an               interpreted language);            - `runtimeError', which indicates that the script exited               due to a runtime error (e.g. a division by zero);            - `invalidArgument', which indicates that the script could               not be run because of invalid script arguments;            - `securityViolation', which indicates that the script               exited due to a security violation;            - `genericError', which indicates that the script exited               for an unspecified reason.            If the script has not yet begun running, or is currently            running, the value will be `noError'."       DEFVAL { noError }       ::= { smRunEntry 7 }   smRunResult OBJECT-TYPE       SYNTAX      OCTET STRING       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "The result value produced by the running script. Note that            the result may change while the script is executing."       DEFVAL { ''H }       ::= { smRunEntry 8 }   smRunControl OBJECT-TYPE       SYNTAX      INTEGER {                       abort(1),                       suspend(2),                       resume(3),                       nop(4)                   }       MAX-ACCESS  read-write       STATUS      current       DESCRIPTION           "The value of this object indicates the desired status of the            script execution defined by this row.            Setting this object to `abort' will abort execution if the            value of smRunState is `initializing', `executing',            `suspending', `suspended' or `resuming'. Setting this object            to `abort' when the value of smRunState is `aborting' or            `terminated' will result in an inconsistentValue error.            Setting this object to `suspend' will suspend execution            if the value of smRunState is `executing'. Setting this            object to `suspend' will cause an inconsistentValue error            if the value of smRunState is not `executing'.            Setting this object to `resume' will resume execution            if the value of smRunState is `suspending' or            `suspended'. Setting this object to `resume' will cause an            inconsistentValue error if the value of smRunState is            not `suspending' or `suspended'.            Setting this object to nop(4) has no effect."       DEFVAL { nop }       ::= { smRunEntry 9 }   smRunState OBJECT-TYPE       SYNTAX      INTEGER {                       initializing(1),                       executing(2),                       suspending(3),                       suspended(4),                       resuming(5),                       aborting(6),                       terminated(7)                   }       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "The value of this object indicates the script's execution            status.  If the script has been invoked but has not yet            begun execution, the value will be `initializing'. If the            script is running, the value will be `executing'. A script            which received a request to suspend execution but which            did not actually suspend execution will be `suspending'.            A script which has suspended execution will be `suspended'.            A script which received a request to resume execution but            which is not yet running is `resuming'. The resuming state            will finally lead to the `executing' state. A script which            received a request to abort execution but which is still            running is `aborting'. A script which stopped execution            is `terminated'."       ::= { smRunEntry 10 }   smRunError OBJECT-TYPE       SYNTAX      SnmpAdminString       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION           "This  contains a descriptive error message if the script            terminates in an abnormally. An implementation must store a            descriptive error message in this object if the script exits            with the smRunExitCode `genericError'.            The value of this object is the zero-length string as long            as the smRunExitCode has the value `noError'"       DEFVAL { ''H }       ::= { smRunEntry 11 }   --   -- Notifications. The definition of smTraps makes notification   -- registrations reversible (see STD 58, RFC 2578).   --   smTraps OBJECT IDENTIFIER ::= { smNotifications 0 }   smScriptAbort NOTIFICATION-TYPE       OBJECTS     { smRunExitCode, smRunEndTime, smRunError }       STATUS      current       DESCRIPTION           "This notification is generated whenever a running script            terminates with an smRunExitCode unequal to `noError'."       ::= { smTraps 1 }   smScriptResult NOTIFICATION-TYPE       OBJECTS     { smRunResult }       STATUS      current       DESCRIPTION           "This notification can be used by scripts to notify other            management applications about script results. It can be            used to notify managers about a script result.            This notification is not automatically generated by the            script MIB implementation. It is the responsibility of            the executing script to emit this notification where it            is appropriate to do so."       ::= { smTraps 2 }   -- conformance information   smCompliances OBJECT IDENTIFIER ::= { smConformance 1 }   smGroups      OBJECT IDENTIFIER ::= { smConformance 2 }   -- compliance statements   smCompliance MODULE-COMPLIANCE       STATUS      current       DESCRIPTION           "The compliance statement for SNMP entities which implement            the script MIB."       MODULE      -- this module       MANDATORY-GROUPS {               smLanguageGroup, smScriptGroup, smLaunchGroup, smRunGroup       }       GROUP   smCodeGroup       DESCRIPTION           "The smCodeGroup is mandatory only for those implementations            that support the downloading of scripts via SNMP."       OBJECT  smScriptSource       MIN-ACCESS  read-only       DESCRIPTION           "The smScriptSource object is read-only for implementations            that are not able to download script code from a URL."       OBJECT smLaunchArgument       DESCRIPTION           "A compliant implementation has to support a minimum size            for smLaunchArgument of 255 octets."       OBJECT smRunArgument       DESCRIPTION           "A compliant implementation has to support a minimum size            for smRunArgument of 255 octets."       OBJECT smRunResult       DESCRIPTION           "A compliant implementation has to support a minimum size            for smRunResult of 255 octets."       OBJECT smRunState       DESCRIPTION           "A compliant implementation does not have to support script            suspension and the smRunState `suspended'. Such an            implementation will change into the `suspending' state            when the smRunControl is set to `suspend' and remain in this            state until smRunControl is set to `resume' or the script            terminates."       ::= { smCompliances 1 }   smLanguageGroup OBJECT-GROUP       OBJECTS {           smLangLanguage,           smLangVersion,           smLangVendor,           smLangRevision,           smLangDescr,           smExtsnExtension,           smExtsnVersion,           smExtsnVendor,           smExtsnRevision,           smExtsnDescr       }       STATUS      current       DESCRIPTION           "A collection of objects providing information about the            capabilities of the scripting engine."       ::= { smGroups 1 }   smScriptGroup OBJECT-GROUP       OBJECTS {           smScriptDescr,           smScriptLanguage,           smScriptSource,           smScriptAdminStatus,           smScriptOperStatus,           smScriptStorageType,           smScriptRowStatus       }       STATUS      current       DESCRIPTION           "A collection of objects providing information about            installed scripts."       ::= { smGroups 2 }   smCodeGroup OBJECT-GROUP       OBJECTS {           smCodeText,           smCodeRowStatus       }       STATUS      current       DESCRIPTION           "A collection of objects used to download or modify scripts            by using SNMP set requests."       ::= { smGroups 3 }   smLaunchGroup OBJECT-GROUP       OBJECTS {           smLaunchScriptOwner,           smLaunchScriptName,           smLaunchArgument,           smLaunchMaxRunning,           smLaunchMaxCompleted,           smLaunchLifeTime,           smLaunchExpireTime,           smLaunchStart,           smLaunchControl,           smLaunchAdminStatus,           smLaunchOperStatus,           smLaunchRunIndexNext,           smLaunchStorageType,           smLaunchRowStatus       }       STATUS      current       DESCRIPTION           "A collection of objects providing information about scripts            that can be launched."       ::= { smGroups 4 }   smRunGroup OBJECT-GROUP       OBJECTS {           smRunArgument,           smRunStartTime,           smRunEndTime,           smRunLifeTime,           smRunExpireTime,           smRunExitCode,           smRunResult,           smRunState,           smRunControl,           smRunError       }       STATUS      current       DESCRIPTION           "A collection of objects providing information about running            scripts."       ::= { smGroups 5 }   smNotificationsGroup NOTIFICATION-GROUP       NOTIFICATIONS {           smScriptAbort,           smScriptResult       }       STATUS      current       DESCRIPTION           "The notifications emitted by the script MIB."       ::= { smGroups 6 }   END

⌨️ 快捷键说明

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