Automated NUT Server Install

Here’s a quick way to automate your battery backups and UPSes with and open source service called NUT server and a raspberry Pi.

📺 Watch Video

NUT Server Install script

Be sure to check out (and star) the repo with an automated NUT server install!


Be sure you have a raspberry pi or any machine running Debian / Ubuntu Linux.Then plug in your UPS via USB and then SSH into your Pi.

Then download th script.


Make the script executable.

sudo chmod +x

Run the script.

sudo ./

Answer a few questions.

Be sure to keep your SNMP community string safe and treat this like a password.

You can now access NUT in a browser by going to:


You can also query your device using SNMP

snmpwalk -v2c -c yourSNMPv2cCommunity yourRasberryPiIPaddress .


To see advanced configuration and configuring NUT Server and NUT client, see my Network UPS Tools (NUT) Ultimate Guide.

Join the conversation

⚙️ See all the hardware I recommend at

🚀 Don’t forget to check out the 🚀Launchpad repo with all of the quick start source files

This post is licensed under CC BY 4.0 by the author.