36a2bd8a9a77530e07556693755a77c364007d3d
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%