Proxmox

Servers, Proxmox & Power 14 July 2025 1 min read (133 words)

πŸ”§ 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.