270 likes | 433 Views
PWG Job Monitoring MIB Overview. Integrated Office Conference ‘99 Status of Management Technologies SNMP MIBs, DMTF, and WEB-based Enterprise Management. Why do I need a Job Monitoring MIB ?. Many printers can accept multiple jobs
E N D
PWG Job Monitoring MIB Overview Integrated Office Conference ‘99 Status of Management Technologies SNMP MIBs, DMTF, and WEB-basedEnterprise Management
Why do I need a Job Monitoring MIB ? • Many printers can accept multiple jobs • Many printers support multiple job submission protocols (IPP, LPD, port9100, Apple PAP, Pserver, ...) • Users and operators wants to know: • status of pending, processing, completed jobs • print instructions (attributes) on specific jobs • detailed page level monitoring of current job PWG Job Monitoring MIB
Problem Statement • Need for monitoring print jobs in devices and servers • status of print jobs • progress of print jobs • accounting data: resources used during and at job completion • Independent of the job submission protocol PWG Job Monitoring MIB
Job Monitoring MIB Requirements • Types of users: • end-user - submitted job (via some protocol) • system operator - manages printers • capacity planner - how busy are printers • accountant - how to charge for usage PWG Job Monitoring MIB
Why use SNMP ? • SNMP is a mature protocol. • The Printer MIB (RFC 1759) is widely implemented. • SNMP is commonly used for vendor independent management/printing systems. • SNMP currently implemented in most networked printer controllers. • SNMP provides a single way to monitor many job submission protocols PWG Job Monitoring MIB
The Technical Details PWG Job Monitoring MIB
Embedded SNMP agent all end-user ######## SNMP query +-------+ +--------+ ---- job submission |monitor| | client | +---#---+ +--#--+--+ # # | # ############ | # # | +==+===#=#=+==+ | | | agent | | | | +-------+ | | | PRINTER <--------+ | | Print Job Delivery Channel | | +=============+ Figure 2-1 - Configuration 1 - client-printer - agent in the printer PWG Job Monitoring MIB
SNMP agent in server all end-user +-------+ +----------+ |monitor| | client | ######## SNMP query +---+---# +---#----+-+ **** non-SNMP cntrl # # | ---- job submission # # | # # | #=====#=+==v==+ | agent | | +-------+ | | server | +----+-----+--+ control * | ********** | * | +========v====+ | | | | | | | | PRINTER <---------+ | | Print Job Delivery Channel | | +=============+ Figure 2-2 - Configuration 2 - client-server-printer - agent in the server PWG Job Monitoring MIB
SNMP agent in printer with server all end-user +-------+ +----------+ |monitor| | client | ######## SNMP query +---+---* +---*----+-+ **** non-SNMP query # * * | ---- job submission # * * | # * * | # *=====v====v==+ # | | # | server | # | | # +----#-----+--+ # optional# | # ########## | # # | +==+=v===v=+==+ | | | agent | | | | +-------+ | | | PRINTER <---------+ | | Print Job Delivery Channel | | +=============+ Figure 2-3 - Configuration 3 - client-server-printer - client monitors printer agent and server PWG Job Monitoring MIB
Job MIB object groups PWG Job Monitoring MIB
Job state life cycle (same as IPP) • +----> canceled(7) • / • +---> pending(3) -------> processing(5) ------+------> completed(9) • | ^ ^ \ • --->+ | | +----> aborted(8) • | v v / • +---> pendingHeld(4) processingStopped(6) ---+ • Figure - Normal Job State Transitions PWG Job Monitoring MIB
jobIncoming submissionInterrupted jobOutgoing jobHoldSpecified jobHoldUntilSpecified jobProcessAfterSpecified resourcesAreNotReady deviceStoppedPartly deviceStopped jobInterpreting jobPrinting jobCanceledByUser jobCanceledByOperator jobCanceledAtDevice abortedBySystem processingToStopPoint serviceOffLine jobCompletedSuccessfully jobCompletedWithWarnings jobCompletedWithErrors jobPaused jobInterrupted jobRetained cascaded deletedByAdministrator discardTimeArrived postProcessingFailed jobTransforming maxJobFaultCountExceeded devicesNeedAttentionTimeOut needsKeyOperatorTimeOut jobStartWaitTimeOut jobEndWaitTimeOut jobPasswordWaitTimeOut deviceTimedOut connectingToDeviceTimeOut transferring queuedInDevice jobQueued jobCleanup jobPasswordWait validating queueHeld jobProofWait heldForDiagnostics noSpaceOnServer pinRequired exceededAccountLimit heldForRetry canceledByShutdown deviceUnavailable wrongDevice badJob jobInterruptedByDeviceFailure Job State Reasons (IPP+) PWG Job Monitoring MIB
General Group • Job Set Index - so can have more than one set • Number of Active Jobs - not completed or held • Oldest Active Index - can skip over completed • Newest Active Index - can get newest active • Job Persistence - time job in ‘completed’ state • Attribute Persistence - time attributes in ‘completed’ state • Job Set Name - user friendly name for this job set (name of queue or device) PWG Job Monitoring MIB
Job ID Group • Maps client generated ID (string) to Job Set Index and Job Index for fast client access to a job • Job Submission ID - client generated job ID. • Associated Job Set index for job • Associated Job Index in its Job set for job PWG Job Monitoring MIB
Job Group • MIB objects for each job: • Job Index - 32-bit index of job in table (same as IPP “job-id” or LPD job id) • Job State - one of 7 states • Job State Reasons 1 - 32 bits of extra sub-state information • Number of Intervening Jobs - queue position • K Octets Per Copy Requested - size of job • K Octets Processed - progress monitor • Impressions Per Copy Requested - number of impressions • Impressions Completed - progress monitor • Job Owner - string name of job submitter PWG Job Monitoring MIB
Job Attribute Group • OPTIONAL job info • 71 attributes defined so far • More can be easily registered • Attribute Type - enum identifies which attribute • Attribute Instance Index - so job can have multiple values of an attribute, e.g., media names used • Value As Integer - integer form of value • Value as Octets - octet string form of value PWG Job Monitoring MIB
Job State attributes • jobStateReasons2 • jobStateReasons3 • jobStateReasons4 • processingMessage • processingMessageNaturalLangTag • jobCodedCharSet • jobNaturalLanguageTag PWG Job Monitoring MIB
Identification using Attributes • Device Name • Device Vendor Name • Device Model Name • Device Version • Device Serial number PWG Job Monitoring MIB
jobURI jobAccountName serverAssignedJobName jobName jobServiceTypes jobSourceChannelIndex jobSourcePlatformType submittingServerName submittingApplicationName jobOriginatingHost deviceNameRequested queueNameRequested physicalDevice numberOfDocuments fileName documentName jobComment documentFormatIndex documentFormat Job Identification attributes PWG Job Monitoring MIB
jobPriority jobProcessAfterDateAndTime jobHold jobHoldUntil outputBin sides finishing printQualityRequested printQualityUsed printerResolutionRequested printerResolutionUsed tonerEcomonyRequested tonerEcomonyUsed tonerDensityRequested tonerDensityUsed Job Parameters Image Quality PWG Job Monitoring MIB
jobCopiesRequested jobCopiesCompleted documentCopiesRequested documentCopiesCompleted jobKOctetsTransferred sheetCompletedCopyNumber sheetCompletedDocumentNumber jobCollationType impressionsSpooled impressionsSentToDevice impressionsInterpreted impressionsCompletedCurrentCopy fullColorImpressionsCompleted highlightColorImpressionsComplete Job ProgressImpression PWG Job Monitoring MIB
pagesRequested pagesCompleted pagesCompletedCurrentCopy sheetsRequested sheetsCompleted sheetsCompletedCurrentCopy Page Sheet PWG Job Monitoring MIB
mediumRequested mediumConsumed colorantRequested colorantConsume jobSubmissionToServerTime jobSubmissionTime jobStartedBeingHeldTime jobStartedProcessingTime jobCompletionTime jobProcessingCPUTime Resource Time PWG Job Monitoring MIB
Job Submission Protocol Mapping to Job Monitoring MIB • Title: “Job Submission Protocol Mapping Recommendations for the Job Monitoring MIB”, Feb 1999 • Maps LPR/LPD, AppleTalk, IPP, IPDS, DPA, NDPS, PJL, PostScript, Pserver, Nprinter, and TIP/SI job submision protocols to the PWG Job MIB PWG Job Monitoring MIB
Current Status • The PWG Job Monitoring MIB and Job Submission Protocol Mapping drafts: • Approved by IESG as an Informational RFC • Waiting for the RFC Editor to publish • not standards track • IETF warning: MIB structure not recommended • We believe that they mean the attribute structure? • Planning an interoperability bakeoff in 2000 • IBM, Hitachi Koki, and Xerox PWG Job Monitoring MIB
For Further Information • The PWG Job Monitoring MIB draft is at: • ftp://ftp.ietf.org/rfc-drafts/ • draft-ietf-printmib-job-monitor-08.txt • The Job Submission Protocol Mappingdraft is at: • ftp://ftp.ietf.org/rfc-drafts/ • draft-ietf-printmib-job-protomap-03.txt PWG Job Monitoring MIB