From Indie IT Wiki
Jump to: navigation, search

The primary goal of the Network UPS Tools (NUT) project is to provide support for Power Devices, such as Uninterruptible Power Supplies, Power Distribution Units, Automatic Transfer Switch, Power Supply Units and Solar Controllers.


sudo apt-get install nut
sudo udevadm control --reload-rules
sudo udevadm trigger
sudo nano /etc/nut/nut.conf
sudo nano /etc/nut/ups.conf
    driver = blazer_usb
    port = auto
    vendorid = 0665
sudo nano /etc/nut/upsd.users
    password  = pass
    upsmon master
sudo nano /etc/nut/upsmon.conf
MONITOR salicru@localhost 1 upsmon pass master
sudo upsdrvctl start
sudo /etc/init.d/nut-server start
sudo systemctl status nut-server.service 
sudo /etc/init.d/ups-monitor start
sudo upsc salicru@localhost

HOWTO: Fix USB Permissions Error

chmod 0666 /dev/bus/usb/005/* && /etc/init.d/upsdrv start
/etc/init.d/upsd start
/etc/init.d/upsmon start
upsc cyberpower@localhost