I just received an APC Back-UPS and wanted to have email notification during a power outage and a system shutdown before the battery dies. I have simulated a power outage by disconnecting the main power line but I do not receive an email because it is showing that power is back before the email is sent out, even though the power is still disconnected. Any idea why apcupsd is stating that power is back every 3-4 seconds even though it isn't?
Thanks in advance!
#tail apcupsd.events
2016-10-01 03:28:42 -0700 Power failure.
2016-10-01 03:28:45 -0700 Power is back. UPS running on mains.
2016-10-01 03:28:50 -0700 Power failure.
2016-10-01 03:28:55 -0700 Power is back. UPS running on mains.
2016-10-01 03:28:55 -0700 Power failure.
2016-10-01 03:29:00 -0700 Power is back. UPS running on mains.
2016-10-01 03:29:00 -0700 Power failure.
2016-10-01 03:29:04 -0700 Power is back. UPS running on mains.
2016-10-01 03:29:19 -0700 Power failure.
2016-10-01 03:29:19 -0700 Power is back. UPS running on mains.
# apcaccess status
APC : 001,036,0896
DATE : 2016-10-02 09:22:09 -0700
HOSTNAME : web01-fd
VERSION : 3.14.12 (29 March 2014) redhat
UPSNAME : homeups1
CABLE : USB Cable
DRIVER : USB UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2016-10-01 02:54:19 -0700
MODEL : Back-UPS ES 750G
STATUS : ONLINE
LINEV : 122.0 Volts
LOADPCT : 9.0 Percent
BCHARGE : 100.0 Percent
TIMELEFT : 63.6 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 5 Minutes
MAXTIME : 0 Seconds
SENSE : Low
LOTRANS : 0.0 Volts
HITRANS : 0.0 Volts
ALARMDEL : 30 Seconds
BATTV : 13.8 Volts
LASTXFER : Low line voltage
NUMXFERS : 39
XONBATT : 2016-10-01 03:29:19 -0700
TONBATT : 0 Seconds
CUMONBATT: 183 Seconds
XOFFBATT : 2016-10-01 03:29:19 -0700
SELFTEST : ??
STATFLAG : 0x05000008
SERIALNO : 4B1625P18558
BATTDATE : 1980-00-00
NOMINV : 0 Volts
NOMBATTV : 12.0 Volts
FIRMWARE : 908.W4 .D USB FW:W4
END APC : 2016-10-02 09:22:45 -0700