[CentOS] APC Smart-ups "status codes" (slightly OT)

Fri Jan 29 22:09:43 UTC 2010
Ron Loftin <reloftin at twcny.rr.com>

On Fri, 2010-01-29 at 16:53 -0500, m.roth at 5-cent.us wrote:
> We got replacement battery "kits" for some of our APC UPS' (Smart-UPS,
> rackmount). I put them into one tray (it's for an RBC 43, which takes 8,
> and weighs a ton), and put it in, and let it charge. Idiot "change
> battery" led stays on. So I hit the test button, it discharges very
> rapidly (a good number of servers on this), and the led stays on.
> 
> For some reason, apcupsd's USB test fails, with an HIDDEV i/o error. So I
> got rid of the weird APC usb cable, and put in one of their serial cables,
> and run the "smart" test (the USB does more), and get results showing
> everything's fine.
> 
> But the idiot light's still on.
> 
> So, looking at all the values that the "apcsmart" choice can give me, the
> first thing is UPS status. I've been googling for a while, and can't find
> a single reference to it. Anyone have a link to somewhere that will give
> me the status codes (and their meaning)?
> 
The only thing that comes to mind is to check out NUT ( Network UPS
Tools ) at http://www.networkupstools.org and see if their source code
can answer your questions.

I've been using NUT for some time with APC units and had no issues when
changing batteries, but I have a vague memory of some models being fussy
about noticing the new battery.  Google should be able to find those
discussions for you.

> Thanks in advance.
> 
>         mark
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
Ron Loftin                      reloftin at twcny.rr.com

"God, root, what is difference ?"       Piter from UserFriendly