table of contents
upsd.conf - Configuration for Network UPS Tools upsd
upsd uses this file to control access to the server and set some other miscellaneous configuration values. This file contains details on access controls, so keep it secure. Ideally, only the upsd process should be able to read it.
Most users should leave this at the default value.
Boolean values true, yes, on and 1 mean that the server would not refuse to start with zero device sections found in ups.conf.
Boolean values false, no, off and 0 mean that the server should refuse to start if zero device sections were found in ups.conf. This is the default, unless the calling environment sets a same-named variable to enforce a value for the current run. One way this can happen is somebody un-commenting it in the nut.conf file used by init-scripts and service unit method scripts.
"LISTEN interface port"
Optionally listen on TCP port port instead of the default value which was compiled into the code. This overrides any value you may have set with configure --with-port. If you don’t change it with configure or this value, upsd will listen on port 3493 for this interface.
Multiple LISTEN addresses may be specified. The default is to bind to 127.0.0.1 if no LISTEN addresses are specified (and ::1 if IPv6 support is compiled in).
To listen on all available interfaces, you may also use 0.0.0.0 for IPv4 and and :: for IPv6.
LISTEN 127.0.0.1 LISTEN 192.168.50.1 LISTEN myhostname.mydomain LISTEN ::1 LISTEN 2001:0db8:1234:08d3:1319:8a2e:0370:7344
This parameter will only be read at startup. You’ll need to restart (rather than reload) upsd to apply any changes made here.
"CERTFILE certificate file"
"CERTPATH certificate database"
"CERTIDENT certificate name database password"
"CERTREQUEST certificate request level"
if the running daemon receives a reload command, presence of the DEBUG_MIN NUMBER value in the configuration file can be used to tune debugging verbosity in the running service daemon (it is recommended to comment it away or set the minimum to explicit zero when done, to avoid huge journals and I/O system abuse). Keep in mind that for this run-time tuning, the DEBUG_MIN value present in reloaded configuration files is applied instantly and overrides any previously set value, from file or CLI options, regardless of older logging level being higher or lower than the newly found number; a missing (or commented away) value however does not change the previously active logging verbosity.
upsd(8), nutupsdrv(8), upsd.users(5)
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
|01/25/2023||Network UPS Tools 2.8.0|