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

📄 job-monitoring-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
        The jobStateReasonsN (N=2..4) attributes provide further        additional information about the job's current state."    DEFVAL      { 0 }      -- no reasons    ::= { jmJobEntry 3 }jmNumberOfInterveningJobs OBJECT-TYPE    SYNTAX      Integer32 (-2..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of jobs that are expected to complete processing        before this job has completed processing according to the        implementation's queuing algorithm, if no other jobs were to be        submitted.  In other words, this value is the job's queue        position.  The agent SHALL return a value of 0 for this        attribute when the job is the next job to complete processing        (or has completed processing)."    DEFVAL      { 0 }      -- default is no intervening jobs.    ::= { jmJobEntry 4 }jmJobKOctetsPerCopyRequested OBJECT-TYPE    SYNTAX      Integer32 (-2..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total size in K (1024) octets of the document(s) being        requested to be processed in the job.  The agent SHALL round        the actual number of octets up to the next highest K.  Thus 0        octets is represented as '0', 1-1024 octets is represented as        '1', 1025-2048 is represented as '2', etc.        In computing this value, the server/device SHALL NOT include        the multiplicative factors contributed by (1) the number of        document copies, and (2) the number of job copies, independent        of whether the device can process multiple copies of the job or        document without making multiple passes over the job or        document data and independent of whether the output is collated        or not.  Thus the server/device computation is independent of        the implementation and indicates the size of the document(s)        measured in K octets independent of the number of copies."    DEFVAL      { -2 }      -- the default is unknown(-2)    ::= { jmJobEntry 5 }jmJobKOctetsProcessed OBJECT-TYPE    SYNTAX      Integer32 (-2..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of octets processed by the server or device        measured in units of K (1024) octets so far.  The agent SHALL        round the actual number of octets processed up to the next        higher K.  Thus 0 octets is represented as '0', 1-1024 octets        is represented as '1', 1025-2048 octets is '2', etc.  For        printing devices, this value is the number interpreted by the        page description language interpreter rather than what has been        marked on media.        For implementations where multiple copies are produced by the        interpreter with only a single pass over the data, the final        value SHALL be equal to the value of the        jmJobKOctetsPerCopyRequested object.  For implementations where        multiple copies are produced by the interpreter by processing        the data for each copy, the final value SHALL be a multiple of        the value of the jmJobKOctetsPerCopyRequested object.        NOTE - See the impressionsCompletedCurrentCopy and        pagesCompletedCurrentCopy attributes for attributes that are        reset on each document copy.        NOTE - The jmJobKOctetsProcessed object can be used with the        jmJobKOctetsPerCopyRequested object to provide an indication of        the relative progress of the job, provided that the        multiplicative factor is taken into account for some        implementations of multiple copies."    DEFVAL      { 0 }      -- default is no octets processed.    ::= { jmJobEntry 6 }jmJobImpressionsPerCopyRequested OBJECT-TYPE    SYNTAX      Integer32 (-2..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total size in number of impressions of the document(s)        submitted.        In computing this value, the server/device SHALL NOT include        the multiplicative factors contributed by (1) the number of        document copies, and (2) the number of job copies, independent        of whether the device can process multiple copies of the job or        document without making multiple passes over the job or        document data and independent of whether the output is collated        or not.  Thus the server/device computation is independent of        the implementation and reflects the size of the document(s)        measured in impressions independent of the number of copies.        See the definition of the term 'impression' in Section 2."    DEFVAL      { -2 }      -- default is unknown(-2)    ::= { jmJobEntry 7 }jmJobImpressionsCompleted OBJECT-TYPE    SYNTAX      Integer32 (-2..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of impressions completed for this job so far.        For printing devices, the impressions completed includes        interpreting, marking, and stacking the output.  For other        types of job services, the number of impressions completed        includes the number of impressions processed.        NOTE - See the impressionsCompletedCurrentCopy and        pagesCompletedCurrentCopy attributes for attributes that are        reset on each document copy.        NOTE - The jmJobImpressionsCompleted object can be used with        the jmJobImpressionsPerCopyRequested object to provide an        indication of the relative progress of the job, provided that        the multiplicative factor is taken into account for some        implementations of multiple copies.        See the definition of the term 'impression' in Section 2 and        the counting example in Section 3.4 entitled 'Monitoring Job        Progress'."    DEFVAL      { 0 }      -- default is no octets    ::= { jmJobEntry 8 }jmJobOwner OBJECT-TYPE    SYNTAX      JmJobStringTC (SIZE(0..63))    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The coded character set name of the user that submitted the        job.  The method of assigning this user name will be system        and/or site specific but the method MUST ensure that the name        is unique to the network that is visible to the client and        target device.        This value SHOULD be the most authenticated name of the user        submitting the job.        See the OBJECT compliance macro for the minimum maximum length        required for conformance."    DEFVAL      { ''H }      -- default is empty string    ::= { jmJobEntry 9 }-- The Attribute Group (MANDATORY)-- The jmAttributeGroup consists entirely of the jmAttributeTable.---- Implementation of the objects in this group is MANDATORY.-- See Section 3.1 entitled 'Conformance Considerations'.-- An agent SHALL implement any attribute if (1) the server or device-- supports the functionality represented by the attribute and (2) the-- information is available to the agent.jmAttribute  OBJECT IDENTIFIER ::= { jobmonMIBObjects 4 }jmAttributeTable  OBJECT-TYPE    SYNTAX      SEQUENCE OF JmAttributeEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The jmAttributeTable SHALL contain attributes of the job and        document(s) for each job in a job set.  Instead of allocating        distinct objects for each attribute, each attribute is        represented as a separate row in the jmAttributeTable.        The MANDATORY-GROUP macro specifies that this group is        MANDATORY.  An agent SHALL implement any attribute if (1) the        server or device supports the functionality represented by the        attribute and (2) the information is available to the agent. "    ::= { jmAttribute 1 }jmAttributeEntry  OBJECT-TYPE    SYNTAX      JmAttributeEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Attributes representing information about the job and        document(s) or resources required and/or consumed.        Each entry in the jmAttributeTable is a per-job entry with an        extra index for each type of attribute (jmAttributeTypeIndex)        that a job can have and an additional index        (jmAttributeInstanceIndex) for those attributes that can have        multiple instances per job.  The jmAttributeTypeIndex object        SHALL contain an enum type that indicates the type of attribute        (see the JmAttributeTypeTC textual-convention).  The value of        the attribute SHALL be represented in either the        jmAttributeValueAsInteger or jmAttributeValueAsOctets objects,        and/or both, as specified in the JmAttributeTypeTC textual-        convention.        The agent SHALL create rows in the jmAttributeTable as the        server or device is able to discover the attributes either from        the job submission protocol itself or from the document PDL.        As the documents are interpreted, the interpreter MAY discover        additional attributes and so the agent adds additional rows to        this table.  As the attributes that represent resources are        actually consumed, the usage counter contained in the        jmAttributeValueAsInteger object is incremented according to        the units indicated in the description of the JmAttributeTypeTC        enum.        The agent SHALL maintain each row in the jmAttributeTable for        at least the minimum time after a job completes as specified by        the jmGeneralAttributePersistence object.        Zero or more entries SHALL exist in this table for each job in        a job set.        See Section 3.3 entitled 'The Attribute Mechanism' for a        description of the jmAttributeTable."    INDEX  { jmGeneralJobSetIndex, jmJobIndex, jmAttributeTypeIndex,    jmAttributeInstanceIndex }    ::= { jmAttributeTable 1 }JmAttributeEntry ::= SEQUENCE {    jmAttributeTypeIndex                  JmAttributeTypeTC,    jmAttributeInstanceIndex              Integer32,    jmAttributeValueAsInteger             Integer32,    jmAttributeValueAsOctets              OCTET STRING}jmAttributeTypeIndex OBJECT-TYPE    SYNTAX      JmAttributeTypeTC    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The type of attribute that this row entry represents.        The type MAY identify information about the job or document(s)        or MAY identify a resource required to process the job before        the job start processing and/or consumed by the job as the job        is processed.        Examples of job attributes (i.e., apply to the job as a whole)        that have only one instance per job include:        jobCopiesRequested(90), documentCopiesRequested(92),        jobCopiesCompleted(91), documentCopiesCompleted(93), while        examples of job attributes that may have more than one instance        per job include:  documentFormatIndex(37), and        documentFormat(38).        Examples of document attributes (one instance per document)        include: fileName(34), and documentName(35).        Examples of required and consumed resource attributes include:        pagesRequested(130), mediumRequested(170), pagesCompleted(131),        and mediumConsumed(171), respectively."    ::= { jmAttributeEntry 1 }jmAttributeInstanceIndex OBJECT-TYPE    SYNTAX      Integer32 (1..32767)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A running 16-bit index of the attributes of the same type for        each job.  For those attributes with only a single instance per        job, this index value SHALL be 1.  For those attributes that        are a single value per document, the index value SHALL be the        document number, starting with 1 for the first document in the        job.  Jobs with only a single document SHALL use the index        value of 1.  For those attributes that can have multiple values        per job or per document, such as documentFormatIndex(37) or        documentFormat(38), the index SHALL be a running index for the        job as a whole, starting at 1."    ::= { jmAttributeEntry 2 }jmAttributeValueAsInteger OBJECT-TYPE    SYNTAX      Integer32 (-2..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The integer value of the attribute.  The value of the        attribute SHALL be represented as an integer if the enum        description in the JmAttributeTypeTC textual-convention        definition has the tag: 'INTEGER:'.        Depending on the enum definition, this object value MAY be an        integer, a counter, an index, or an enum, depending on the        jmAttributeTypeIndex value.  The units of this value are        specified in the enum description.        For those attributes that are accumulating job consumption as        the job is processed as specified in the JmAttributeTypeTC        textual-convention, SHALL contain the final value after the job        completes processing, i.e., this value SHALL indicate the total        usage of this resource made by the job.        A monitoring application is able to copy this value to a        suitable longer term storage for later processing as part of an        accounting system.        Since the agent MAY add attributes representing resources to        this table while the job is waiting to be processed or being        processed, which can be a long time before any of the resources        are actually used, the agent SHALL set the value of the        jmAttributeValueAsInteger object to 0 for resources that the        job has not yet consumed.        Attributes for which the concept of an int

⌨️ 快捷键说明

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