Illustrated title card for the guide: NUT vs apcupsd for Linux and Proxmox Homelabs

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.

By Homelab UPS Editorial Published Read 3 min

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

LayoutNUTapcupsd
One UPS and one hostUse MODE=standalone in nut.conf. Run the driver, upsd and primary upsmon on that host. NUT modes · NUT host rolesRun 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 hostsOn 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 configurationEnable 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

ToolLocal-only setupNetwork setup
NUTupsc rackups@localhost ups.statusupsc rackups@ups-server.example ups.status NUT configuration · upsc manual
apcupsdapcaccess status 127.0.0.1:3551apcaccess 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.

Sources

  1. Network UPS Tools Hardware Compatibility List
  2. Network UPS Tools User Manual Overview
  3. Network UPS Tools User Manual Configuration Notes
  4. Network UPS Tools nut.conf Manual
  5. Network UPS Tools upsc Manual
  6. Debian apcupsd.conf Manual
  7. Debian apcaccess Manual
  8. Proxmox VE Container Documentation

Related

Illustrated title card for the guide: Pure Sine Wave vs Simulated Sine Wave UPS for Active PFC

Pure Sine Wave vs Simulated Sine Wave UPS for Active PFC

Choose a UPS waveform for an active-PFC power supply, check the output on battery, and configure USB shutdown on a QNAP NAS running QTS.

Illustrated title card for the guide: How to Size a UPS for a NAS and Homelab (VA, Watts, Runtime)

How to Size a UPS for a NAS and Homelab (VA, Watts, Runtime)

Add up your NAS and homelab load in watts and VA, then use a manufacturer’s runtime chart to find a UPS that gives your gear time to shut down.

Illustrated title card for the guide: Synology NAS as a NUT Server for Proxmox and TrueNAS NUT shutdown guides

Synology NAS as a NUT Server for Proxmox and TrueNAS

Turn on the network UPS server in Synology DSM, then set up Proxmox VE upsmon and the TrueNAS UPS service as NUT clients of the NAS.