π§ Configuration:
β’ apcupsd is installed and running β
β’ UPS (Smart-UPS 1500) detected and reporting via USB β
β’ /etc/apcupsd/apcupsd.conf includes:
β’ ONBATTERYDELAY 6
β’ TIMEOUT 600 (shutdown after 10 min on battery)
β’ BATTERYLEVEL, MINUTES also correctly defined β
β‘ Simulated Tests:
β’ Manual onbattery trigger tested β
β’ wall terminal alerts confirmed working β
β’ msmtp email integration now fixed (no -s error) β
π§ͺ Shutdown flow:
β’ apccontrol runs doshutdown, which calls:
/sbin/shutdown -h now βapcupsd UPS forced shutdownβ
β The correct command for Proxmox to shut down cleanly.
β Final Summary: Yes, Proxmox Will Shut Down Automatically
If the UPS:
β’ loses mains power and
β’ stays on battery for >10 minutes (or any other threshold we set)
β Proxmox will shut itself down safely, thanks to apcupsd.