prtinputdefaultindex

HP-Color-LaserJet-4500-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.2.5.1.1.6

Object

scalar optional Integer32
The value of prtInputIndex corresponding to the default input
sub-unit: that is, this object selects the default source of
input media. 
This value shall be -1 if there is no default input subunit specified
for the printer as a whole.  In this case, the actual default
input subunit may be specified by means outside the scope of this
MIB, such as by each interpreter in a printer with multiple
interpreters.
        Additional information:
        The default input tray is determined by the printer
        based on DEFAULT-MEDIA-SIZE and DEFAULT-MEDIA-NAME, and whether or
        not optional trays are installed.
        If Tray 1 is set in FIRST mode then the size of paper loaded in
        Tray 1 is assumed to be the requested size. In this case, the printer will
        pick from Tray 1 without regard to the requested size unless the
        print job's paper size, paper type and tray designations exactly
        match the configuration of another tray; in that case, the requested
        tray will be picked.

Context

MIB
HP-Color-LaserJet-4500-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.2.5.1.1.6
Type
scalar
Access
readonly
Status
optional
Parent
prtGeneralEntry

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-Color-LaserJet-4500-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-Color-LaserJet-4500-MIB::prtinputdefaultindex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-Color-LaserJet-4500-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-Color-LaserJet-4500-MIB::prtinputdefaultindex'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647