Synology NUT (network UPS Tools): http://networkupstools.org
Connecting a Synology NAS to an UPS prevents dataloss or hardware failure in case of a power failure. It is also possible to turn off other network devices in case off a power failure.
Configuration:
- Synology NAS connected via Dataport to APC Back-UPS ES 700.
- Synology DSM 6.1 en 6.2
Configuration files Synology NAS :
Access the Synology NAS via the terminal: follow this steps
Change files at your own risk.
- /usr/syno/etc/ups
upsd.conf
upsd.users
ups.conf
- After changing the file you can reload the configuration:
upsd -c reload
Synology DSM settings
control panel:
- Hardware & Power, General
restart automatically after a power failure - Hardware & Power,UPS
Select Enable Network UPS Server, Permitted Disk Station Devices.
Select the devices who are allowed to connect.
UPS status information
- you have to be in the upsd.users file and be in the list of permitted disk station devices to check UPS status information.
run the following command to check UPS information and status from another device:
upsc <name ups, see NAS /usr/syno/etc/ups/ups.conf>@<ip address NAS>
for example upsc ups@192.168.1.10
To change a value for example for testing:
upsrw -s battery.charge.low=<new value> -u <user, defined in upsd.conf NAS> -p <password user in upsd.conf> <name ups, see NAS /usr/syno/etc/ups/ups.conf>@<ip address NAS>
NUT Client on Mac
- Check the following instructions to install and configure NUT client on macOS, see instructions.
NUT Client on Linux
- Check the following instruction to install and configure NUT client on Linux, see instructions.