DeskTux

Linux on Desktops

User Tools

Site Tools


apps:nut

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
apps:nut [2019-02-10 15:03] – created jensapps:nut [2019-02-10 15:34] (current) – [Configuration] jens
Line 19: Line 19:
  
 ===== Configuration ===== ===== Configuration =====
-To configure NUT you need to edit files.+To configure NUT you need to edit a couple of files.
  
 ==== /etc/nut/nut.conf ==== ==== /etc/nut/nut.conf ====
Line 35: Line 35:
 </code> </code>
  
-To get the ''vendorid'' simply use ''lsusb'', for me it looks like thischeck the second line:+To get the ''vendorid'' simply use ''lsusb''. For me it looks like this (check the second line):
  
 <code> <code>
Line 46: Line 46:
 </code> </code>
  
 +==== /etc/nut/upsd.users ====
 +Create a user that is allowed to monitor:
 +
 +<code>
 +[upsmon]
 +        password = <yourverysecretpassword>
 +        upsmon master
 +</code>
 +
 +==== /etc/nut/upsmon.conf ====
 +Enter a UPS that should be monitored:
 +
 +<code>
 +MONITOR myups@localhost 1 upsmon <yourverysecretpassword> master
 +</code>
 ===== Start ===== ===== Start =====
 Afterwards, start the necessary services. First, the driver: Afterwards, start the necessary services. First, the driver:
Line 81: Line 96:
 </code> </code>
  
-Finally, start the UPS Server and you are good to go:+Finally, start the UPS services and you are good to go:
  
   systemctl start nut-server   systemctl start nut-server
 +  systemctl start nut-client
 +  systemctl start nut-monitor
apps/nut.1549807401.txt.gz · Last modified: 2019-02-10 15:03 by jens