UPS

From The World according to Vissie
Jump to navigation Jump to search

Setup NUT (Network UPS Tools)

http://www.bernaerts-nicolas.fr/linux/75-debian/335-debian-wheezy-install-monitor-eaton-ups
sudo apt-get install nut nut-monitor


sudo vim /etc/nut/ups.conf 
...
[eaton]
driver = usbhid-ups
port = auto
desc = "Eaton E5 1100"
sudo upsdrvctl start
sudo vim /etc/nut/nut.conf

...
MODE=standalone
sudo vim /etc/nut/upsd.conf
...
# LISTEN <address> [<port>]
LISTEN 127.0.0.1 3493
LISTEN ::1 3493
...
sudo systemctl restart nut-server.service 
sudo systemctl status nut-server.service 
upsc eaton