it took me abt 2min to install the nut-module under nethserver… If the proxmox host would be the master I would not need to configure the nethserver vm as a client because the vms are shutdown automatically…
I just need a way to configure the nethserver vm to send out a shutdown command to a list of servers?
you can configure nut as server on neth - and nut as client on the others.
Much less ssh issues and headaches! NUT is very simple!
I have NethServer installed as NUT client - I can view all UPS data from the Web GUI - which proxmox does not have. I use Zabbix to montorr my USVs, but it’s still nice to have a local client installed.
Less work to start a script - remozely? You must be joking!
You need to assure password-less logins from Neth to Proxmox (And any other servers).
The script would also need to use another user than root (security reasons, it would work also with root), and then use sudo…
It works, but takes longer than the 3 Mins i need to set up NUT client & server…
In the shown use case, I have a RPI3 running only NUT as server.
Zabbix queries its values and displays them.
Proxmox, The Synology NAS and other VMs use either NUT client (Synology uses NUT out of the box, with hardcoded user/password, like Nethserver had a few years ago, still version 7!), or Proxmox qemu-guest-agent.
NUT has 6 config files, but most only need a single entry at the bottom.