NUT vs apcupsd for Linux and Proxmox Homelabs
Compare NUT and apcupsd for Linux and Proxmox. Match your UPS to a driver, choose where to run the monitor, and plan the order for guest shutdown.
Choose Network UPS Tools (NUT) for supported UPS models across brands or when several Linux or Proxmox hosts sharing one UPS need to coordinate shutdown. For a single Proxmox or Linux host with a supported APC UPS, apcupsd is a good choice when you want a dedicated daemon to trigger shutdown during an outage. NUT hardware list · NUT network roles · apcupsd configuration manual
Match the software to your UPS
Look up the exact model and connection in the NUT hardware list. For example, it lists usbhid-ups for the APC Smart-UPS SMT750I over USB. For one supported USB HID UPS, a NUT ups.conf entry like the following names the device rackups. NUT hardware list · NUT driver configuration
[rackups]
driver = usbhid-ups
port = auto
For a supported APC UPS using apcupsd’s USB mode, use these connection settings in your apcupsd configuration file (/etc/apcupsd/apcupsd.conf by default on Debian trixie). Leave the value after DEVICE blank so apcupsd can locate the USB device. apcupsd configuration manual
UPSCABLE usb
UPSTYPE usb
DEVICE
Place the monitor on each host
Identify which machine has the USB cable and which machines draw power from that UPS. If the Proxmox node needs to shut down during an outage, put its shutdown monitor on the node. Use the local row if the node has the USB cable and is the only host the UPS protects. Use the network row if UPS monitoring spans hosts. NUT host roles · apcupsd configuration manual
| Layout | NUT | apcupsd |
|---|---|---|
| One UPS and one host | Use MODE=standalone in nut.conf. Run the driver, upsd and primary upsmon on that host. NUT modes · NUT host roles | Run the daemon on the UPS-connected host. For local status queries, use NETSERVER on and bind NISIP to 127.0.0.1. apcupsd configuration manual |
| One UPS and multiple hosts | On the UPS-connected host, use MODE=netserver and set LISTEN in upsd.conf to the address the clients can reach. Set each other protected host to MODE=netclient and configure its upsmon as secondary. NUT modes · NUT configuration | Enable NETSERVER on on the UPS-connected host and set NISIP to its LAN address. On a remote client, configure UPSTYPE net and set DEVICE to the server’s hostname:port. apcupsd configuration manual |
Compare the shutdown triggers
NUT. In the manual’s single-UPS setup, on battery plus low battery (OB LB) is the critical state. The primary sets the forced shutdown flag (FSD). If secondaries are present, they call their shutdown commands. The primary waits up to HOSTSYNC for them to disconnect before proceeding with its own shutdown. NUT shutdown sequence
apcupsd. During a power failure, apcupsd starts shutdown when the first applicable condition from BATTERYLEVEL, MINUTES or TIMEOUT is met. BATTERYLEVEL uses remaining charge, MINUTES uses the UPS’s estimate of remaining runtime, and TIMEOUT uses elapsed time after power failure. The timer is useful for simple-signalling units that lack charge or runtime readings. apcupsd power failure settings
Check UPS status from the host
Use the row for your stack once its server is running. Substitute your UPS name for rackups and your server address for ups-server.example. If the status server listens only on its network address, query that address even from the server itself. The apcupsd examples use the default NIS port. NUT query syntax · apcupsd status manual
| Tool | Local-only setup | Network setup |
|---|---|---|
| NUT | upsc rackups@localhost ups.status | upsc rackups@ups-server.example ups.status NUT configuration · upsc manual |
| apcupsd | apcaccess status 127.0.0.1:3551 | apcaccess status ups-server.example:3551 apcupsd status manual |
In NUT, OL means the UPS is running on line power. The apcupsd STATUS field can report ONLINE. For NUT, use a separate shutdown test to check that the host halts before battery power runs out. NUT status and testing · apcupsd status fields
Plan Proxmox guest shutdown
For containers on the same node, set Start/Shutdown order to reflect dependencies. Proxmox shuts those containers down in reverse startup order. For example, set a DNS container to order 1 and the application container that uses it to order 2. The application container then shuts down before the DNS container. Proxmox container documentation
Evidence and limits. The NUT 2.8.5 manual, the manuals from Debian’s apcupsd 3.14.14-5 package, and the Proxmox VE container guide were checked on November 26, 2026. No hardware tests were performed. NUT manual · Debian apcupsd manual · Proxmox container docs
Browse the Homelab UPS homepage or the article index.