upsBatteryLastReplaceDate
BESTPOWER-MIB ·
.1.3.6.1.4.1.2947.1.2.7
Object
scalar mandatory
r/w
OctetString
The date when the UPS system's batteries were last replaced in mm/dd/yyyy format. When the UPS batteries are replaced, this value should be reset by the administrator.
Context
- MIB
- BESTPOWER-MIB
- OID
.1.3.6.1.4.1.2947.1.2.7- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- upsBattery
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 'BESTPOWER-MIB' -M '/opt/observium/mibs/eaton:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BESTPOWER-MIB::upsBatteryLastReplaceDate.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BESTPOWER-MIB' -M '/opt/observium/mibs/eaton:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BESTPOWER-MIB::upsBatteryLastReplaceDate'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 6-10