[CentOS] apcupsd, odd behavior

m.roth at 5-cent.us m.roth at 5-cent.us
Fri Feb 8 19:49:19 UTC 2013


Toby Bluhm wrote:
> On 2/8/2013 2:26 PM, m.roth at 5-cent.us wrote:
>> Toby Bluhm wrote:
>>> On 2/8/2013 1:23 PM, m.roth at 5-cent.us wrote:
>>>> 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
>>>>
>>>
>>> You can specify in the conf file that shutdown occurs when it hits X
>>> minutes of runtime left - "MINUTES" should be the parameter. You're at
>>> 10.0 minutes left & if you have it set to something 10.0 or greater,
>>> it's probably gonna want to shutdown immediately at any AC power loss.
>>
>> I'm afraid you've missed the whole beginning of this thread - I suggest
>> you read it. I know what you were saying; it's the response of apcupsd
>> to a power blip this morning that's the issue: as much as these servers
>> draw,there's no way that the UPS is out of power in 3 seconds.
>
> I'm not saying it's out of battery power. I'm saying you may be telling
> it to shutdown when it has, by it's own calculations, 10 minutes of
> battery run time left. I believe the default is 3 or 5 in apcupsd.conf.

Oh, sorry, you weren't clear. Nope, apcupsd.conf is at its default of
MINUTES 3.

       mark




More information about the CentOS mailing list