Contents

Synology UPS and other machines

If the other machines are powered by the same UPS that’s connected to the Synology NAS, you’re lucky: your NAS can use NUT to tell other machines about the UPS status. Here’s how to do it.

On the Synology NAS

Open the beloved web interface and login. The open the Control Panel and select “Hardware and Power”.

/2017/synology-ups/step1_hu52a0001ee3c2a11c2451b1d9813b27c5_33524_de209e1ec21a57cb198843ca9e42d3a1.webp

You’ll be presented this screen. Select “UPS”.

/2017/synology-ups/step2_hu0d53bc92ae80d3ad8124455ae99d552a_45974_b841537a55f09f167358c23f06d11c67.webp

Select “Enable network UPS server” and click on “Permitted DiskStation Devices”.

/2017/synology-ups/step3_hu333d3d400d4566232bcaad57c92d2325_47681_f4f47c0a650ffb290d3a19f97caa7d67.webp

On this popup window enter the IP address of the “UPS client” machine(s).

/2017/synology-ups/step4_hu947251e8dd879e6c63cd75b6808aae02_4624_3e5dffc13f6ed04a66cd84ee77503b59.webp

On a Debian Machine

Log into the machine and use apt to install “nut-client”.

1sudo apt install nut-client

Then edit /etc/nut/nut.conf and be sure to have the MODE line set like this:

1MODE=netclient

The other file to edit is /etc/nut/upsmon.conf: you should have a MONITOR line like this one:

1MONITOR ups@192.168.1.200 1 monuser secret slave

(Assuming that your Synology NAS is 192.168.1.200; replace with the correct address otherwise)

Now restart the service:

1sudo service nut-client restart

On a Windows Machine

Log into the machine, download and install the NUT binaries.

When the installation is completed, open WinNUT Configuration Tool.

/2017/synology-ups/winnut_hu05c0f673df28971bd9fba5428febdef6_10774_1701b58c36fc9cc4ded886264f3e8f3c.webp

Press “Stop WinNUT” and “Edit” to change the configuration file.

Search the “MONITOR” line and change it like this one:

1MONITOR ups@192.168.1.200 1 monuser secret slave

(Assuming that your Synology NAS is 192.168.1.200; replace with the correct address otherwise)

Save and close the file. Now you can click on “Apply and Start WinNUT”.

Conclusion

If everything went according to plan, you should now try and disconnect the power from the UPS. This should do what’s meant to do: keep powering the devices connected to it. And notify the Synology NAS about the situation. The NAS should now report the status to the other connected machine(s), which will react according to their configuration; if you’ve configured it right, all the devices will start a shutdown sequence and then the UPS will power off. Go, do it now!