upsBasicBatteryLastReplaceDate

PowerNet-MIB · .1.3.6.1.4.1.318.1.1.1.2.1.3

Object

scalar mandatory r/w RFC1213-MIBDisplayString
The date when the UPS system's batteries were last replaced
in mm/dd/yy (or yyyy) format.  For Smart-UPS models, this value
is originally set in the factory.  When the UPS batteries
are replaced, this value should be reset by the administrator.
For Symmetra PX 250/500, this OID is read only and is configurable in the local display only.
For Gutor modular, the format is YYYY-MM-DD.If not defined return 2000-01-01.

Context

MIB
PowerNet-MIB
OID
.1.3.6.1.4.1.318.1.1.1.2.1.3
Type
scalar
Access
readwrite
Status
mandatory
Parent
upsBasicBattery

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::upsBasicBatteryLastReplaceDate.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::upsBasicBatteryLastReplaceDate'

Syntax

Source
RFC1213-MIBDisplayString
Base type
OctetString

Values & Constraints

No enumerated values or constraints recorded.