elvisimprsntr
Guru
- Joined
- Jun 2, 2019
- Messages
- 591
@Basil Hendroff
1. Depending on make/model, UPS batteries have an expected life of 3 to 5 years. Set up a schedule to proactively replace them.
2. Some UPS models perform an automatic battery self test and will report UPS.STATUS: OL REPLACEBATT.
I had proactively ordered a replacement battery when 2 days later my APC UPS reported my battery needed to be replaced. Hot swapped the battery when the replacement arrived. The NUT driver did not allow me to update the battery date, so I had to temporarily install the APCUPS driver on my pfsense firewall to change the date.
3. Some UPS models you can initiate a UPS self test using the UPSCMD command.
On my UPS, I have to issue the stop command between such successive deep or quick tests. I think that allows you to poll UPS.TEST.RESULT before stopping or initiating a new test.
4. If your UPS does not report battery health, consider getting a UPS that does or otherwise take steps to mitigate the risk.
1. Depending on make/model, UPS batteries have an expected life of 3 to 5 years. Set up a schedule to proactively replace them.
2. Some UPS models perform an automatic battery self test and will report UPS.STATUS: OL REPLACEBATT.
I had proactively ordered a replacement battery when 2 days later my APC UPS reported my battery needed to be replaced. Hot swapped the battery when the replacement arrived. The NUT driver did not allow me to update the battery date, so I had to temporarily install the APCUPS driver on my pfsense firewall to change the date.
Code:
[2.5.2-RELEASE]/root: upsc apcups battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.date: 2001/09/25 battery.mfr.date: 2021/07/30 battery.runtime: 2373 battery.runtime.low: 120 battery.type: PbAc battery.voltage: 26.0 battery.voltage.nominal: 24.0 device.mfr: American Power Conversion device.model: Back-UPS BX1500G device.serial: 3B1026X48797 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: APC HID 0.96 driver.version.internal: 0.41 input.sensitivity: medium input.transfer.high: 139 input.transfer.low: 88 input.transfer.reason: input voltage out of range input.voltage: 121.0 input.voltage.nominal: 120 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.firmware: 866.L4 .D ups.firmware.aux: L4 ups.load: 16 ups.mfr: American Power Conversion ups.mfr.date: 2010/06/27 ups.model: Back-UPS BX1500G ups.productid: 0002 ups.realpower.nominal: 865 ups.serial: 3B1026X48797 ups.status: OL ups.test.result: No test initiated ups.timer.reboot: 0 ups.timer.shutdown: -1 ups.vendorid: 051d
3. Some UPS models you can initiate a UPS self test using the UPSCMD command.
Code:
ups.test.result: Done and passed
On my UPS, I have to issue the stop command between such successive deep or quick tests. I think that allows you to poll UPS.TEST.RESULT before stopping or initiating a new test.
Code:
[2.5.2-RELEASE]/root: upscmd -l apcups@localhost Instant commands supported on UPS [apcups]: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.mute - Temporarily mute the UPS beeper beeper.off - Obsolete (use beeper.disable or beeper.mute) beeper.on - Obsolete (use beeper.enable) load.off - Turn off the load immediately load.off.delay - Turn off the load with a delay (seconds) shutdown.reboot - Shut down the load briefly while rebooting the UPS shutdown.stop - Stop a shutdown in progress test.battery.start.deep - Start a deep battery test test.battery.start.quick - Start a quick battery test test.battery.stop - Stop the battery test test.panel.start - Start testing the UPS panel test.panel.stop - Stop a UPS panel test
4. If your UPS does not report battery health, consider getting a UPS that does or otherwise take steps to mitigate the risk.
Last edited: