96bdfd93cddb641eac68a9bb0d4cf93b1e967557
This script uses NUT and a few other libraries to communicate UPS status for servers.
If the power goes out, it will send an email and a discord message with status and battery charge. If the power comes back, it will do the same.
Once battery reaches critical level, it will automate shutting servers down. When the power comes back and the battery is charged, it will fire them up again.
Description
Languages
Python
97.9%
Shell
2.1%