[CentOS] apcupsd, odd behavior

Fri Feb 8 18:23:43 UTC 2013
m.roth at 5-cent.us <m.roth at 5-cent.us>

Craig White wrote:
> service apcupsd status
>
> (or cat /var/log/apcupsd.events)
>
Already posted the latter; the former, hey, neat results, excerpted here:
MODEL    : Smart-UPS 3000 RM
STATUS   : SHUTTING DOWN
LINEV    : 118.0 Volts
LOADPCT  :  55.9 Percent Load Capacity
BCHARGE  : 100.0 Percent
TIMELEFT :  10.0 Minutes
<...>
TONBATT  : 0 seconds
CUMONBATT: 27 seconds

Now, the "shutting down" annoys me, since it *appears* that by creating
the script that it calls that returns, per the documentation, a -99, it
sets a flag *somewhere*, that's never, ever changed. Just for grins, I
restarted apcupsd, it's all fine, online, and the battery light is not
telling me it needs to be changed, but it still reads "SHUTTING DOWN".

       mark