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.
jmGeneralJobSetIndex
1.3.6.1.4.1.2699.1.1.1.1.1.1.1
Integer32 (1..32767)
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.
jmGeneralNumberOfActiveJobs
1.3.6.1.4.1.2699.1.1.1.1.1.1.2
Integer32 (0..2147483647)
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.
jmGeneralOldestActiveJobIndex
1.3.6.1.4.1.2699.1.1.1.1.1.1.3
Integer32 (0..2147483647)
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.
jmGeneralNewestActiveJobIndex
1.3.6.1.4.1.2699.1.1.1.1.1.1.4
Integer32 (0..2147483647)
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 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.
jmGeneralJobPersistence
1.3.6.1.4.1.2699.1.1.1.1.1.1.5
Integer32 (15..2147483647) · seconds
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.
jmGeneralAttributePersistence
1.3.6.1.4.1.2699.1.1.1.1.1.1.6
Integer32 (15..2147483647) · seconds
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.
jmGeneralJobSetName
1.3.6.1.4.1.2699.1.1.1.1.1.1.7
JmUTF8StringTCTo facilitate internationalization, this TC represents information taken from the ISO/IEC IS 10646-1 character set, encoded as an octet string using the UTF-8 character encoding scheme.
See section 3.6.1, entitled: 'Text generated by the server or device'. SIZE (0..63) · OCTET STRING · hint 255a
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.
jmJobIDTable
1.3.6.1.4.1.2699.1.1.1.2.1
Index: jmJobSubmissionID
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.
jmJobSubmissionID
1.3.6.1.4.1.2699.1.1.1.2.1.1.1
OCTET STRING SIZE (48)
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.
jmJobIDJobSetIndex
1.3.6.1.4.1.2699.1.1.1.2.1.1.2
Integer32 (0..32767)
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.
jmJobIDJobIndex
1.3.6.1.4.1.2699.1.1.1.2.1.1.3
Integer32 (0..2147483647)
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.
jmJobTable
1.3.6.1.4.1.2699.1.1.1.3.1
Index: jmGeneralJobSetIndex · jmJobIndex
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.
jmJobIndex
1.3.6.1.4.1.2699.1.1.1.3.1.1.1
Integer32 (1..2147483647)
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.
jmJobState
1.3.6.1.4.1.2699.1.1.1.3.1.1.2
JmJobStateTC2 = unknown3 = pending4 = pendingHeld5 = processing6 = processingStopped7 = canceled8 = aborted9 = completedThe 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. · Integer32
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.
jmJobStateReasons1
1.3.6.1.4.1.2699.1.1.1.3.1.1.3
JmJobStateReasons1TCThe 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. (0..2147483647) · Integer32
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.
The jobStateReasonsN (N=2..4) attributes provide further additional information about the job's current state.
jmNumberOfInterveningJobs
1.3.6.1.4.1.2699.1.1.1.3.1.1.4
Integer32 (-2..2147483647)
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).
jmJobKOctetsPerCopyRequested
1.3.6.1.4.1.2699.1.1.1.3.1.1.5
Integer32 (-2..2147483647)
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.
jmJobKOctetsProcessed
1.3.6.1.4.1.2699.1.1.1.3.1.1.6
Integer32 (-2..2147483647)
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.
jmJobImpressionsPerCopyRequested
1.3.6.1.4.1.2699.1.1.1.3.1.1.7
Integer32 (-2..2147483647)
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.
jmJobImpressionsCompleted
1.3.6.1.4.1.2699.1.1.1.3.1.1.8
Integer32 (-2..2147483647)
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'.
jmJobOwner
1.3.6.1.4.1.2699.1.1.1.3.1.1.9
JmJobStringTCTo facilitate internationalization, this TC represents information using any coded character set registered by IANA as specified in section 3.7. While it is recommended that the coded character set be UTF-8 [UTF-8], the actual coded character set SHALL be indicated by the value of the jobCodedCharSet(8) attribute for the job.
See section 3.6.2, entitled: 'Text supplied by the job submitter'. SIZE (0..63) · OCTET STRING
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.
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.
jmAttributeTypeIndex
1.3.6.1.4.1.2699.1.1.1.4.1.1.1
JmAttributeTypeTC1 = other3 = jobStateReasons24 = jobStateReasons35 = jobStateReasons46 = processingMessage7 = processingMessageNaturalLangTag8 = jobCodedCharSet9 = jobNaturalLanguageTag20 = jobURI21 = jobAccountName22 = serverAssignedJobName23 = jobName24 = jobServiceTypes25 = jobSourceChannelIndex26 = jobSourcePlatformType27 = submittingServerName28 = submittingApplicationName29 = jobOriginatingHost30 = deviceNameRequested31 = queueNameRequested32 = physicalDevice33 = numberOfDocuments34 = fileName35 = documentName36 = jobComment37 = documentFormatIndex38 = documentFormat50 = jobPriority51 = jobProcessAfterDateAndTime52 = jobHold53 = jobHoldUntil54 = outputBin55 = sides56 = finishing70 = printQualityRequested71 = printQualityUsed72 = printerResolutionRequested73 = printerResolutionUsed74 = tonerEcomonyRequested75 = tonerEcomonyUsed76 = tonerDensityRequested77 = tonerDensityUsed90 = jobCopiesRequested91 = jobCopiesCompleted92 = documentCopiesRequested93 = documentCopiesCompleted94 = jobKOctetsTransferred95 = sheetCompletedCopyNumber96 = sheetCompletedDocumentNumber97 = jobCollationType110 = impressionsSpooled111 = impressionsSentToDevice112 = impressionsInterpreted113 = impressionsCompletedCurrentCopy114 = fullColorImpressionsCompleted115 = highlightColorImpressionsCompleted130 = pagesRequested131 = pagesCompleted132 = pagesCompletedCurrentCopy150 = sheetsRequested151 = sheetsCompleted152 = sheetsCompletedCurrentCopy170 = mediumRequested171 = mediumConsumed172 = colorantRequested173 = colorantConsumed174 = mediumTypeConsumed175 = mediumSizeConsumed190 = jobSubmissionToServerTime191 = jobSubmissionTime192 = jobStartedBeingHeldTime193 = jobStartedProcessingTime194 = jobCompletionTime195 = jobProcessingCPUTimeThe 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. · Integer32
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.
jmAttributeInstanceIndex
1.3.6.1.4.1.2699.1.1.1.4.1.1.2
Integer32 (1..32767)
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.
jmAttributeValueAsInteger
1.3.6.1.4.1.2699.1.1.1.4.1.1.3
Integer32 (-2..2147483647)
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 integer value is meaningless, such as fileName(34), jobName, and processingMessage, do not have the 'INTEGER:' tag in the JmAttributeTypeTC definition and so an agent SHALL always return a value of '-1' to indicate 'other' for the value of the jmAttributeValueAsInteger object for these attributes.
For attributes which do have the 'INTEGER:' tag in the JmAttributeTypeTC definition, if the integer value is not (yet) known, the agent either (1) SHALL not materialize the row in the jmAttributeTable until the value is known or (2) SHALL return a '-2' to represent an 'unknown' counting integer value, a '0' to represent an 'unknown' index value, and a '2' to represent an 'unknown(2)' enum value.
jmAttributeValueAsOctets
1.3.6.1.4.1.2699.1.1.1.4.1.1.4
OCTET STRING SIZE (0..63)
The octet string value of the attribute. The value of the attribute SHALL be represented as an OCTET STRING if the enum description in the JmAttributeTypeTC textual-convention definition has the tag: 'OCTETS:'.
Depending on the enum definition, this object value MAY be a coded character set string (text), such as 'JmUTF8StringTC', or a binary octet string, such as 'DateAndTime'.
Attributes for which the concept of an octet string value is meaningless, such as pagesCompleted, do not have the tag 'OCTETS:' in the JmAttributeTypeTC definition and so the agent SHALL always return a zero length string for the value of the jmAttributeValueAsOctets object.
For attributes which do have the 'OCTETS:' tag in the JmAttributeTypeTC definition, if the OCTET STRING value is not (yet) known, the agent either SHALL NOT materialize the row in the jmAttributeTable until the value is known or SHALL return a zero-length string.