upsBaseBatteryStatus
CPS-MIB ·
.1.3.6.1.4.1.3808.1.1.1.2.1.1
Object
scalar mandatory
Enumeration
The UPS battery status. A batteryLow(3) value means the battery will be exhausted soon under the current load. The amount of low battery run time can be configured by the upsAdvanceConfigLowBatteryRunTime.
Context
- MIB
- CPS-MIB
- OID
.1.3.6.1.4.1.3808.1.1.1.2.1.1- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- upsBaseBattery
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 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPS-MIB::upsBaseBatteryStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPS-MIB::upsBaseBatteryStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | batteryNormal |
3 | batteryLow |
4 | batteryNotPresent |