scanner-button-status
HP-LASERJET-COMMON-MIB ·
.1.3.6.1.4.1.11.2.3.9.4.2.1.2.2.2.7
Object
scalar mandatory
r/w
Enumeration
Indicates the scanner button has been pressed. The value changes to eOn(2) when the button is pressed. The host acknowledges the button press by setting the value to eOff(1).
Context
- MIB
- HP-LASERJET-COMMON-MIB
- OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.2.2.2.7- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- status-scanner
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::scanner-button-status.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::scanner-button-status'
Syntax
Enumeration
Values & Constraints
Enumerated Values
2 | eOn |
3 | eAuto |