Here, you will find some useful scripts or software, made for Unix/Linux.
All this scripts are published under the MIT License (http://opensource.org/licenses/MIT)
You can fork this repository, do amazing changes and submit a pull request! Feel free to contact me for suggestions, you're always welcome.
Some scripts made for "apcupsd" (a daemon to manage APC UPS models : www.apc.com) Daemon and scripts are tested with a APC Back-UPS Pro 900.
install.sh = Installing the apcupsd daemon and dependancies.
To execute it :
chmod +x install.sh;
./install.sh;
Others scripts : put them in "/etc/apcupsd" and personalize them. They are built to send a mail for some events :
- onbattery
- offbattery
- changeme
- commok
- commfailure
- killpower
Don't forget to change emails addresses in each scripts. Scripts will be called by apcupsd daemon when events are triggered.