consumable-life-usage-units-remaining
HP-LASERJET-COMMON-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.10.5.1.1
Object
This object reports the current estimate of the number of usage units that remain before this supply is depleted. An installed supply that cannot report such a number will return a value of -2. It is the reponsibility of the host application to query each supply in order to determine an overall device USAGE-UNITS-REMAINING number - the lowest value returned. The unit of measure for this life estimate is determined by reading the corresponding CONSUMABLE-LIFE-USAGE-UNITS object
Context
- MIB
- HP-LASERJET-COMMON-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.10.5.1.1- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- consumables-life
Net-SNMP examples
How SNMP and these commands workScalars 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::consumable-life-usage-units-remaining.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::consumable-life-usage-units-remaining'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Object Constraints
range: 1-64
Type Constraints
range: -2147483648..2147483647