cpqRackPowerSupplyEnclosureSerialNum
CPQRACK-MIB ·
.1.3.6.1.4.1.232.22.2.5.1.1.1.18
Object
column mandatory
OctetString
The serial number of the power supply enclosure in which this
power supply resides.
The string will be empty if the enclosure does not report the
serial number or it could not be determined.
Context
- MIB
- CPQRACK-MIB
- OID
.1.3.6.1.4.1.232.22.2.5.1.1.1.18- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqRackPowerSupplyEntry
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 'CPQRACK-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQRACK-MIB::cpqRackPowerSupplyEnclosureSerialNum'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQRACK-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQRACK-MIB::cpqRackPowerSupplyEnclosureSerialNum.<cpqRackPowerSupplyRack>.<cpqRackPowerSupplyChassis>.<cpqRackPowerSupplyIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQRACK-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQRACK-MIB::cpqRackPowerSupplyEnclosureSerialNum'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-64