[CentOS] apcupsd, odd behavior

m.roth at 5-cent.us m.roth at 5-cent.us
Fri Feb 8 16:54:23 UTC 2013


Les Mikesell wrote:
> On Fri, Feb 8, 2013 at 9:54 AM,  <m.roth at 5-cent.us> wrote:
>>
>>>> As we have every day, we had a power blip overnight. one, at least, of
>>>> the servers connected to a SmartUPS via cable, announced that "power
>>>> exhausted, initiating shutdown" (which I've disabled).
>>>>
>>>> The thing is, I know the servers on that UPS draw a ridiculous amount
>>>> of power, but I don't see that on the others... and this was three
>>>> seconds, not minutes, after it announced there was a power outage.
>>>>
>>>> Has anyone else seen this behavior?
>>>
>>> You mean UPS's behaving badly?  Yes, they break like everything else,
>>> especially the batteries.
>>
>> Nah, I think it's something with apcupsd.
>
> Doesn't it log the message as received from the UPS?  It if has a
> network interface you should be get messages via syslog, email, snmp,
> etc., and there is probably a web interface with status showing
> expected battery capacity at the current load.

The entire contents of that incident. I see nothing in messages.

2013-02-07 17:38:19 -0500  Power failure.
2013-02-07 17:38:21 -0500  Battery power exhausted.
2013-02-07 17:38:21 -0500  Initiating system shutdown!
2013-02-07 17:38:21 -0500  User logins prohibited
2013-02-07 17:38:23 -0500  Power is back. UPS running on mains.
2013-02-07 17:38:23 -0500  Allowing logins

Two seconds?

      mark




More information about the CentOS mailing list