From b4569767b52648d12ecab2bff05f7c151b37754f Mon Sep 17 00:00:00 2001 From: JamesTurland Date: Mon, 9 Feb 2026 10:05:06 +0000 Subject: [PATCH] update conifg --- NUT-Server/commands.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 NUT-Server/commands.md diff --git a/NUT-Server/commands.md b/NUT-Server/commands.md new file mode 100644 index 0000000..74f33dd --- /dev/null +++ b/NUT-Server/commands.md @@ -0,0 +1,42 @@ +# Config file for NUT server +``` +# Network UPS Tools: upsd.users +# User access definitions for upsd + +# Admin user with full access +[admin] + password = "admin" + actions = SET + actions = FSD + instcmds = ALL + upsmon primary + +[client] + password = client + upsmon secondary + +# Monitor user for upsmon with master privileges +[monuser] + password = "monpass" + upsmon ups = master + actions = SET + actions = FSD + instcmds = ALL +``` + +# Commands for client setup +``` +sudo apt install nut-client + +upsc ups@192.168.200.116 + +sudo nano /etc/nut/upsmon.conf + +MONITOR ups@192.168.200.116 1 client client secondary + +sudo nano /etc/nut/nut.conf -> MODE=netclient + +sudo systemctl restart nut-client + +sudo systemctl enable nut-client +``` \ No newline at end of file