Difference between revisions of "UPS Handling with NUT"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
*<code>sudo apt upgrade</code> | *<code>sudo apt upgrade</code> | ||
{{!}}} | {{!}}} | ||
Network UPS Tools | |||
= Install NUT = | = Install NUT = |
Revision as of 19:35, 3 February 2022
11 (bullseye) |
As always... | |
---|---|
Start with: |
|
Network UPS Tools
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
LISTEN 192.168.2.219 LISTEN 127.0.0.1 3493 LISTEN ::1 3493
sudo vi /etc/nut/upsd.users
[upsmon] password = supersecretpassword upsmon master
sudo vi /etc/nut/upsmon.conf
MONITOR myups@192.168.2.219 1 monuser supersecretpassword master
Manage NUT
sudo service nut-server restart
sudo service nut-server status
upsc cyberpower
upscmd -l cyberpower