cpqSm2CntlrBatteryStatus
CPQSM2-MIB ·
.1.3.6.1.4.1.232.9.2.2.5
Object
scalar mandatory
Enumeration
Remote Insight Battery Status.
The following values are defined:
other(1)
The Insight Agent is unable to determine if the battery
needs replacement.
batteryOk(2)
The Remote Insight battery is OK.
batteryFailed(3)
The Remote Insight battery needs replacement.
batteryDisconnected(4)
The Remote Insight battery is disconnected.
Context
- MIB
- CPQSM2-MIB
- OID
.1.3.6.1.4.1.232.9.2.2.5- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- cpqSm2Cntlr
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 'CPQSM2-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSM2-MIB::cpqSm2CntlrBatteryStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQSM2-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQSM2-MIB::cpqSm2CntlrBatteryStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | batteryOk |
3 | batteryFailed |
4 | batteryDisconnected |