User Tools

Site Tools


technical:24.04_ups_setup_with_nut

This is an old revision of the document!


APC UPS Devices

Install the required packages:

apt install apcupsd apcupsd-cgi

Edit the conf file

nano /etc/apcupsd/apcupsd.conf:
UPSCABLE usb
UPSTYPE usb
#DEVICE /dev/ttyS0
POLLTIME 60
BATTERYLEVEL 10
MINUTES 3

Restart the UPS monitoring service:

systemctl restart apcupsd.service

Check /var/log/syslog for errors and check communication with:

apcaccess

NOTE: Currently this package is old and produces constant errors in the events log. - it may be better to use NUT

Using NUT for UPS

Install the required packages:

apt install nut

Edit the ups.conf file.

nano /etc/nut/ups.conf

Add the following at the bottom of the file.

[apc]
driver = usbhid-ups
port = auto
desc = "Back-UPS BX750MI"
override.battery.charge.low = 50
technical/24.04_ups_setup_with_nut.1767653219.txt.gz · Last modified: by mark_scottworld.net

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki