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.
To use a Synology NAS as the NUT server for Proxmox VE and TrueNAS, connect the UPS to the NAS and tick Enable network UPS server on the DSM UPS tab. Then run NUT’s upsmon on the Proxmox VE host in netclient mode with a MONITOR line that names the UPS on the NAS, and put the TrueNAS UPS service in Slave mode with the NAS as its remote host.
How the pieces fit
The Network UPS Tools (NUT) project’s list of related projects says Synology has worked closely with Arnaud Quette to integrate UPS support on all its devices. The same page says the ups-mqtt tool, which fetches data from a NUT server, “Can be used for UPS connected to Synology NAS with UPS Network Server enabled”. In DSM, the NAS connected to the UPS by USB or network acts as a “network UPS server”. It receives UPS information and relays it to client NAS units.
In the NUT manual’s configuration notes, the shutdown monitor is upsmon. When a system only monitors a UPS over the network and another system is the primary, that upsmon is a secondary. TrueNAS uses NUT for its UPS support, and its UPS service names the two roles Master and Slave.
| Machine | Role | Where you configure it |
|---|---|---|
| Synology NAS with the UPS cable | Network UPS server | Control Panel > Hardware & Power, UPS tab |
| Proxmox VE host | NUT netclient, upsmon secondary | /etc/nut/nut.conf and /etc/nut/upsmon.conf |
| TrueNAS system | UPS service in Slave mode | System > Services > UPS |
Turn on the network UPS server in DSM
On the Synology NAS that is connected to the UPS, open Control Panel > Hardware & Power and go to the UPS tab. Synology’s DSM 7 UPS help gives these steps:
- Connect the UPS to a USB port of the NAS.
- Tick Enable UPS support and select USB UPS from the UPS type menu. For an SNMP UPS, select SNMP UPS and fill in the SNMP UPS IP address, MIB, version and community fields instead.
- Under Time before Synology NAS enters Standby Mode, choose Until low battery or Customize time. Synology notes that, whichever you choose, the NAS automatically enters Standby Mode when it is low on power.
- Tick Enable network UPS server.
- Click Permitted Synology NAS Devices, enter the IP addresses of the client Synology NAS devices, click OK, then click Apply.
The field is called Permitted Synology NAS Devices. Synology documents it as the place to enter the IP addresses of the client Synology NAS devices that may connect to this UPS. Synology’s page does not say that other clients, such as Proxmox VE or TrueNAS, can be entered there.
Synology also lists two network requirements, written for Synology clients. All the NAS units should be on the same network. The switch or hub each one connects to should be plugged into the same UPS, or the NAS units cannot relay UPS information during a power failure.
Take care with Shut down UPS when the system enters Standby Mode. Synology says that with it enabled, the NAS will be shut down immediately upon the loss of power source.
Find the UPS name and the NUT account
A NUT client addresses a UPS as <upsname>@<hostname>, as the upsmon.conf manual describes. Once NUT is installed on the Proxmox VE host (next section), upsc can show what the NAS serves. Replace 192.0.2.10 with your NAS address in every example on this page.
upsc -l 192.0.2.10
upsc myups@192.0.2.10 ups.status
The first command lists all UPS names configured at that host, one per line. In the second, replace myups with a name that the first command returned. The upsc manual says that naming a variable displays the value of that variable only, so the second command prints just the status value, such as OL for a UPS on line power. In the status value, OB means on battery and LB means low battery, as the NUT manual’s configuration notes explain. Their example for a UPS that has reached low battery shows both tokens, OB LB, in upsc’s full, labeled listing as ups.status: OB LB.
The client also needs a NUT user name and password. NUT requires the pair on a client’s MONITOR line to match an entry in the server’s upsd.users file. Synology’s UPS help shows no user name or password field for the server or for a client Synology NAS, which enters the server’s IP address in the Network UPS server IP field. Confirm the account your NAS’s NUT server accepts before you rely on the setup.
Proxmox VE: run upsmon as a network client
Proxmox VE is based on Debian GNU/Linux, and the full range of Debian packages is available. The NUT installation instructions for Debian say to install the nut package with apt-get, aptitude or Synaptic. Debian and derivatives keep the NUT configuration in /etc/nut.
Set the mode in /etc/nut/nut.conf. The nut.conf manual documents netclient as the mode for a host where only upsmon is required:
MODE=netclient
Secure upsmon.conf before you add the password. The NUT manual recommends owner root, group nut, readable by the group and not by the world:
chown root:nut /etc/nut/upsmon.conf
chmod 0640 /etc/nut/upsmon.conf
Then add the monitor and shutdown lines to /etc/nut/upsmon.conf:
MONITOR myups@192.0.2.10 1 monuser mypass secondary
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
In the MONITOR line, replace myups with the UPS name from upsc -l, 192.0.2.10 with your NAS address, and monuser and mypass with the NUT user name and password that your NAS’s NUT server accepts.
The 1 after the UPS is the power value, the number of power supplies this UPS feeds on the host. NUT says most normal computers have one. The manual says 0 can be used to monitor a UPS that does not actually supply power to this system, for notifications about status changes without shutting down when that UPS goes critical. MINSUPPLIES 1 matches the default, which NUT calls acceptable for normal computers with one power supply.
The NUT manual says that on operating systems with service management frameworks, the monitoring client life-cycle is managed by the nut-monitor service. The manual also says the separate startup-scripts step is not needed if NUT was installed from packages, and to follow the package’s own instructions for enabling services.
Check the system log after upsmon starts. The NUT manual shows a successful start as an upsmon “Startup successful” message, and says errors at this point are probably due to the upsmon or upsd config files. To list the clients connected to the UPS on the NAS, run the following, again replacing myups with the UPS name from upsc -l:
upsc -c myups@192.0.2.10
The Proxmox VE virtual machine documentation says Proxmox VE uses the reverse of the start order for shutdown. That order can only be enforced between virtual machines running on the same host, not cluster-wide, and VMs managed by the HA stack are skipped by the startup and shutdown algorithm. Each VM’s Shutdown timeout is how long Proxmox VE waits for the VM to be offline after the shutdown request. It defaults to 180 seconds, and a VM still online after the timeout is stopped forcefully.
TrueNAS: set the UPS service to Slave mode
In TrueNAS, go to System > Services, find UPS and click edit. The TrueNAS 25.10 UPS Services screen documentation describes these fields:
| Field | What to enter | What TrueNAS documents |
|---|---|---|
| Identifier | A name for the UPS | Required. Alphanumeric, period, hyphen and underscore characters are allowed. |
| UPS Mode | Slave | Slave shuts this system down before the master system. It shows Remote Host and Remote Port and removes Driver. |
| Remote Host | The NAS IP address | Required. A valid IP address for the remote UPS master system. |
| Remote Port | The open network port number of the master system | Required. The default port is 3493. |
| Monitor User and Monitor Password | A user and password | Enter a user to associate with this service. The new password cannot include a space or #. |
| Shutdown Mode | UPS goes on battery, or UPS reaches low battery | The battery condition that starts the shutdown. |
| Shutdown Timer | Seconds to wait on battery | Applies only with UPS goes on battery. No shutdown if power returns during the countdown. |
The TrueNAS documentation states that TrueNAS High Availability (HA) systems are not compatible with a UPS.
Shutdown order and timing
The NUT manual sets out the order for one UPS feeding several systems:
- The UPS goes on battery, then reaches low battery.
- The upsmon primary sets the forced shutdown (FSD) flag for the secondaries.
- Each secondary waits FINALDELAY seconds, typically 5, then runs its SHUTDOWNCMD.
- The primary waits up to HOSTSYNC seconds, typically 15, for secondaries to disconnect. If any are still connected after this time, it stops waiting and proceeds with the shutdown anyway. Its own shutdown sequence then waits FINALDELAY seconds before it runs SHUTDOWNCMD.
On TrueNAS, with Shutdown Mode set to UPS goes on battery, the Shutdown Timer is the number of seconds the UPS waits before initiating shutdown.
Synology’s help describes the server side through its Standby Mode timer instead. Under Customize time, you can specify when the NAS should enter Standby Mode upon power failure.
Test before you rely on it
Synology’s help advises a power outage simulation test before using the UPS in production, by removing the UPS power cable. The NUT manual also says to test the shutdown sequence before leaving systems unattended. A successful sequence is one where the OS halts before the battery runs out, and the system restarts when power returns.
If you enable Shut down UPS when the system enters Standby Mode, Synology says to also tick Restart automatically after a power failure under Control Panel > Hardware & Power > General. That lets the NAS restart once power is restored.
Evidence and limits
This guide is compiled from Synology’s DSM 7 UPS help, the Network UPS Tools online manual and man pages (2.8.5 development documentation), the Proxmox VE 9.3 administration guide and the TrueNAS 25.10 documentation. The steps have not been run on test hardware. NUT notes that Debian packages may be several years behind the tip of development, so check the man pages installed on your host. All sources were checked on 26 November 2026.
More guides
See all guides on this site.
Sources
- Synology Knowledge Center: UPS (DSM 7 help)
- Network UPS Tools: Related projects
- Network UPS Tools: upsmon.conf(5)
- Network UPS Tools: nut.conf(5)
- Network UPS Tools: upsc(8)
- Network UPS Tools User Manual: Installation instructions
- Network UPS Tools User Manual: Configuration notes
- Proxmox VE Administration Guide: Host System Administration
- Proxmox VE Administration Guide: QEMU/KVM Virtual Machines
- TrueNAS 25.10 Documentation: UPS Services Screen
- TrueNAS 25.10 Documentation: UPS