I didn't know about the Kreaweb guide until now. I followed the Techno Tim video for set up in my Proxmox cluster and it worked with some differences listed below as I'm using an old APC UPS which communicates over serial instead of USB. I had a quick look of the Kreaweb guide, and I believe it doesn't differ too much from the Techno Tim one. No you don't need to setup an LXC container. As listed in the docs, "We use a seperate LXC container because, for security reasons, we don NOT want to install a webserver directly onto our Proxmox PVE." It is just for the Apache server for presenting the UPS statistics in a graphical user interface. I don't use the apache server anyway, I'm using a docker container called PeaNUT that can connect to the NUT server and present the stats in a webpage. To put it in other words (which the Kreaweb guide didn't explain in depth), nut-server is used to communicate with the UPS and allow nut-clients to connect to them to get the latest status nut-client is used to listen to nut-server and run timers/scripts depending on the status of the server (e.g. shutting down the computer) For the Proxmox server that is connected to the UPS, you need to install both nut-server and nut-client, nut-server for communicating with the UPS and sharing it out and nut-client for getting the UPS status on the command line or shutting down itself For the "clients", just install nut-client directly on them so that it can monitor the server and shut down themselves. If you want a web GUI for presenting the NUT status and stats, run a separate LXC container with nut-client and apache as mentioned in the Kreaweb guide, or run a separate WebNUT or PeaNUT docker container. My major differences with the guides: One - Run the NUT server as root As I'm using an APC UPS with serial connection, I have to run the NUT server as root as the serial device /dev/ttyS0 is owned by root. Otherwise, the NUT server can't use the serial port. Example ups.conf: user = root pollinterval = 1 maxretry = 3 [apc-sc420] driver = apcsmart port = /dev/ttyS0 cable = 940-0024C desc = "APC Smart UPS 420VA SC420I" Two - upssched In the TechnoTim guide, the upssched.conf has the configuration AT ONBATT * START-TIMER earlyshutdown 30. This means that the computer will shutdown 30 seconds after the UPS is on battery, which is definitely too short and I changed it to a longer value (e.g. 1800 for 30 minutes). Also, most people would want the shutdown timer to cancel when the UPS comes back on line power, therefore, I have to add a line AT ONLINE * CANCEL-TIMER earlyshutdown there. In the Kreaweb guide, the early shutdown timer is removed altogether (you can see it has been crossed out). That means the computer will only shutdown when the UPS battery level is critical. If it is what you want then it is ok. But I would like to have Proxmox shutdown before reaching critical as shutting down all VMs then shutting down itself still consumes some time and power. Answer from kingman1234 on reddit.com
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Install NUT directly on Proxmox VE and control guests from here | Proxmox Support Forum
January 14, 2024 - Hi Everyone ! just configure the CT following this nice and easy tutorial, looks like everything works fine nut client and cgi OK but when i try to send the command upmon -c fsd in PVE shell i got this message and nothing happened !! #### root@pve:~# upsmon -c fsd Network UPS Tools upsmon 2.8.0 ...
🌐
KREAWEB
kreaweb.be › diy-home-server-2021-software-proxmox-ups
DIY HOME SERVER 2021 - Software - PROXMOX - NUT UPS Monitoring | KREAWEB
February 1, 2025 - The proper reason for this is, ... the PROXMOX host. Kind regards, Marc · Tks a lot! Not sure if is right place or of have time for my issue, but might help others as well; 1) The upsc apc850@192.168.2.22 from container can read from server; 2) http://192.168.2.x/cgi-bin/nut/upsstats.cgi show data if target to container 3) but the · upsmon give: Network UPS Tools upsmon 2.7.4 ...
Discussions

Config for Network UPS Tool (NUT) for Prolink | Proxmox Support Forum
I recently bought a Prolink PRO1501SFCU UPS for my Proxmox server. I watched Techno Tim's YouTube video on how to setup NUT but it doesn't seem to work for me. What I've done: 1. created a Proxmox debian turnkey core Linux container (unprivileged container = no; nesting = 1) 2. Installed nut... More on forum.proxmox.com
🌐 forum.proxmox.com
June 19, 2023
Proxmox and UPS best practice | Proxmox Support Forum
I just completed a single node PVE installation on a Intel NUC with a few VM and LXC (pfsense, home assistant, unifi controller, samba share, Win11) and everything is working really well. The Intel NUC is powered by a UPS with SNMP interface and I now would like to properly shut-down and restart... More on forum.proxmox.com
🌐 forum.proxmox.com
February 24, 2023
Network UPS Tools (NUT) as Ubuntu 22.04 LXC Container | Proxmox Support Forum
I wanted to setup an LXC Container to support 3 different UPS devices that control different systems. The end goal was to monitor these in Home Assistant for notifications and easy review. I ran into some issues and I'm sure there are better ways to do this but this is what I found worked... More on forum.proxmox.com
🌐 forum.proxmox.com
August 3, 2024
Any up-to-date guides for setting up Proxmox as a UPS NUT server?
I didn't know about the Kreaweb guide until now. I followed the Techno Tim video for set up in my Proxmox cluster and it worked with some differences listed below as I'm using an old APC UPS which communicates over serial instead of USB. I had a quick look of the Kreaweb guide, and I believe it doesn't differ too much from the Techno Tim one. No you don't need to setup an LXC container. As listed in the docs, "We use a seperate LXC container because, for security reasons, we don NOT want to install a webserver directly onto our Proxmox PVE." It is just for the Apache server for presenting the UPS statistics in a graphical user interface. I don't use the apache server anyway, I'm using a docker container called PeaNUT that can connect to the NUT server and present the stats in a webpage. To put it in other words (which the Kreaweb guide didn't explain in depth), nut-server is used to communicate with the UPS and allow nut-clients to connect to them to get the latest status nut-client is used to listen to nut-server and run timers/scripts depending on the status of the server (e.g. shutting down the computer) For the Proxmox server that is connected to the UPS, you need to install both nut-server and nut-client, nut-server for communicating with the UPS and sharing it out and nut-client for getting the UPS status on the command line or shutting down itself For the "clients", just install nut-client directly on them so that it can monitor the server and shut down themselves. If you want a web GUI for presenting the NUT status and stats, run a separate LXC container with nut-client and apache as mentioned in the Kreaweb guide, or run a separate WebNUT or PeaNUT docker container. My major differences with the guides: One - Run the NUT server as root As I'm using an APC UPS with serial connection, I have to run the NUT server as root as the serial device /dev/ttyS0 is owned by root. Otherwise, the NUT server can't use the serial port. Example ups.conf: user = root pollinterval = 1 maxretry = 3 [apc-sc420] driver = apcsmart port = /dev/ttyS0 cable = 940-0024C desc = "APC Smart UPS 420VA SC420I" Two - upssched In the TechnoTim guide, the upssched.conf has the configuration AT ONBATT * START-TIMER earlyshutdown 30. This means that the computer will shutdown 30 seconds after the UPS is on battery, which is definitely too short and I changed it to a longer value (e.g. 1800 for 30 minutes). Also, most people would want the shutdown timer to cancel when the UPS comes back on line power, therefore, I have to add a line AT ONLINE * CANCEL-TIMER earlyshutdown there. In the Kreaweb guide, the early shutdown timer is removed altogether (you can see it has been crossed out). That means the computer will only shutdown when the UPS battery level is critical. If it is what you want then it is ok. But I would like to have Proxmox shutdown before reaching critical as shutting down all VMs then shutting down itself still consumes some time and power. More on reddit.com
🌐 r/Proxmox
12
46
January 29, 2025
🌐
HardTechnology Blog
blog.hardtechnology.net › post › proxmox-nut
Configure Proxmox for Automatic Shutdown with your SNMP UPS with nut - HardTechnology Blog
November 2, 2025 - On moving Guests into proxmox the UPS management tier needs to be managed by the Hypervisor to ensure all guests are shutdown successfully independent of the OS or if you are using VMs or LXCs. To perform this we configure nut Network UPS Tools to shutdown the Proxmox host, and thus all Guests based on their configuration and shutdown order set in Proxmox, ensuring a safe termination of services.
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Config for Network UPS Tool (NUT) for Prolink | Proxmox Support Forum
June 19, 2023 - Network UPS Tools - UPS driver controller 2.8.0 Network UPS Tools - Generic Q* USB/Serial driver 0.32 (2.8.0) USB communication driver (libusb 1.0) 0.43 Using protocol: Voltronic-QS 0.07 No values for battery high/low voltages Using 'guesstimation' (low: 20.800000, high: 26.000000)!
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Proxmox and UPS best practice | Proxmox Support Forum
February 24, 2023 - Feb 25 23:40:48 dino apcupsd[663]: NIS server startup succeeded root@dino:~# apcaccess APC : 001,034,0789 DATE : 2023-02-25 23:40:48 +0000 HOSTNAME : dino VERSION : 3.14.14 (31 May 2016) debian UPSNAME : SNMP web pro CABLE : Ethernet Link DRIVER : SNMP UPS Driver UPSMODE : Stand Alone STARTTIME: 2023-02-25 23:40:48 +0000 MODEL : WPHVR1K0 STATUS : ONLINE LINEV : 220.0 Volts LOADPCT : 19.0 Percent BCHARGE : 100.0 Percent TIMELEFT : 57.0 Minutes MBATTCHG : 10 Percent MINTIMEL : 5 Minutes MAXTIME : 0 Seconds OUTPUTV : 229.0 Volts DLOWBATT : 0 Minutes ITEMP : 27.0 C ALARMDEL : No alarm BATTV : 27.3
🌐
The Smarthome Book
thesmarthomebook.com › 2022 › september › 2 › set up & monitor your ups: proxmox & home-assistant
Set up & Monitor your UPS: Proxmox & Home-Assistant | The Smarthome Book
September 2, 2022 - How to set up a NUT server in Proxmox, to work with your APC UPS. We also include monitoring using Docker (Portainer) and Home-Assistant.
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Network UPS Tools (NUT) as Ubuntu 22.04 LXC Container | Proxmox Support Forum
August 3, 2024 - Network UPS Tools (NUT) configuration credit goes to: https://www.kreaweb.be/diy-home-server-2021-software-proxmox-ups/#a_Create_LXC_container I created an LXC Container using the following settings: ubuntu-22.04 Privileged - true You need to find the Bus and Device # of the APC USB in order to passthrough to the container.
Find elsewhere
🌐
Medium
chribonn.medium.com › proxmox-nut-homelab-howto-step-5-install-nut-ups-solution-configure-nut-for-email-alerts-and-be74838fdccb
Proxmox-NUT Homelab HOWTO — Step 5 : Install NUT UPS Solution / Configure NUT for Email Alerts and System Shutdown / Test | by Alan Bonnici | Medium
January 16, 2025 - Proxmox-NUT Homelab HOWTO — Step 5 : Install NUT UPS Solution / Configure NUT for Email Alerts and System Shutdown / Test NUT will be installed on Debian (Proxmox) and will be linked to a single …
🌐
Reddit
reddit.com › r/proxmox › any up-to-date guides for setting up proxmox as a ups nut server?
r/Proxmox on Reddit: Any up-to-date guides for setting up Proxmox as a UPS NUT server?
January 29, 2025 -

Hey,

I would like to set up my Proxmox server as a UPS NUT server and connect several of my network devices as NUT clients. I found that most people refer to the Techno Tim video and the Kreaweb guide, however these guides seem to be a couple of years old + from what I've seen they differ in certain steps. I guess that coupled with the official documentation they are still good enough to get everything to work but I was wondering whether there are also other/newer guides I could check out.

On a side note, is it really necessary to set up a LXC container as a NUT client (as described in the Kreaweb guide) so that Proxmox basically monitors itself? What is the point? Is it just for the stats or is the client necessary for shutting down Proxmox itself?

Thanks!

Top answer
1 of 8
13
I didn't know about the Kreaweb guide until now. I followed the Techno Tim video for set up in my Proxmox cluster and it worked with some differences listed below as I'm using an old APC UPS which communicates over serial instead of USB. I had a quick look of the Kreaweb guide, and I believe it doesn't differ too much from the Techno Tim one. No you don't need to setup an LXC container. As listed in the docs, "We use a seperate LXC container because, for security reasons, we don NOT want to install a webserver directly onto our Proxmox PVE." It is just for the Apache server for presenting the UPS statistics in a graphical user interface. I don't use the apache server anyway, I'm using a docker container called PeaNUT that can connect to the NUT server and present the stats in a webpage. To put it in other words (which the Kreaweb guide didn't explain in depth), nut-server is used to communicate with the UPS and allow nut-clients to connect to them to get the latest status nut-client is used to listen to nut-server and run timers/scripts depending on the status of the server (e.g. shutting down the computer) For the Proxmox server that is connected to the UPS, you need to install both nut-server and nut-client, nut-server for communicating with the UPS and sharing it out and nut-client for getting the UPS status on the command line or shutting down itself For the "clients", just install nut-client directly on them so that it can monitor the server and shut down themselves. If you want a web GUI for presenting the NUT status and stats, run a separate LXC container with nut-client and apache as mentioned in the Kreaweb guide, or run a separate WebNUT or PeaNUT docker container. My major differences with the guides: One - Run the NUT server as root As I'm using an APC UPS with serial connection, I have to run the NUT server as root as the serial device /dev/ttyS0 is owned by root. Otherwise, the NUT server can't use the serial port. Example ups.conf: user = root pollinterval = 1 maxretry = 3 [apc-sc420] driver = apcsmart port = /dev/ttyS0 cable = 940-0024C desc = "APC Smart UPS 420VA SC420I" Two - upssched In the TechnoTim guide, the upssched.conf has the configuration AT ONBATT * START-TIMER earlyshutdown 30. This means that the computer will shutdown 30 seconds after the UPS is on battery, which is definitely too short and I changed it to a longer value (e.g. 1800 for 30 minutes). Also, most people would want the shutdown timer to cancel when the UPS comes back on line power, therefore, I have to add a line AT ONLINE * CANCEL-TIMER earlyshutdown there. In the Kreaweb guide, the early shutdown timer is removed altogether (you can see it has been crossed out). That means the computer will only shutdown when the UPS battery level is critical. If it is what you want then it is ok. But I would like to have Proxmox shutdown before reaching critical as shutting down all VMs then shutting down itself still consumes some time and power.
2 of 8
9
don't think anything has really changed. The technotim guide didn't work for me but the kreaweb did under 7.x and the same configuration is still working under 8.3.3
🌐
Gen
support.gen.uk › kb › faq.php
NUT (Network UPS Tools) Setup on Proxmox - GEN HelpDesk
Purpose: This guide configures NUT to monitor an SNMP-enabled UPS (such as Riello, APC, etc) on Proxmox, allowing for graceful shutdown during power events (A USB USB is very similar but doesn't require snmp or nut-snmp and you will probably use the usbid-ups driver which is included).
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Network UPS Connect (NOT HOST) | Proxmox Support Forum
January 31, 2025 - The driver should be : snmp-ups look at and test : https://networkupstools.org/docs/man/snmp-ups.html BR · Click to expand... This is talking about "building a driver." I wish I was good enough to know how to do that. Is it seriously that involved? Can I not just install a couple packages and run a config? If Proxmox doesn't easily work with network APC UPS cards, it may be a non-stater for me.
🌐
Proxmox
forum.proxmox.com › home › tags
network ups tools | Proxmox Support Forum
March 3, 2021 - Hello, I have my UPS (APC 650) connected to Synology NAS and have the NAS UPS Server enabled, entered with my Proxmax nodes IPs. Anyone has example to set up Proxmax nodes to herbinate/pause its VMs and then shut down itself with Network UPS Tools.
🌐
Unifi Controller
asokolsky.github.io › proxmox › nut.html
Configuring NUT with ProxMox | Notes to Self
root@fuji:/etc/nut# service ups-monitor status -l ups-monitor.service - LSB: Network UPS Tools monitor initscript Loaded: loaded (/etc/init.d/ups-monitor; generated) Active: active (exited) since Sat 2021-04-03 12:37:37 PDT; 40s ago Docs: man:systemd-sysv-generator(8) Process: 7225 ExecStart=/etc/init.d/ups-monitor start (code=exited, status=0/SUCCESS) Apr 03 12:37:37 fuji systemd[1]: Starting LSB: Network UPS Tools monitor initscript...
🌐
Proxmox VE Helper-Scripts
community-scripts.github.io › ProxmoxVE › scripts
Community-scripts
3 weeks ago - PeaNUT is a small dashboard for Network UPS Tools (NUT). It provides a web interface to monitor and manage UPS devices. PeaNUT allows users to view device status, retrieve information, and manage UPS parameters through its API.
🌐
TheTechCorner
blog.thetechcorner.sk › posts › UPS-proxmox-setup-homelab2-0
UPS proxmox setup (+ disable UPS beeping) [Homelab 2.0] | TheTechCorner
March 8, 2025 - Introduction In this post, I’ll walk you through a complete guide for integrating an UPS (Eaton 5E 850i) with your Proxmox setup using Network UPS tools aka NUT inside LXC container.
🌐
GitHub
github.com › Giancky79 › proxmox › wiki › NETWORK-UPS-TOOLS
NETWORK UPS TOOLS · Giancky79/proxmox Wiki · GitHub
nano /etc/nut/upsd.users [admin] password = mypass actions = SET instcmds = ALL [user] password = "test1234" upsmon slave
Author   Giancky79
🌐
GitHub
github.com › tteck › Proxmox › discussions › 3395
Network UPS Tools · tteck/Proxmox · Discussion #3395
I'm looking at the Network UPS Tools documentation and a couple guides and it's a LONG process that starts to get intimidating really quickly. I'd love to see a more wizard like setup procedure similar to your Proxmox post install script (which I love).
Author   tteck
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
NUT UPS on Container | Proxmox Support Forum
December 4, 2023 - root@EDDIE:~# upsdrvctl -D -d start Network UPS Tools - UPS driver controller 2.8.0 0.000000 [D1] Starting UPS: theUPS Network UPS Tools - Generic HID driver 0.47 (2.8.0) USB communication driver (libusb 1.0) 0.43 0.000000 [D1] debug level is '1' 0.000840 [D1] upsdrv_initups (non-SHUT)...
🌐
BB Archive
bbproj.org › posts › integrate-ups-and-proxmox
Integrate UPS and Proxmox | BB Archive
June 8, 2023 - Try the following to add NUT (Network UPS Tools) to Proxmox and use this to shutdown all elements of the server gracefully: