Edit NUT config files?
-
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 -
@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.
-
@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. :)
-
@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.
-
@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! :)
-
@furom Most welcome
-