Difference between revisions of "Setting up a NUT Client"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
 
(2 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>
Line 9: Line 13:
* <code>sudo vi /etc/nut/upsmon.conf</code>
* <code>sudo vi /etc/nut/upsmon.conf</code>


  MONITOR cyberpower@ups.server.tld 1 username password slave
  MONITOR cyberpower@ups.server.tld 1 username password client
 
(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.)