upsDiagBatteryStatus

PowerNet-MIB · .1.3.6.1.4.1.318.1.1.1.13.3.2.1.3

Object

column mandatory Enumeration
The status of the battery.
unknown(1) indicates the device status is unknown.
notInstalled(2) indicates the device is not installed.
ok(3) indicates the battery status is OK.
failed(4) indicates the battery status is failed.
highTemperature(5) indicates the battery has a high temperature condition.
replaceImmediately(6) indicates the battery must be replaced immediately.
lowCapacity(7) indicates the battery has a low capacity.

Context

MIB
PowerNet-MIB
OID
.1.3.6.1.4.1.318.1.1.1.13.3.2.1.3
Type
column
Access
readonly
Status
mandatory
Parent
upsDiagBatteryEntry

Walk 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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::upsDiagBatteryStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::upsDiagBatteryStatus.<upsDiagBatteryIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PowerNet-MIB::upsDiagBatteryStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1unknown
2notInstalled
3ok
4failed
5highTemperature
6replaceImmediately
7lowCapacity