So, you might have a Synology NAS or NVR, and you might have a UPS, for example by APC which uses USB, connected to your Synology device.

Synology works fine that way, but now you also have a Linux server connected to that UPS and would like to share… I’ll show you how!

Synology Config

First go to Control Panel > Hardware & Power > UPS

Make sure “Enable UPS support” is checked, and “Enable network UPS server” is also checked.

Click the “Permitted Synology NVR/NAS Devices” button, and enter the (local) IP address of your Linux server.

Click OK and then Apply. That’s it!

Linux Server Config

In this example, we’ll be using Ubuntu Server, but this should be similar on different systems.

It seems Synology uses NUT for their UPS handling, so we’ll install NUT on our Ubuntu server:

sudo apt update
sudo apt install nut

Now edit the file /etc/nut/nut.conf, for example with nano:

sudo nano /etc/nut/nut.conf

and change MODE=none to:

MODE=netclient

Hit CTRL+S to save and CTRL+X to exit.

Now edit the file /etc/nut/upsmon.conf, for example with nano:

sudo nano /etc/nut/upsmon.conf

and add a line at the very bottom that reads:

MONITOR ups@SYNOLOGYIP 1 monuser secret slave

Change SYNOLOGYIP to the actual (local) IP address of your Synology device.

Again, hit CTRL+S to save and CTRL+X to exit.

Now, finally, we restart NUT:

sudo systemctl restart nut-client.service

and you can check it worked with:

sudo systemctl status nut-client.service

And that’s all there is to it!

I run this blog in my free time, if I helped you out, consider donating a coffee. (: