UPS device state sharing

I bought a UPS and attached it to my Unraid server so it will shutdown when the main power goes down. However I also like to add my Linux Server (Raspberry Pi with Docker) to the UPS and shutdown when the power goes down.

Is there a way to share the power outage signal from the UPS (USB) cable or broadcast it in the network via Unraid? How do you handle graceful shutdown of multiple devices?

Yes, you’ll want to install the Network UPS Tools (NUT) server on unraid. There’s a plugin available in
Community Apps. You will also need to install and configure the NUT client on your Pi and anything else you want to shut down. Also, make sure you test for proper shutdown under controlled conditions to ensure you got the timing right and things go down smoothly.

1 Like