On Fri, 9 Apr 2021, James Knott wrote:
I just experienced a 2 hour power failure, which was long enough for my APC UPSs to power down. However, I have one UPS on my Linux computer and the other on my pfSense firewall. I noticed that the firewall one, which runs on FreeBSD, provided more info that the one on Linux. Any idea why that may be? Both UPSs are the same model and age.
Linux - This is the entire apcupsd.events file
2021-04-09 21:06:00 -0400 Power failure. 2021-04-09 21:06:00 -0400 Power is back. UPS running on mains. 2021-04-09 21:06:00 -0400 Power failure. 2021-04-09 21:06:00 -0400 Power is back. UPS running on mains. 2021-04-09 21:06:01 -0400 Power failure. 2021-04-09 21:06:07 -0400 Running on UPS batteries. 2021-04-09 23:00:05 -0400 apcupsd 3.14.14 (31 May 2016) suse startup succeeded
pfSense - This is the last several lines of the apcupsd.events file, which goes back to Feb. 22.
2021-04-06 05:56:40 -0400 UPS Self Test switch to battery. 2021-04-06 05:56:49 -0400 UPS Self Test completed: Battery OK 2021-04-09 21:05:59 -0400 Power failure. 2021-04-09 21:06:05 -0400 Running on UPS batteries. 2021-04-09 22:01:59 -0400 Battery charge below low limit. 2021-04-09 22:01:59 -0400 Initiating system shutdown! 2021-04-09 22:01:59 -0400 User logins prohibited 2021-04-09 22:01:59 -0400 apcupsd exiting, signal 15 2021-04-09 22:02:00 -0400 apcupsd shutdown succeeded 2021-04-09 23:00:43 -0400 apcupsd 3.14.14 (31 May 2016) freebsd startup succeeded
This one shows not only more info about the shutdown, but also a self test 3 days ago. Why the difference with the Linux system.?
The "low limit" is not detected on the Linux box. Did it crash? Were the two apcupsd configuration files /etc/apcupsd/apcupsd.conf identical? How old are these batteries? Roger