upsBatteryStatus
RMS-MIB ·
.1.3.6.1.4.1.2769.10.22.13
Object
scalar mandatory
Enumeration
The indication of the capacity remaining in the UPS system's batteries. A value of batteryNormal indicates that the remaining run-time is greater than upsConfigLowBattTime. A value of batteryLow indicates that the remaining battery run-time is less than or equal to upsConfigLowBattTime. A value of batteryDepleted indicates that the UPS will be unable to sustain the present load when and if the utility power is lost (including the possibility that the utility power is currently absent and the UPS is unable to sustain the output).
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 'RMS-MIB' -M '/opt/observium/mibs/knuerr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RMS-MIB::upsBatteryStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RMS-MIB' -M '/opt/observium/mibs/knuerr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RMS-MIB::upsBatteryStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | batteryNormal |
3 | batteryLow |
4 | batteryDepleted |