Nut Server Install

About two years ago I bought a new UPS, and I wanted a way to shut down all the devices connected to it and automatically power them down in the event of power loss. I initially thought I could use my Synology NAS to act as the controller and communicate the UPS status but the built in client has limited options exposed in the GUI. I did not want to customise via the CLI in case future updates wiped out my changes. After spending some time researching the topic I settled on nut as a good open-source solution.

Nut On CentOS 7

The CentOS RPM package seems quite broken in my experience. I had it working but it took a lot of workarounds to get it to this point and I'm not entirely happy with it. To make it work you must:

Nut on Raspberry Pi

After my frustrating experience with nut on CentOS I decided to try setting it up on my RPI. The install was much smoother, and I did not encounter any of the above issues. I found several websites that provided excellent guides on understanding the various configuration options, please Reference section below.

In the end I created an Ansible role to install nut on RPI: colshine1/nutmon

References

Synology Client Information

RPi Setup

Web Monitoring

Documentation