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

📄 job-monitoring-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
        -- Impression attributes:        impressionsSpooled(110),        -- Integer32 (-2..2147483647)        impressionsSentToDevice(111),   -- Integer32 (-2..2147483647)        impressionsInterpreted(112),    -- Integer32 (-2..2147483647)        impressionsCompletedCurrentCopy(113),                                        -- Integer32 (-2..2147483647)        fullColorImpressionsCompleted(114),                                        -- Integer32 (-2..2147483647)        highlightColorImpressionsCompleted(115),                                        -- Integer32 (-2..2147483647)        -- Page attributes:        pagesRequested(130),            -- Integer32 (-2..2147483647)        pagesCompleted(131),            -- Integer32 (-2..2147483647)        pagesCompletedCurrentCopy(132), -- Integer32 (-2..2147483647)        -- Sheet attributes:        sheetsRequested(150),           -- Integer32 (-2..2147483647)        sheetsCompleted(151),           -- Integer32 (-2..2147483647)        sheetsCompletedCurrentCopy(152),-- Integer32 (-2..2147483647)        -- Resource attributes:        mediumRequested(170),           -- JmMediumTypeTC                                        -- AND/OR                                        -- JmJobStringTC (SIZE(0..63))        mediumConsumed(171),            -- Integer32 (-2..2147483647)                                        -- AND                                        -- JmJobStringTC (SIZE(0..63))        colorantRequested(172),         -- Integer32 (-2..2147483647)                                        -- AND/OR                                        -- JmJobStringTC (SIZE(0..63))        colorantConsumed(173),          -- Integer32 (-2..2147483647)                                        -- AND/OR                                        -- JmJobStringTC (SIZE(0..63))        mediumTypeConsumed(174),        -- Integer32 (-2..2147483647)                                        -- AND                                        -- JmJobStringTC (SIZE(0..63))        mediumSizeConsumed(175),        -- Integer32 (-2..2147483647)                                        -- AND                                        -- JmJobStringTC (SIZE(0..63))        -- Time attributes:        jobSubmissionToServerTime(190), -- JmTimeStampTC                                        -- AND/OR                                        -- DateAndTime        jobSubmissionTime(191),         -- JmTimeStampTC                                        -- AND/OR                                        -- DateAndTime        jobStartedBeingHeldTime(192),   -- JmTimeStampTC                                        -- AND/OR                                        -- DateAndTime        jobStartedProcessingTime(193),  -- JmTimeStampTC                                        -- AND/OR                                        -- DateAndTime        jobCompletionTime(194),         -- JmTimeStampTC                                        -- AND/OR                                        -- DateAndTime        jobProcessingCPUTime(195)       -- Integer32 (-2..2147483647)    }JmJobServiceTypesTC ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "Specifies the type(s) of service to which the job has been        submitted (print, fax, scan, etc.).  The service type is        represented as an enum that is bit encoded with each job        service type so that more general and arbitrary services can be        created, such as services with more than one destination type,        or ones with only a source or only a destination.  For example,        a job service might scan, faxOut, and print a single job.  In        this case, three bits would be set in the jobServiceTypes        attribute, corresponding to the hexadecimal values: 0x8 + 0x20        + 0x4, respectively, yielding: 0x2C.        Whether this attribute is set from a job attribute supplied by        the job submission client or is set by the recipient job        submission server or device depends on the job submission        protocol.  With either implementation, the agent SHALL return a        non-zero value for this attribute indicating the type of the        job.        One of the purposes of this attribute is to permit a requester        to filter out jobs that are not of interest.  For example, a        printer operator MAY only be interested in jobs that include        printing.  That is why the attribute is in the job        identification category.        The following service component types are defined (in        hexadecimal) and are assigned a separate bit value for use with        the jobServiceTypes attribute:        other                             0x1            The job contains some instructions that are not one of the            identified types.        unknown                           0x2            The job contains some instructions whose type is unknown to            the agent.        print                             0x4            The job contains some instructions that specify printing        scan                              0x8            The job contains some instructions that specify scanning        faxIn                             0x10            The job contains some instructions that specify receive fax        faxOut                            0x20            The job contains some instructions that specify sending fax        getFile                           0x40            The job contains some instructions that specify accessing            files or documents        putFile                           0x80            The job contains some instructions that specify storing            files or documents        mailList                          0x100            The job contains some instructions that specify            distribution of documents using an electronic mail system.        These bit definitions are the equivalent of a type 2 enum        except that combinations of them MAY be used together.  See        section 3.7.1.2."    SYNTAX      INTEGER (0..2147483647)   -- 31 bits, all but sign bitJmJobStateReasons1TC ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "The JmJobStateReasonsNTC (N=1..4) textual-conventions are used        with the jmJobStateReasons1 object and jobStateReasonsN        (N=2..4), respectively, to provide additional information        regarding the current jmJobState object value.  These values        MAY be used with any job state or states for which the reason        makes sense.  See section 3.3.9.1 for the specification of each        bit value defined for use with the JmJobStateReasons1TC.        These bit definitions are the equivalent of a type 2 enum        except that combinations of bits may be used together.  See        section 3.7.1.2."    SYNTAX      INTEGER (0..2147483647)   -- 31 bits, all but sign bitJmJobStateReasons2TC ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "This textual-convention is used with the jobStateReasons2        attribute to provides additional information regarding the        jmJobState object.  See section 3.3.9.2 for the specification        of JmJobStateReasons2TC.  See section 3.3.9.1 for the        description under JmJobStateReasons1TC for additional        information that applies to all reasons.        These bit definitions are the equivalent of a type 2 enum        except that combinations of them may be used together.  See        section 3.7.1.2."    SYNTAX      INTEGER (0..2147483647)   -- 31 bits, all but sign bitJmJobStateReasons3TC ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "This textual-convention is used with the jobStateReasons3        attribute to provides additional information regarding the        jmJobState object.  See section 3.3.9.3 for the specification        of JmJobStateReasons3TC.  See section 3.3.9.1 for the        description under JmJobStateReasons1TC for additional        information that applies to all reasons.        These bit definitions are the equivalent of a type 2 enum        except that combinations of them may be used together.  See        section 3.7.1.2.  "    SYNTAX      INTEGER (0..2147483647)   -- 31 bits, all but sign bitJmJobStateReasons4TC ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "This textual-convention is used in the jobStateReasons4        attribute to provides additional information regarding the        jmJobState object.  See section 3.3.9.4 for the specification        of JmJobStateReasons4TC.  See section 3.3.9.1 for the        description under JmJobStateReasons1TC for additional        information that applies to all reasons.        These bit definitions are the equivalent of a type 2 enum        except that combinations of them may be used together.  See        section 3.7.1.2."    SYNTAX      INTEGER (0..2147483647)   -- 31 bits, all but sign bitjobmonMIBObjects  OBJECT IDENTIFIER  ::= { jobmonMIB 1 }-- The General Group (MANDATORY)-- The jmGeneralGroup consists entirely of the jmGeneralTable.jmGeneral  OBJECT IDENTIFIER ::= { jobmonMIBObjects 1 }jmGeneralTable  OBJECT-TYPE    SYNTAX      SEQUENCE OF JmGeneralEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The jmGeneralTable consists of information of a general nature        that are per-job-set, but are not per-job.  See Section 2        entitled 'Terminology and Job Model' for the definition of a        job set.        The MANDATORY-GROUP macro specifies that this group is        MANDATORY."    ::= { jmGeneral 1 }jmGeneralEntry  OBJECT-TYPE    SYNTAX      JmGeneralEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Information about a job set (queue).        An entry SHALL exist in this table for each job set."    INDEX  { jmGeneralJobSetIndex }    ::= { jmGeneralTable 1 }JmGeneralEntry ::= SEQUENCE {    jmGeneralJobSetIndex                  Integer32,    jmGeneralNumberOfActiveJobs           Integer32,    jmGeneralOldestActiveJobIndex         Integer32,    jmGeneralNewestActiveJobIndex         Integer32,    jmGeneralJobPersistence               Integer32,    jmGeneralAttributePersistence         Integer32,    jmGeneralJobSetName                   JmUTF8StringTC}jmGeneralJobSetIndex OBJECT-TYPE    SYNTAX      Integer32 (1..32767)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A unique value for each job set in this MIB.  The jmJobTable        and jmAttributeTable tables have this same index as their        primary index.        The value(s) of the jmGeneralJobSetIndex SHALL be persistent        across power cycles, so that clients that have retained        jmGeneralJobSetIndex values will access the same job sets upon        subsequent power-up.        An implementation that has only one job set, such as a printer        with a single queue, SHALL hard code this object with the value        1.        See Section 2 entitled 'Terminology and Job Model' for the        definition of a job set.        Corresponds to the first index in jmJobTable and        jmAttributeTable."    ::= { jmGeneralEntry 1 }jmGeneralNumberOfActiveJobs OBJECT-TYPE    SYNTAX      Integer32 (0..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The current number of 'active' jobs in the jmJobIDTable,        jmJobTable, and jmAttributeTable, i.e., the total number of        jobs that are in the pending, processing, or processingStopped        states.  See the JmJobStateTC textual-convention for the exact        specification of the semantics of the job states."    DEFVAL      { 0 }      -- no jobs    ::= { jmGeneralEntry 2 }jmGeneralOldestActiveJobIndex  OBJECT-TYPE    SYNTAX      Integer32 (0..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The jmJobIndex of the oldest job that is still in one of the        'active' states (pending, processing, or processingStopped).        In other words, the index of the 'active' job that has been in        the job tables the longest.        If there are no active jobs, the agent SHALL set the 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 3 }jmGeneralNewestActiveJobIndex  OBJECT-TYPE    SYNTAX      Integer32 (0..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The jmJobIndex of the newest job that is in one of the        'active' states (pending, processing, or processingStopped).        In other words, the index of the 'active' job that has been        most recently added to the job tables.        When all jobs become 'inactive', i.e., enter the pendingHeld,        completed, canceled, or aborted states, the agent SHALL set the

⌨️ 快捷键说明

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