[Nut-upsuser] Ex post facto logging

Sam Varshavchik mrsam at courier-mta.com
Sat Oct 4 13:20:11 BST 2025


I lost power for about 40 seconds. From what I can see NUT quickly shut down  
the system and boot it back up when power was restored. That also worked.  
Everything worked as designed, except I would expect such a brief shutdown  
to be survivable.

The only question mark in my mind is that the battery should've been enough  
to last those measly 40 seconds. Output of upsc is below. This is about an  
hour after the power was restored, and I see that battery.charge is only 29,  
and it is slowly increasing.

So, I think is that my batteries are due for a replacement. I would've  
wanted to see what was logged during the outage, but I can't find anything  
in journalctl for nut-monitor or nut-server. This is Ubuntu 24. Should there  
be something logged, somewhere?

battery.charge: 29
battery.charge.low: 10
battery.charge.warning: 20
battery.mfr.date: CPS
battery.runtime: 2939
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 27.3
battery.voltage.nominal: 24
device.mfr: CPS
device.model: CP1500AVRLCDa
device.serial: BHQLW7002402
device.type: ups
driver.debug: 0
driver.flag.allow_killpower: 0
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 10
driver.parameter.port: auto
driver.parameter.synchronous: auto
driver.state: quiet
driver.version: 2.8.1
driver.version.data: CyberPower HID 0.8
driver.version.internal: 0.52
driver.version.usb: libusb-1.0.27 (API: 0x100010a)
input.voltage: 120.0
input.voltage.nominal: 120
output.voltage: 120.0
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 6
ups.mfr: CPS
ups.model: CP1500AVRLCDa
ups.productid: 0501
ups.realpower.nominal: 900
ups.serial: BHQLW7002402
ups.status: OL CHRG
ups.test.result: No test initiated
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20251004/402b04fb/attachment.sig>


More information about the Nut-upsuser mailing list