Freie Universität Berlin, ZEDAT
The ZEDAT UPS Daemon (ZUPS) allows for monitoring the state of one or more UPS devices using SNMP and executing user-specified commands in case of power outage, such as e-mail or pager notifications and controlled remote host shutdowns. If the monitored UPS devices are running on battery, the shutdown commands are executed for an arbitrary number of remote hosts, optionally with some delay specified for each host. Additionally, ZUPS can be configured to ignore these delays and run the specified commands immediately if the UPS devices are running out of battery power. Custom plugins can easily be added in order to perform arbitrary other checks.
ZUPS can be used with any RFC 1628 (UPS MIB) compliant UPS device. It's written in C and should compile and run on Linux® or any other recent UNIX®(‑like) operating system. The Net-SNMP library (version 5.0.5 or newer) is required for running ZUPS.
This software was developed by Holger Weiß at Freie Universität Berlin, Germany, Zentraleinrichtung für Datenverarbeitung (ZEDAT).
Copyright © 2005, 2006, 2007, 2009, 2011 Freie Universität
Berlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.