APC under Linux

Because we use APC UPSes, it is nice if they can shut down our PCs when power has failed and if we can see the condition of the UPS battery for maintenance. However, APC does not have any software for Linux, that I have seen. I did come across a couple of nice links however, that explains exactly how to do it, and I will share them here, with some excerpts from those web pages. Readmore..