xupsTestBatteryStatus
XUPS-MIB ·
.1.3.6.1.4.1.534.1.8.2
Object
scalar Enumeration
Reading this enumerated value gives an indication of the (last) UPS Battery test status. 'inhibited' means that the battery test could not be run. 'scheduled' means that the battery test could not be run at the time of request, but will be run at some later (UPS-determined) time.
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 'XUPS-MIB' -M '/opt/observium/mibs/eaton:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XUPS-MIB::xupsTestBatteryStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'XUPS-MIB' -M '/opt/observium/mibs/eaton:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'XUPS-MIB::xupsTestBatteryStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | passed |
3 | failed |
4 | inProgress |
5 | notSupported |
6 | inhibited |
7 | scheduled |
Conformance
Member of