upsAdvTestBatteryProcessStatus
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.7.2.14
Object
scalar mandatory
Enumeration
The results of the latest battery diagnostic test (battery monitoring test). ok(1) indicates a successful completion of the test. preconditionNotMeet(2) indicates that the test did not start, due to low capacity or low load. batteryTestInProgress(3) indicates that a test is in progress. refused(4) indicates that the test was refused and did not take place. aborted(5) indicates that the test started but it was either cancelled or the system encountered an error. pending(6) the test will commence shortly. noBatteryPresent(8) indicates that no battery is present (no battery, battery breaker open, etc.) to perform the battery diagnostic test.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.7.2.14- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- upsAdvTest
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::upsAdvTestBatteryProcessStatus.0'
More examples
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::upsAdvTestBatteryProcessStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ok |
2 | preconditionNotMeet |
3 | batteryTestInProgress |
4 | refused |
5 | aborted |
6 | pending |
7 | unknown |
8 | noBatteryPresent |