upsDiagLCMBatteryTimeSinceMaintenance

PowerNet-MIB · .1.3.6.1.4.1.318.1.1.1.13.12.6

Object

scalar mandatory Integer32
Battery time since last maintenance in days. Note: Some UPS devices
only internally support a higher reporting value such as tenths of months
 or even months so this value may jump rather than count daily as expected.

Context

MIB
PowerNet-MIB
OID
.1.3.6.1.4.1.318.1.1.1.13.12.6
Type
scalar
Access
readonly
Status
mandatory
Parent
upsDiagnosticLifeCycleManagement

Scalars 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::upsDiagLCMBatteryTimeSinceMaintenance.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::upsDiagLCMBatteryTimeSinceMaintenance'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647