cpqSasPhyDrvSsBoxSerialNumber
CPQSCSI-MIB ·
.1.3.6.1.4.1.232.5.5.2.1.1.31
Object
SAS Physical Drive Box Serial Number.
This is the SAS drive box`s serial number which is normally display
on the front panel. This can be used for identification
purposes. If the box`s serial number cannot be determined, the
agent will return a NULL string.
Context
- MIB
- CPQSCSI-MIB
- OID
.1.3.6.1.4.1.232.5.5.2.1.1.31- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqSasPhyDrvEntry
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 'CPQSCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSCSI-MIB::cpqSasPhyDrvSsBoxSerialNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQSCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSCSI-MIB::cpqSasPhyDrvSsBoxSerialNumber.<cpqSasPhyDrvHbaIndex>.<cpqSasPhyDrvIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQSCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQSCSI-MIB::cpqSasPhyDrvSsBoxSerialNumber'
Syntax
- Source
- RFC1213-MIBDisplayString
- Base type
OctetString
Values & Constraints
Object Constraints
range: 0-24