Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PFSense as UPS NUT Slave - Force Shutdown on Battery?

    Scheduled Pinned Locked Moved UPS Tools
    2 Posts 2 Posters 515 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      niloc1234
      last edited by

      I have my Synology as a UPS NUT Server. PFSense is a slave. I have a custom script running on my Synology that actually shuts it down when it loses power rather than just puts it to sleep, so Synology won't actually fire the command to shut PfSense down. I've configured PFSense as a slave and I can see the UPS stats. What's the easiest way to just send a "-shutdown -h" command 90 seconds after PFSense detects that it's on UPS power?

      dennypageD 1 Reply Last reply Reply Quote 0
      • dennypageD
        dennypage @niloc1234
        last edited by

        @niloc1234 NUT, including the master/slave relationship, is designed around LB (Low Battery) management. You would either need your custom Synology stuff to wait for LB before taking action, or you would have to send a FSD (Forced ShutDown) to manage your own shut down of the slaves.

        NUT is probably one of the most over and/or incorrectly configured systems in existence. Unless someone really understands what they are doing with NUT, I generally recommend that they leave it alone to do its job as designed.

        1 Reply Last reply Reply Quote 0
        • stephenw10S stephenw10 moved this topic from pfSense Packages on
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.