Difference between revisions of "UPS Handling with NUT"
Jump to navigation
Jump to search
Line 29: | Line 29: | ||
* <code>sudo vi /etc/nut/ups.conf</code> | * <code>sudo vi /etc/nut/ups.conf</code> | ||
[cyberpower] | |||
driver = usbhid-ups | |||
port = auto | |||
* <code>sudo upsdrvctl start</code> | * <code>sudo upsdrvctl start</code> | ||
* <code>ip a</code> | * <code>ip a</code> |
Revision as of 19:03, 3 February 2022
11 (bullseye) |
As always... | |
---|---|
Start with: |
|
Install NUT
sudo apt install nut
Configure NUT
sudo vi /etc/nut/nut.conf
MODE=netserver
sudo vi /etc/nut/ups.conf
[cyberpower] driver = usbhid-ups port = auto
sudo upsdrvctl start
ip a
sudo vi /etc/nut/upsd.conf
sudo vi /etc/nut/upsd.users
sudo vi /etc/nut/upsmon.conf
Manage NUT
sudo service nut-server restart
sudo service nut-server status
upsc cyberpower
upscmd -l cyberpower