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

📄 job-monitoring-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
        value of this object to 0.        See Section 3.2 entitled 'The Job Tables and the Oldest Active        and Newest Active Indexes' for a description of the usage of        this object."    DEFVAL      { 0 }      -- no active jobs    ::= { jmGeneralEntry 4 }jmGeneralJobPersistence OBJECT-TYPE    SYNTAX      Integer32 (15..2147483647)    UNITS       "seconds"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The minimum time in seconds for this instance of the Job Set        that an entry SHALL remain in the jmJobIDTable and jmJobTable        after processing has completed, i.e., the minimum time in        seconds starting when the job enters the completed, canceled,        or aborted state.        Configuring this object is implementation-dependent.        This value SHALL be equal to or greater than the value of        jmGeneralAttributePersistence.  This value SHOULD be at least        60 which gives a monitoring or accounting application one        minute in which to poll for job data."    DEFVAL      { 60 }          -- one minute    ::= { jmGeneralEntry 5 }jmGeneralAttributePersistence OBJECT-TYPE    SYNTAX      Integer32 (15..2147483647)    UNITS       "seconds"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The minimum time in seconds for this instance of the Job Set        that an entry SHALL remain in the jmAttributeTable after        processing has completed , i.e., the time in seconds starting        when the job enters the completed, canceled, or aborted state.        Configuring this object is implementation-dependent.        This value SHOULD be at least 60 which gives a monitoring or        accounting application one minute in which to poll for job        data."    DEFVAL      { 60 }          -- one minute    ::= { jmGeneralEntry 6 }jmGeneralJobSetName OBJECT-TYPE    SYNTAX      JmUTF8StringTC (SIZE(0..63))    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The human readable name of this job set assigned by the system        administrator (by means outside of this MIB).  Typically, this        name SHOULD be the name of the job queue.  If a server or        device has only a single job set, this object can be the        administratively assigned name of the server or device itself.        This name does not need to be unique, though each job set in a        single Job Monitoring MIB SHOULD have distinct names.        NOTE - If the job set corresponds to a single printer and the        Printer MIB is implemented, this value SHOULD be the same as        the prtGeneralPrinterName object in the draft Printer MIB        [print-mib-draft].  If the job set corresponds to an IPP        Printer, this value SHOULD be the same as the IPP 'printer-        name' Printer attribute.        NOTE - The purpose of this object is to help the user of the        job monitoring application distinguish between several job sets        in implementations that support more than one job set.        See the OBJECT compliance macro for the minimum maximum length        required for conformance."    DEFVAL      { ''H }      -- empty string    ::= { jmGeneralEntry 7 }-- The Job ID Group (MANDATORY)-- The jmJobIDGroup consists entirely of the jmJobIDTable.jmJobID  OBJECT IDENTIFIER ::= { jobmonMIBObjects 2 }jmJobIDTable  OBJECT-TYPE    SYNTAX      SEQUENCE OF JmJobIDEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The jmJobIDTable provides a correspondence map (1) between the        job submission ID that a client uses to refer to a job and (2)        the jmGeneralJobSetIndex and jmJobIndex that the Job Monitoring        MIB agent assigned to the job and that are used to access the        job in all of the other tables in the MIB.  If a monitoring        application already knows the jmGeneralJobSetIndex and the        jmJobIndex of the job it is querying, that application NEED NOT        use the jmJobIDTable.        The MANDATORY-GROUP macro specifies that this group is        MANDATORY."    ::= { jmJobID 1 }jmJobIDEntry  OBJECT-TYPE    SYNTAX      JmJobIDEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The map from (1) the jmJobSubmissionID to (2) the        jmGeneralJobSetIndex and jmJobIndex.        An entry SHALL exist in this table for each job currently known        to the agent for all job sets and job states.  There MAY be        more than one jmJobIDEntry that maps to a single job.  This        many to one mapping can occur when more than one network entity        along the job submission path supplies a job submission ID.        See Section 3.5.  However, each job SHALL appear once and in        one and only one job set."    INDEX  { jmJobSubmissionID }    ::= { jmJobIDTable 1 }JmJobIDEntry ::= SEQUENCE {    jmJobSubmissionID                     OCTET STRING,    jmJobIDJobSetIndex                    Integer32,    jmJobIDJobIndex                       Integer32}jmJobSubmissionID OBJECT-TYPE    SYNTAX      OCTET STRING(SIZE(48))    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A quasi-unique 48-octet fixed-length string ID which        identifies the job within a particular client-server        environment.  There are multiple formats for the        jmJobSubmissionID.  Each format SHALL be uniquely identified.        See the JmJobSubmissionIDTypeTC textual convention.  Each        format SHALL be registered using the procedures of a type 2        enum.  See section 3.7.3 entitled: 'PWG Registration of Job        Submission Id Formats'.        If the requester (client or server) does not supply a job        submission ID in the job submission protocol, then the        recipient (server or device) SHALL assign a job submission ID        using any of the standard formats that have been reserved for        agents and adding the final 8 octets to distinguish the ID from        others submitted from the same requester.        The monitoring application, whether in the client or running        separately, MAY use the job submission ID to help identify        which jmJobIndex was assigned by the agent, i.e., in which row        the job information is in the other tables.        NOTE - fixed-length is used so that a management application        can use a shortened GetNext varbind (in SNMPv1 and SNMPv2) in        order to get the next submission ID, disregarding the remainder        of the ID in order to access jobs independent of the trailing        identifier part, e.g., to get all jobs submitted by a        particular jmJobOwner or submitted from a particular MAC        address.        See the JmJobSubmissionIDTypeTC textual convention.        See APPENDIX B - Support of Job Submission Protocols."    ::= { jmJobIDEntry 1 }jmJobIDJobSetIndex OBJECT-TYPE    SYNTAX      Integer32 (0..32767)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "This object contains the value of the jmGeneralJobSetIndex for        the job with the jmJobSubmissionID value, i.e., the job set        index of the job set in which the job was placed when that        server or device accepted the job.  This 16-bit value in        combination with the jmJobIDJobIndex value permits the        management application to access the other tables to obtain the        job-specific objects for this job.        See jmGeneralJobSetIndex in the jmGeneralTable."    DEFVAL      { 0 }      -- 0 indicates no job set index    ::= { jmJobIDEntry 2 }jmJobIDJobIndex OBJECT-TYPE    SYNTAX      Integer32 (0..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "This object contains the value of the jmJobIndex for the job        with the jmJobSubmissionID value, i.e., the job index for the        job when the server or device accepted the job.  This value, in        combination with the jmJobIDJobSetIndex value, permits the        management application to access the other tables to obtain the        job-specific objects for this job.        See jmJobIndex in the jmJobTable."    DEFVAL      { 0 }      -- 0 indicates no jmJobIndex value.    ::= { jmJobIDEntry 3 }-- The Job Group (MANDATORY)-- The jmJobGroup consists entirely of the jmJobTable.jmJob  OBJECT IDENTIFIER ::= { jobmonMIBObjects 3 }jmJobTable  OBJECT-TYPE    SYNTAX      SEQUENCE OF JmJobEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The jmJobTable consists of basic job state and status        information for each job in a job set that (1) monitoring        applications need to be able to access in a single SNMP Get        operation, (2) that have a single value per job, and (3) that        SHALL always be implemented.        The MANDATORY-GROUP macro specifies that this group is        MANDATORY."    ::= { jmJob 1 }jmJobEntry  OBJECT-TYPE    SYNTAX      JmJobEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Basic per-job state and status information.        An entry SHALL exist in this table for each job, no matter what        the state of the job is.  Each job SHALL appear in one and only        one job set.        See Section 3.2 entitled 'The Job Tables'."    INDEX  { jmGeneralJobSetIndex, jmJobIndex }    ::= { jmJobTable 1 }JmJobEntry ::= SEQUENCE {    jmJobIndex                            Integer32,    jmJobState                            JmJobStateTC,    jmJobStateReasons1                    JmJobStateReasons1TC,    jmNumberOfInterveningJobs             Integer32,    jmJobKOctetsPerCopyRequested          Integer32,    jmJobKOctetsProcessed                 Integer32,    jmJobImpressionsPerCopyRequested      Integer32,    jmJobImpressionsCompleted             Integer32,    jmJobOwner                            JmJobStringTC}jmJobIndex OBJECT-TYPE    SYNTAX      Integer32 (1..2147483647)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The sequential, monatonically increasing identifier index for        the job generated by the server or device when that server or        device accepted the job.  This index value permits the        management application to access the other tables to obtain the        job-specific row entries.        See Section 3.2 entitled 'The Job Tables and the Oldest Active        and Newest Active Indexes'.        See Section 3.5 entitled 'Job Identification'.        See also jmGeneralNewestActiveJobIndex for the largest value of        jmJobIndex.        See JmJobSubmissionIDTypeTC for a limit on the size of this        index if the agent represents it as an 8-digit decimal number."    ::= { jmJobEntry 1 }jmJobState OBJECT-TYPE    SYNTAX      JmJobStateTC    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The current state of the job (pending, processing, completed,        etc.).  Agents SHALL implement only those states which are        appropriate for the particular implementation.  However,        management applications SHALL be prepared to receive all the        standard job states.        The final value for this object SHALL be one of: completed,        canceled, or aborted.  The minimum length of time that the        agent SHALL maintain MIB data for a job in the completed,        canceled, or aborted state before removing the job data from        the jmJobIDTable and jmJobTable is specified by the value of        the jmGeneralJobPersistence object."    DEFVAL      { unknown }      -- default is unknown    ::= { jmJobEntry 2 }jmJobStateReasons1 OBJECT-TYPE    SYNTAX      JmJobStateReasons1TC    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "Additional information about the job's current state, i.e.,        information that augments the value of the job's jmJobState        object.        Implementation of any reason values is OPTIONAL, but an agent        SHOULD return any reason information available.  These values        MAY be used with any job state or states for which the reason        makes sense.  Since the Job State Reasons will be more dynamic        than the Job State, it is recommended that a job monitoring        application read this object every time jmJobState is read.        When the agent cannot provide a reason for the current state of        the job, the value of the jmJobStateReasons1 object and        jobStateReasonsN attributes SHALL be 0.

⌨️ 快捷键说明

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