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

    Edit NUT config files?

    Scheduled Pinned Locked Moved UPS Tools
    6 Posts 2 Posters 1.6k 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.
    • F
      furom
      last edited by

      Re: NUT package

      It's really nice to find a package for NUT on pfSense, but at the same time the options are a bit limited, or did I miss something? Would it be possible to edit the files somehow for some extended configuraton, such as timers until shutdown an such?
      Thanks

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

        @furom said in Edit NUT config files?:

        It's really nice to find a package for NUT on pfSense, but at the same time the options are a bit limited, or did I miss something? Would it be possible to edit the files somehow for some extended configuraton, such as timers until shutdown an such?

        This would be configured in the Advanced section on the NUT settings page (Service -> UPS -> Settings).

        That said, I recommend that you don't change anything with advanced NUT configuration, such as timers until shutdown, unless you are well familiar with NUT and understand the implications and the interaction with settings in your UPS. Most people do not need to do this.

        In general, if you leave it alone, NUT and your UPS will do the right thing. However, if you are determined to go forward and attempt to tweak NUT and your UPS settings, I recommend you begin with reading this thread.

        F 1 Reply Last reply Reply Quote 1
        • F
          furom @dennypage
          last edited by

          @dennypage Thanks. I did see the advanced box and thought I'd ask before fiddling with that. Would it be possible to at least see the config? I would need pfSense to be amongst the last devices shutting down, when power is almost depleted, not before.

          I will check out the link to the other discussion as well, thanks for that. :)

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

            @furom said in Edit NUT config files?:

            Would it be possible to at least see the config? I would need pfSense to be amongst the last devices shutting down, when power is almost depleted, not before.

            The resulting config files can be found in /usr/local/etc/nut/.

            NUT isn't designed to support load shedding--you generally don't have a shutdown order you control. The way NUT works is that the entire load (all connected systems) run until a low battery condition is declared. When the low battery condition is declared, all systems shut down and the UPS is instructed to kill the power. Power stays off until mains are restored. When the mains are restored all systems start back up.

            F 1 Reply Last reply Reply Quote 1
            • F
              furom @dennypage
              last edited by

              @dennypage said in Edit NUT config files?:

              NUT isn't designed to support load shedding--you generally don't have a shutdown order you control.

              As you have guessed these are my first UPSs and thought I had an idea of how to make things work, but NUT (and you) have tought me otherwise, in a very good way tho. I will have a look at the config just to satisfy my curiosity, but as I have learnt today, it will be fine as is. Thanks! :)

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

                @furom Most welcome

                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.