After a lot of tweaking and experimenting, I created a script that automatically adds and saves the entries for me. This way, the values are no longer overwritten every time I restart the NUT service. In the meantime, I also had to replace the UPS because the old one was defective. However, I bought the exact same model again (ups.model = Back-UPS BX1200MI). But I’m still continuously getting the alarm messages... Any other solutions? #!/bin/bash
cd /etc/nut && chattr -i ups.conf &&
cat > ups.conf <<'EOF'
[ups]
driver = usbhid-ups
port = auto
pollonly
lbrb_log_delay_sec = 3
lbrb_log_delay_without_calibrating
EOF
cat ups.conf && chattr +i ups.conf && lsattr ups.conf