jmJobState

Job-Monitoring-MIB · .1.3.6.1.4.1.2699.1.1.1.3.1.1.2

Object

column JmJobStateTC
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.

Context

MIB
Job-Monitoring-MIB
OID
.1.3.6.1.4.1.2699.1.1.1.3.1.1.2
Type
column
Access
readonly
Status
current
Parent
jmJobEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'Job-Monitoring-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Job-Monitoring-MIB::jmJobState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Job-Monitoring-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Job-Monitoring-MIB::jmJobState.<jmGeneralJobSetIndex>.<jmJobIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Job-Monitoring-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Job-Monitoring-MIB::jmJobState'

Syntax

Source
JmJobStateTC
Base type
Enumeration

Values & Constraints

Type Values
2unknown
3pending
4pendingHeld
5processing
6processingStopped
7canceled
8aborted
9completed

Conformance

Member of