Power through power outages


Article from Issue 80/2007

An uninterruptible power supply can help get you through a short power outage without losing data or damaging hardware. A Nagios script written in Perl checks UPS health and initiates a controlled powerdown if the unit exhausts its battery capacity.

While going through my drawers full of old computer hardware, I found a cheap, old, uninterruptible power supply (UPS). I must have bought it because it was on sale, since the “Cyberpower 325SL” only provides 185 watts for about five minutes. But I figured that’s good enough for helping a desktop PC, a DSL modem, and a router go through a short power outage unharmed.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Nagios Traffic Light

    A clever combination of Nagios and a doityourself traffic lights lets you know how your network is feeling.

  • Perl: Nagios Plugins

    You can build a plugin in Perl to harness the power of the Nagios monitoring tool.

  • Nagios Workshop

    Nagios monitors your network and provides early warning for problems with hosts and services.

  • Open Source Monitoring Tools

    Open source tools such as Hobbit, Nagios, and monit provide system monitoring for large or small networks.

  • OpenNMS

    If you need to monitor very large networks, you need powerful software. OpenNMS offers serious monitoring capabilities in a truly open source package.

comments powered by Disqus

Direct Download

Read full article as PDF:

Perl_Uninterruptible_Power_Supply.pdf  (253.39 kB)