NUT, or Network UPS Tools, is an essential bit of software for disaster prep in your homelab or datacenter.
Resources mentioned in this video:
– Network UPS Tools: https://networkupstools.org
– Full install guide: https://www.jeffgeerling.com/blog/2025/nut-on-my-pi-so-my-servers-dont-die
– 3D Printed SBC rack mount I used: https://www.printables.com/model/843677-raspberry-pi-5-rack-mount-right-sided/files
– Ansible playbook for automated NUT setup: https://github.com/geerlingguy/pi-nut
– My nut_client Ansible role: https://github.com/geerlingguy/ansible-role-nut_client
Support me on Patreon: https://www.patreon.com/geerlingguy
Sponsor me on GitHub: https://github.com/sponsors/geerlingguy
Merch: https://www.redshirtjeff.com
2nd Channel: https://www.youtube.com/@GeerlingEngineering
3rd Channel: https://www.youtube.com/@Level2Jeff
Contents:
00:00 – Don’t rely on luck when it comes to power!
00:37 – What’s NUT?
01:51 – NUT server setup guide
05:37 – NUT testing and monitoring
06:45 – NUT client setup guide
09:24 – End-to-end power fail test
13:01 – Success and a pretty severe bug
16:56 – Hardware setup
18:36 – Happy to have NUT on my Pi
source