upsAdvTestDiagnosticsBatteryInterval
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.7.2.16
Object
scalar mandatory
Enumeration
The battery test is a diagnostic test (also referred to as battery monitoring test). The test will be performed on the day stated in upsAdvTestDiagnosticDay and at the time stated in upsAdvTestDiagnosticTime. The result can be read in upsAdvTestBatteryConditionStatus. 1 = Never 2 = Weekly 3 = biweekly 4 = Every 4 weeks 5 = Every 8 weeks 6 = Every 12 weeks 7 = Every 26 weeks 8 = Every 52 weeks
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.7.2.16- 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::upsAdvTestDiagnosticsBatteryInterval.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::upsAdvTestDiagnosticsBatteryInterval'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | never |
2 | weekly |
3 | biweekly |
4 | every4weeks |
5 | every8weeks |
6 | every12weeks |
7 | every26weeks |
8 | every52weeks |