User Tools

Site Tools


software:nut:freebsdclient

Differences

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

Link to this comparison view

Next revision
Previous revision
software:nut:freebsdclient [2025/04/14 21:46] – created rodolicosoftware:nut:freebsdclient [2025/04/14 22:10] (current) rodolico
Line 21: Line 21:
  
 <file autoconf upsmon.conf> <file autoconf upsmon.conf>
 +# standard default values for monitoring
 MINSUPPLIES 1 MINSUPPLIES 1
 SHUTDOWNCMD "/sbin/poweroff" SHUTDOWNCMD "/sbin/poweroff"
Line 34: Line 35:
 # this is what we're monitoring # this is what we're monitoring
 MONITOR ups1@192.168.1.100:3493 1 upsmon mypassword slave MONITOR ups1@192.168.1.100:3493 1 upsmon mypassword slave
-</conf>+</file>
  
 Start the service Start the service
 <code bash>service nut_upsmon start</code> <code bash>service nut_upsmon start</code>
 +
 +If you get an error, run the following command to see what config is messed up
 +<code bash>upsmon -DD</code>
 +This runs upsmon in the foreground, with the debug flag on. Press ctl-c to exit
  
 ===== Links ===== ===== Links =====
software/nut/freebsdclient.1744685173.txt.gz · Last modified: 2025/04/14 21:46 by rodolico