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

📄 job-monitoring-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
            input source.        labels(12),            Label-stock.        multiLayer(13)            Form medium composed of multiple layers which are pre-            attached to one another, e.g. for use with impact printers.        This is a type 2 enumeration.  See Section 3.7.1.2.  These enum        values correspond to the keyword name strings of the        prtInputMediaType object in the Printer MIB [print-mib].  There        is no printer description attribute in IPP/1.0 that represents        these values."    SYNTAX      INTEGER {        other(1),        unknown(2),        stationery(3),        transparency(4),        envelope(5),        envelopePlain(6),        envelopeWindow(7),        continuousLong(8),        continuousShort(9),        tabStock(10),        multiPartForm(11),        labels(12),        multiLayer(13)    }JmJobCollationTypeTC ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "This value is the type of job collation.  Implementations that        don't support multiple documents or don't support multiple        copies SHALL NOT support the uncollatedDocuments(5) value.        This is a type 2 enumeration.  See Section 3.7.1.2. See also        Section 3.4, entitled 'Monitoring Job Progress'."    SYNTAX      INTEGER {        other(1),        unknown(2),        uncollatedSheets(3),    -- sheets within each document copy                                -- are not collated: 1 1 ..., 2 2 ...,                                -- No corresponding value of IPP                                -- "multiple-document-handling"        collatedDocuments(4),   -- internal collated sheets,                                -- documents: A, B, A, B, ...                                -- Corresponds to IPP "multiple-                                -- document-handling"='separate-                                -- documents-collated-copies'        uncollatedDocuments(5)  -- internal collated sheets,                                -- documents: A, A, ..., B, B, ...                                -- Corresponds to IPP "multiple-                                -- document-handling"='separate-                                -- documents-uncollated-copies'    }JmJobSubmissionIDTypeTC ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "Identifies the format type of a job submission ID.        Each job submission ID is a fixed-length, 48-octet printable        US-ASCII [US-ASCII] coded character string containing no        control characters, consisting of the fields defined in section        3.5.1.        This is like a type 2 enumeration.  See section 3.7.3."    SYNTAX    OCTET STRING(SIZE(1)) -- ASCII '0'-'9', 'A'-'Z', 'a'-'z'JmJobStateTC ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "The current state of the job (pending, processing, completed,        etc.).  The following figure shows the normal job state        transitions:                                                    +----> canceled(7)                                                   /    +---> pending(3) -------> processing(5) ------+------> completed(9)    |         ^                      ^             \--->+         |                      |              +----> aborted(8)    |         v                      v             /    +---> pendingHeld(4)  processingStopped(6) ---+                Figure 4 - Normal Job State Transitions        Normally a job progresses from left to right.  Other state        transitions are unlikely, but are not forbidden.  Not shown are        the transitions to the canceled state from the pending,        pendingHeld, and processingStopped states.        Jobs in the pending, processing, and processingStopped states        are called 'active', while jobs in the pendingHeld, canceled,        aborted, and completed states are called 'inactive'.  Jobs        reach one of the three terminal states: completed, canceled, or        aborted, after the jobs have completed all activity, and all        MIB objects and attributes have reached their final values for        the job.        These values are the same as the enum values of the IPP 'job-        state' job attribute.  See Section 3.7.1.2.        unknown(2),            The job state is not known, or its state is indeterminate.        pending(3),            The job is a candidate to start processing, but is not yet            processing.        pendingHeld(4),            The job is not a candidate for processing for any number of            reasons but will return to the pending state as soon as the            reasons are no longer present.  The job's            jmJobStateReasons1 object and/or jobStateReasonsN (N=2..4)            attributes SHALL indicate why the job is no longer a            candidate for processing.  The reasons are represented as            bits in the jmJobStateReasons1 object and/or            jobStateReasonsN (N=2..4) attributes.  See the            JmJobStateReasonsNTC (N=1..4) textual convention for the            specification of each reason.        processing(5),            One or more of:            1.  the job is using, or is attempting to use, one or            more purely software processes that are analyzing,            creating, or interpreting a PDL, etc.,            2.  the job is using, or is attempting to use, one or            more hardware devices that are interpreting a PDL,            making mark on a medium, and/or performing finishing,            such as stapling, etc.,  OR            3. (configuration 2) the server has made the job ready            for printing, but the output device is not yet printing            it, either because the job hasn't reached the output            device or because the job is queued in the output            device or some other spooler, awaiting the output            device to print it.            When the job is in the processing state, the entire job            state includes the detailed status represented in the            device MIB indicated by the hrDeviceIndex value of the            job's physicalDevice attribute, if the agent implements            such a device MIB.            Implementations MAY, though they NEED NOT, include            additional values in the job's jmJobStateReasons1 object            to indicate the progress of the job, such as adding the            jobPrinting value to indicate when the device is actually            making marks on a medium and/or the processingToStopPoint            value to indicate that the server or device is in the            process of canceling or aborting the job.        processingStopped(6),            The job has stopped while processing for any number of            reasons and will return to the processing state as soon            as the reasons are no longer present.            The job's jmJobStateReasons1 object and/or the job's            jobStateReasonsN (N=2..4) attributes MAY indicate why the            job has stopped processing.  For example, if the output            device is stopped, the deviceStopped value MAY be            included in the job's jmJobStateReasons1 object.            NOTE - When an output device is stopped, the device            usually indicates its condition in human readable form            at the device.  The management application can obtain             more complete device status remotely by querying the            appropriate device MIB using the job's deviceIndex            attribute(s), if the agent implements such a device MIB        canceled(7),            A client has canceled the job and the server or device            has completed canceling the job AND all MIB objects and            attributes have reached their final values for the job.            While the server or device is canceling the job, the            job's jmJobStateReasons1 object SHOULD contain the            processingToStopPoint value and one of the            canceledByUser, canceledByOperator, or canceledAtDevice            values.  The canceledByUser, canceledByOperator, or            canceledAtDevice values remain while the job is in the            canceled state.        aborted(8),            The job has been aborted by the system, usually while the            job was in the processing or processingStopped state and            the server or device has completed aborting the job AND            all MIB objects and attributes have reached their final            values for the job.  While the server or device is            aborting the job, the job's jmJobStateReasons1 object MAY            contain the processingToStopPoint and abortedBySystem            values.  If implemented, the abortedBySystem value SHALL            remain while the job is in the aborted state.        completed(9)            The job has completed successfully or with warnings or            errors after processing and all of the media have been            successfully stacked in the appropriate output bin(s) AND            all MIB objects and attributes have reached their final            values for the job.  The job's jmJobStateReasons1 object            SHOULD contain one of: completedSuccessfully,            completedWithWarnings, or completedWithErrors values.        This is a type 2 enumeration.  See Section 3.7.1.2."    SYNTAX      INTEGER {        unknown(2),        pending(3),        pendingHeld(4),        processing(5),        processingStopped(6),        canceled(7),        aborted(8),        completed(9)    }JmAttributeTypeTC ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "The type of the attribute which identifies the attribute.        NOTE - The enum assignments are grouped logically with values        assigned in groups of 20, so that additional values may be        registered in the future and assigned a value that is part of        their logical grouping.        Values in the range 2**30 to 2**31-1 are reserved for private        or experimental usage.  This range corresponds to the same        range reserved in IPP.  Implementers are warned that use of        such values may conflict with other implementations.        Implementers are encouraged to request registration of enum        values following the procedures in Section 3.7.1.        See Section 3.2 entitled 'The Attribute Mechanism' for a        description of this textual-convention and its use in the        jmAttributeTable.  See Section 3.3.8 for the specification of        each attribute.  The comment(s) after each enum assignment        specifies the data type(s) of the attribute.        This is a type 2 enumeration.  See Section 3.7.1.2."    SYNTAX      INTEGER {        other(1),                       -- Integer32 (-2..2147483647)                                        -- AND/OR                                        -- OCTET STRING(SIZE(0..63))        -- Job State attributes:        jobStateReasons2(3),            -- JmJobStateReasons2TC        jobStateReasons3(4),            -- JmJobStateReasons3TC        jobStateReasons4(5),            -- JmJobStateReasons4TC        processingMessage(6),           -- JmUTF8StringTC (SIZE(0..63))        processingMessageNaturalLangTag(7),                                        -- OCTET STRING(SIZE(0..63))        jobCodedCharSet(8),             -- CodedCharSet        jobNaturalLanguageTag(9),       -- OCTET STRING(SIZE(0..63))        -- Job Identification attributes:        jobURI(20),                     -- OCTET STRING(SIZE(0..63))        jobAccountName(21),             -- OCTET STRING(SIZE(0..63))        serverAssignedJobName(22),      -- JmJobStringTC (SIZE(0..63))        jobName(23),                    -- JmJobStringTC (SIZE(0..63))        jobServiceTypes(24),            -- JmJobServiceTypesTC        jobSourceChannelIndex(25),      -- Integer32 (0..2147483647)        jobSourcePlatformType(26),      -- JmJobSourcePlatformTypeTC        submittingServerName(27),       -- JmJobStringTC (SIZE(0..63))        submittingApplicationName(28),  -- JmJobStringTC (SIZE(0..63))        jobOriginatingHost(29),         -- JmJobStringTC (SIZE(0..63))        deviceNameRequested(30),        -- JmJobStringTC (SIZE(0..63))        queueNameRequested(31),         -- JmJobStringTC (SIZE(0..63))        physicalDevice(32),             -- hrDeviceIndex                                        -- AND/OR                                        -- JmUTF8StringTC (SIZE(0..63))        numberOfDocuments(33),          -- Integer32 (-2..2147483647)        fileName(34),                   -- JmJobStringTC (SIZE(0..63))        documentName(35),               -- JmJobStringTC (SIZE(0..63))        jobComment(36),                 -- JmJobStringTC (SIZE(0..63))        documentFormatIndex(37),        -- Integer32 (0..2147483647)        documentFormat(38),             -- PrtInterpreterLangFamilyTC                                        -- AND/OR                                        -- OCTET STRING(SIZE(0..63))        -- Job Parameter attributes:        jobPriority(50),                -- Integer32 (-2..100)        jobProcessAfterDateAndTime(51), -- DateAndTime (SNMPv2-TC)        jobHold(52),                    -- JmBooleanTC        jobHoldUntil(53),               -- JmJobStringTC (SIZE(0..63))        outputBin(54),                  -- Integer32 (0..2147483647)                                        -- AND/OR                                        -- JmJobStringTC (SIZE(0..63))        sides(55),                      -- Integer32 (-2..2)        finishing(56),                  -- JmFinishingTC        -- Image Quality attributes:        printQualityRequested(70),      -- JmPrintQualityTC        printQualityUsed(71),           -- JmPrintQualityTC        printerResolutionRequested(72), -- JmPrinterResolutionTC        printerResolutionUsed(73),      -- JmPrinterResolutionTC        tonerEcomonyRequested(74),      -- JmTonerEconomyTC        tonerEcomonyUsed(75),           -- JmTonerEconomyTC        tonerDensityRequested(76),      -- Integer32 (-2..100)        tonerDensityUsed(77),           -- Integer32 (-2..100)        -- Job Progress attributes:        jobCopiesRequested(90),         -- Integer32 (-2..2147483647)        jobCopiesCompleted(91),         -- Integer32 (-2..2147483647)        documentCopiesRequested(92),    -- Integer32 (-2..2147483647)        documentCopiesCompleted(93),    -- Integer32 (-2..2147483647)        jobKOctetsTransferred(94),      -- Integer32 (-2..2147483647)        sheetCompletedCopyNumber(95),   -- Integer32 (-2..2147483647)        sheetCompletedDocumentNumber(96),                                        -- Integer32 (-2..2147483647)        jobCollationType(97),           -- JmJobCollationTypeTC

⌨️ 快捷键说明

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