cpqIdeAtaDiskLocation
CPQIDE-MIB ·
.1.3.6.1.4.1.232.14.2.4.1.1.27
Object
column mandatory
OctetString
Location of Disk Drive.
The Location is the value of the SMBIOS type 242 Location String, if it is present.
This field will be a null(size 0) string if the SMBIOS type 242 record does not support
the location string.
Context
- MIB
- CPQIDE-MIB
- OID
.1.3.6.1.4.1.232.14.2.4.1.1.27- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqIdeAtaDiskEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CPQIDE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQIDE-MIB::cpqIdeAtaDiskLocation'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQIDE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQIDE-MIB::cpqIdeAtaDiskLocation.<cpqIdeAtaDiskControllerIndex>.<cpqIdeAtaDiskIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQIDE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQIDE-MIB::cpqIdeAtaDiskLocation'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255