usbDevice
CPDU-MIB ·
.1.3.6.1.4.1.318.1.1.32.8.1.5
Object
scalar mandatory
Enumeration
Whether a USB device has been connected or disconnected
Context
- MIB
- CPDU-MIB
- OID
.1.3.6.1.4.1.318.1.1.32.8.1.5- Type
- scalar
- Status
- mandatory
- Parent
- trapCritical
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 'CPDU-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPDU-MIB::usbDevice.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPDU-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPDU-MIB::usbDevice'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | connected |
2 | disconnected |