1 # Network UPS Tools: example upsd configuration file
3 # This file contains access control data, you should keep it secure.
5 # It should only be readable by the user that upsd becomes. See the FAQ.
7 # =======================================================================
8 # Access Control Lists (ACLs)
10 # ACL <name> <ipblock>
11 # ACL myhost 10.0.0.1/32
13 # ACCEPT <aclname> [<aclname>...]
14 # REJECT <aclname> [<aclname>...]
16 # Define lists of hosts or networks with ACL definitions.
18 # ACCEPT and REJECT use ACL definitions to control whether a host is
19 # allowed to connect to upsd.
21 # This default configuration only gives access to localhost. To allow
22 # other hosts or networks to connect, see the documentation and change
26 ACL localhost 127.0.0.1/32
31 # =======================================================================
35 # This defaults to 15 seconds. After a UPS driver has stopped updating
36 # the data for this many seconds, upsd marks it stale and stops making
37 # that information available to clients. After all, the only thing worse
38 # than no data is bad data.
40 # You should only use this if your driver has difficulties keeping
41 # the data fresh within the normal 15 second interval. Watch the syslog
42 # for notifications from upsd about staleness.