Network UPS tools (nut)
Install
Install the nut
metapackage:
apt install nut
Configure
Run nut-scanner
to auto-fetch a valid config snippet for /etc/nut/ups.conf
:
nut-scanner
Configure these files according to the Debian wiki tutorial:
- /etc/nut/nut.conf
- /etc/nut/ups.conf
- /etc/nut/upsd.users
- /etc/nut/upsmon.conf
Restart services:
systemctl restart nut-server.service
systemctl restart nut-monitor.service
Check the UPS:
upscmd -l eaton
upsc eaton
upsc eaton | grep -E '(ups.realpower|ups.load|ups.status|battery.charge|battery.runtime)'
Ansible
- Collection: vladgh.system/nut
- GitHub
- Last role commit 2024-06
- belgotux.nut_client
- Last commit 2024-01
- colshine1.nutmon
- Last commit 2020
- calvinbui.ansible_nut
- Archived