I'm just working on my APC UPS's and whilst I haven't looked at the BatteryReplaceIndicator, I probably should.
I've been looking at OID 22.214.171.124.4.1.3126.96.36.199.11.1.1 (upsBasicStateOutputState), a 64 bit value but only then first 32 significant bits are used (see listing below) where each bit represents a specific status - for example the 5 most significant bit is for "Replace Battery".
My issue is that enumeration doesn't work well with 2^32 combinations. The best way would be to set this value to "Text" and then use transformation to abstract each value. But there's really no comprehensive documentation (at least I can't find it if there is) as to what functions generally, and string functions in particular, are available.
I'm raising a third party support call, so if I get a solution I'll post back here.
OID 188.8.131.52.4.1.3184.108.40.206.11.1.1 (upsBasicStateOutputState)
An ASCII string containing the 64 flags representing
the current state(s) of the UPS. If the Network Card
is unable to determine the state of the UPS , this
variable is set to 'UNKNOWN'.
The flags are numbered 1 to 64 , read from left to
right. The flags are defined as follows:
Flag 1: Abnormal Condition Present
Flag 2: On Battery
Flag 3: Low Battery
Flag 4: On Line
Flag 5: Replace Battery
Flag 6: Serial Communication Established
Flag 7: AVR Boost Active*
Flag 8: AVR Trim Active*
Flag 9: Overload
Flag 10: Runtime Calibration
Flag 11: Batteries Discharged
Flag 12: Manual Bypass
Flag 13: Software Bypass
Flag 14: In Bypass due to Internal Fault
Flag 15: In Bypass due to Supply Failure*
Flag 16: In Bypass due to Fan Failure*
Flag 17: Sleeping on a Timer
Flag 18: Sleeping until Utility Power Returns
Flag 19: On
Flag 20: Rebooting
Flag 21: Battery Communication Lost*
Flag 22: Graceful Shutdown Initiated
Flag 23: Smart Boost or Smart Trim Fault*
Flag 24: Bad Output Voltage*
Flag 25: Battery Charger Failure*
Flag 26: High Battery Temperature
Flag 27: Self Test In Progress
Flag 28: Low Battery / On Battery
Flag 29: Graceful Shutdown Issued by Upstream Device
Flag 30: Graceful Shutdown Issued by Downstream Device
Flag 31: No Batteries Attached*
Flag 32: Synchronized command is in progress
Flag 33 - 64 <Not Used>
Did you ever find a solution to this? I am trying to enumerate the exact same string Dogeron and cannot get Solarwinds to handle it because of the length of the response.
Yeah, same problem, same OID. I have a sneaking suspicion that I may just have to set the alert trigger based on whether or not the value starts with a 1 (which at the base level denotes a problem).