Choose a UPS management card when you want direct network access to the UPS and NUT’s snmp-ups driver supports the card. Choose a dedicated USB Network UPS Tools (NUT) server when NUT supports your UPS over USB and every protected host can run a compatible shutdown client. Either NUT design can shut down several hosts sharing one UPS. NUT SNMP driver manual · NUT multi-host design
Choose the shutdown path
| Check | UPS management card with NUT | Dedicated USB NUT server |
|---|---|---|
| UPS connection | A UPS management card can have its own IP address on the LAN. NUT SNMP driver manual | A USB cable connects the UPS to the NUT primary. The primary runs the UPS driver, the upsd data server, and upsmon. NUT multi-host design |
| Before you buy | Check the UPS model and card pairing in the NUT hardware list. NUT hardware list | Look up the UPS model and USB connection in the hardware list. Use the driver listed for that pairing. NUT hardware list · NUT driver setup |
| What must stay up | The NUT server needs a working network path to the management card. NUT SNMP driver manual | The USB-connected primary and network path must stay reachable long enough for secondaries to receive the shutdown signal. NUT shutdown sequence |
In both designs, each protected host other than the primary runs upsmon as a secondary and needs a working network path to upsd on the primary. NUT multi-host design
If you already have a card and prefer NUT clients, check whether NUT’s snmp-ups driver supports the card. That setup lets a NUT server communicate with the UPS over the network. NUT SNMP driver manual
Set up a dedicated USB NUT server
This example assumes a single UPS feeding the primary and the other hosts, each with one power supply. It uses a NUT package that honors nut.conf and a USB UPS listed for usbhid-ups. If the list shows a different driver, follow its documented ups.conf settings, including any additional flags it requires. NUT hardware list · NUT configuration notes · NUT mode settings
On the dedicated server, connect the UPS by USB and set MODE=netserver in nut.conf. Use these entries in the server’s configuration files. Replace NUT_LAN_IP with the server’s actual LAN IP and replace the two password placeholders. Keep the credential files readable only by the accounts that need them. NUT mode settings · NUT configuration notes
| File on the dedicated server | Settings |
|---|---|
ups.conf | [rackups]driver = usbhid-upsport = auto |
upsd.conf | LISTEN 127.0.0.1 3493LISTEN NUT_LAN_IP 3493 |
upsd.users | [rackprimary]password = PRIMARY_PASSWORDupsmon primary[racksecondary]password = SECONDARY_PASSWORDupsmon secondary |
upsmon.conf | MONITOR rackups@localhost 1 rackprimary PRIMARY_PASSWORD primary |
On each protected secondary, set MODE=netclient in nut.conf. In its upsmon.conf, use the secondary account and the same LAN IP and password you set on the server. NUT mode settings · NUT configuration notes
MONITOR rackups@NUT_LAN_IP 1 racksecondary SECONDARY_PASSWORD secondary
Use MINSUPPLIES 1 and a SHUTDOWNCMD appropriate to the OS on both roles. NUT’s Unix example is SHUTDOWNCMD "/sbin/shutdown -h +0". On the primary, check that POWERDOWNFLAG and your OS shutdown hook are configured if you want NUT to turn off UPS output. NUT configuration notes · NUT monitor settings
On operating systems with the documented service layout, start the packaged services after applying the configuration. In that layout, nut-server manages the data server on the primary and nut-monitor manages upsmon on each host, including the primary. Query the local and remote status before testing a shutdown. NUT configuration notes
| Where | Read-only check |
|---|---|
| Dedicated server | Run upsc rackups@localhost ups.status. Look for OL while the UPS is on line power. |
| Each secondary | Run upsc rackups@NUT_LAN_IP ups.status with the server’s actual IP. Receiving a UPS status value confirms that host can read the UPS state over the LAN. |
| Dedicated server | Run upsc -c rackups@localhost and check that the expected clients are connected. Check the NUT logs for successful monitor logins. |
NUT status and log checks · Read-only upsc commands
In the documented low-battery sequence, the primary sets the forced shutdown flag after the UPS reports on-battery and low-battery status. The secondaries start their local shutdowns. The primary waits up to HOSTSYNC for their monitors to disconnect before proceeding. If a secondary’s FINALDELAY exceeds the primary’s HOSTSYNC, the primary stops waiting before that secondary disconnects. NUT shutdown sequence · NUT monitor settings
Verify the rack before relying on it
- Keep the signal path powered. Put the switch linking the hosts to the card or NUT server on battery-backed power. Do the same for any other network appliance on that path. In the USB design, include the dedicated NUT server in the power plan. NUT multi-host design
- Check host shutdown. Observe the host shutdowns when the configured trigger fires. Confirm each OS halts before the battery runs out or the UPS cuts output. With NUT, check the secondary shutdowns and the primary’s wait separately. NUT shutdown and test guidance
- Check power return. If you configured the UPS to turn off its output, verify that output returns as intended. Then confirm that the protected hosts and their monitoring services restart. NUT shutdown and test guidance
Evidence and limits. NUT 2.8.5 documentation was checked on November 26, 2026. The procedures were documented without a hands-on run.