Home Automated NUT Server Install
Post
Cancel

Automated NUT Server Install

Automated NUT Server Install

Description

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!

https://github.com/dzomaya/NUTandRpi

Instructions

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.

1
wget https://raw.githubusercontent.com/dzomaya/NUTandRpi/main/scripts/nutinstall.sh

Make the script executable.

1
sudo chmod +x nutinstall.sh

Run the script.

1
sudo ./nutinstall.sh

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:

http://yourRasberryPiIPaddress/cgi-bin/nut/upsstats.cgi

You can also query your device using SNMP

1
snmpwalk -v2c -c yourSNMPv2cCommunity yourRasberryPiIPaddress .1.3.6.1.4.1.8072.1.3.2.4.1.2

Advanced

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

⚙️ See all the hardware I recommend at https://l.technotim.live/gear

🚀 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.

I'll never run out of power! - Eaton and Tripp Lite UPS

Set up alerts in Proxmox before it's too late!