cpqSiSysBatteryCondition
CPQSINFO-MIB ·
.1.3.6.1.4.1.232.2.2.10.2.1.8
Object
column mandatory
Enumeration
This provides the current condition of this system battery.
The following status values are supported:
other(1)
The battery does not support condition monitoring or
the Insight Agent cannot determine condition.
ok(2)
The battery is operating normally. No user action is
required.
degraded(3)
The battery is degraded. The battery is still usable
but should be replaced.
failed(4)
The battery has failed. The battery is no longer
usable and should be replaced soon.
Context
- MIB
- CPQSINFO-MIB
- OID
.1.3.6.1.4.1.232.2.2.10.2.1.8- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqSiSysBatteryEntry
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 'CPQSINFO-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSINFO-MIB::cpqSiSysBatteryCondition'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQSINFO-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSINFO-MIB::cpqSiSysBatteryCondition.<cpqSiSysBatteryIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQSINFO-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQSINFO-MIB::cpqSiSysBatteryCondition'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | ok |
3 | degraded |
4 | failed |