User Tools

Site Tools


ups

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ups [2022/05/16 01:42] vissieups [2022/05/16 23:26] (current) – [Setup NUT (Network UPS Tools)] vissie
Line 2: Line 2:
  http://www.bernaerts-nicolas.fr/linux/75-debian/335-debian-wheezy-install-monitor-eaton-ups  http://www.bernaerts-nicolas.fr/linux/75-debian/335-debian-wheezy-install-monitor-eaton-ups
   sudo apt-get install nut nut-monitor   sudo apt-get install nut nut-monitor
 +To get vendorid and productid if you have more than one UPS:
 +  lsusb  
 +Lookup UPS from dmesg to find driver to use
 + https://networkupstools.org/stable-hcl.html
  
   sudo vim /etc/nut/ups.conf    sudo vim /etc/nut/ups.conf 
Line 9: Line 13:
 port = auto port = auto
 desc = "Eaton E5 1100" desc = "Eaton E5 1100"
 +vendorid = 0463
 +productid = ffff
 </sxh> </sxh>
   sudo upsdrvctl start   sudo upsdrvctl start
Line 23: Line 29:
   sudo systemctl restart nut-server.service    sudo systemctl restart nut-server.service 
   sudo systemctl status nut-server.service    sudo systemctl status nut-server.service 
 +  sudo systemctl enable nut-server.service 
   upsc eaton   upsc eaton
      
Line 57: Line 64:
 </sxh> </sxh>
   sudo systemctl status nut-monitor.service    sudo systemctl status nut-monitor.service 
- 
   sudo systemctl start nut-monitor.service    sudo systemctl start nut-monitor.service 
- +  sudo systemctl enable nut-monitor.service 
- +
  
ups.1652690569.txt.gz · Last modified: 2022/05/16 01:42 by vissie