Jafner.net/homelab/fighter/NUT.md
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

1.1 KiB

NUT Configuration Details

  1. sudo apt-get install nut
  2. lsusb to get ID of UPS over USB, returned Bus 001 Device 005: ID 0463:ffff MGE UPS Systems UPS
  3. sudo nano /etc/nut/ups.conf. Add to bottom of file:
[EATON5PX1500RT]
driver = usbhid-ups
desc = "5PX1500RT"
port = auto
vendorid = 0463
productid = ffff
  1. sudo nano /etc/nut/upsd.conf. Add to bottom of file: LISTEN 0.0.0.0 3493.
  2. sudo nano /etc/nut/upsd.users. Add to bottom of file (replace with strong password):
[upsmon]
  password = <PASSWORD>
  upsmon primary
  1. sudo nano /etc/nut/upsmon.conf. Add to bottom of file (replace with password from step 5.): MONITOR EATON5PX1500RT@localhost 1 upsmon <PASSWORD> primary
  2. sudo nano /etc/nut/nut.conf. Find line with MODE=none and replace with MODE=netserver.
  3. sudo systemctl restart nut-server.service.
  4. sudo systemctl restart nut-monitor.service.
  5. upsc EATON5PX1500RT to get printout of current data from UPS.

Done!


Followed this guide.