User Tools

Site Tools


software:nut:opnsenseclient

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
software:nut:opnsenseclient [2025/04/14 19:07] rodolicosoftware:nut:opnsenseclient [2025/04/14 23:41] (current) rodolico
Line 1: Line 1:
-====== opnSense as a NUT Client ======+====== opnSense NUT Client ======
  
 There is some pretty good documentation at https://docs.opnsense.org/manual/how-tos/nut.html, though a few things caught me. I'm writing this up as a short recipe; see that documentation for the real way to do things. There is some pretty good documentation at https://docs.opnsense.org/manual/how-tos/nut.html, though a few things caught me. I'm writing this up as a short recipe; see that documentation for the real way to do things.
  
 +===== Recipe =====
   - Install the NUT client by going to System | Firmware  and installing os-nut   - Install the NUT client by going to System | Firmware  and installing os-nut
   - Configure at Services | Nut | Configuration (you may need to hit a different page to update your menu, I click on Lobby first)   - Configure at Services | Nut | Configuration (you may need to hit a different page to update your menu, I click on Lobby first)
Line 18: Line 19:
   - Click Apply   - Click Apply
   - Click Diagnostics and wait up to 20 seconds. If everything is correct, you will see a list of variables from the UPS (as given by the NUT server).   - Click Diagnostics and wait up to 20 seconds. If everything is correct, you will see a list of variables from the UPS (as given by the NUT server).
 +
 +===== Caveats =====
 +
 +The opnSense NUT client has a lot of presets. For example, it is designed to shut down the firewall when LOWBATT is detected (I think at ups.status), which is generally set to about 10%.
 +
 +opnSense logs problems to /var/log/system/latest.log with a process name of upsmon. So, the command <code bash>grep upsmon /var/log/system/latest.log</code> will show any issues.
 +
 +The configuration files are stored in /usr/local/etc/nut, so you an actually make manual edits there, but they are not guaranteed to survive an update. upsmon.conf appears to be the only configuration file with anything in it (other than comments) when you are set up as a netclient
software/nut/opnsenseclient.1744675627.txt.gz · Last modified: 2025/04/14 19:07 by rodolico