tray1-media-available

HP-LASERJET-COMMON-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.3.3.1.2

Object

scalar mandatory Integer32
Returns a number that indicates how full the input tray
is.  If the device can only detect empty / not empty the
device returns -1 for not empty and 0 for empty.  If the
device can determine how full the tray is, the device
returns a percentage full from 0% to 100%
Additional information:
LaserJet 4V can only detect empty/not empty tray.
It returns -1 for not empty and 0 for empty.

Context

MIB
HP-LASERJET-COMMON-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.3.3.1.2
Type
scalar
Access
readonly
Status
mandatory
Parent
intray1

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

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: -1-1