Difference between revisions of "Setting up a NUT Client"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Install NUT client=
* <code>sudo apt install nut-client</code>
== Select your mode ==
== Select your mode ==
* <code>sudo vi /etc/nut/nut.conf</code>
* <code>sudo vi /etc/nut/nut.conf</code>
(I'm installing NUT on VMs and accessing the NUT server in it's own VM on the same ESXi server...)
MODE=netclient
== Case #1: Non-GUI systems ==
(Running Debian 11...)
=== Select your REMOTE hardware ===
* <code>sudo vi /etc/nut/upsmon.conf</code>


(In my case, I've installed NUT on a VM and it'll be managing the UPS for the whole server...)
MONITOR cyberpower@ups.server.tld 1 username password client
MODE=netclient
 
(where '''ups.server.tld''' is the name or IP of your NUT server.)


==  ==
==  ==

Latest revision as of 23:22, 11 November 2023

Install NUT client

  • sudo apt install nut-client

Select your mode

  • sudo vi /etc/nut/nut.conf

(I'm installing NUT on VMs and accessing the NUT server in it's own VM on the same ESXi server...)

MODE=netclient

Case #1: Non-GUI systems

(Running Debian 11...)

Select your REMOTE hardware

  • sudo vi /etc/nut/upsmon.conf
MONITOR cyberpower@ups.server.tld 1 username password client

(where ups.server.tld is the name or IP of your NUT server.)