blob: df711ec64f50fbd351d877cc5ccaa61ccb8c64e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#config driver_global 'driver_global'
# ### NOTE ###
# For USB UPSes it is necessary to properly configure
# productid and vendorid (and serial number if you have
# more than one device with the same productid and vendorid) in
# nut_server so that the hotplug script can give NUT
# permissions to access the UPS device(s)
# example USB UPS configuration
#config driver 'upsname'
# option driver usbhid-ups
# option port auto
# option productid 12ab # USB 4-digit hex productId
# option vendorid 34cd # USB 4-digit hex vendorId
# Configuration for UPS connected to serial-USB
# option enable_usb_serial 0
#config user
# option username upsuser
# option password upspassword
# option actions optional-action
# list instcmd optional-instant-command
# option upsmon secondary|primary
#config listen_address
# option address ::1 # example
# option port 3493 # compile-time default
# defaults for the upsd section are compile time defaults
# We only support one 'upsd' section and it must be named 'upsd'
#config upsd 'upsd'
# option maxage 15
# option statepath /var/run/nut
# option maxconn 1024
# option runas nut
# option interface_reload_delay 3000 # in milliseconds
# option triggerlist all # not configured by default
# option debug_min 0
# NB: certificates only apply to SSL-enabled version
# See https://github.com/networkupstools/nut/blob/master/docs/security.txt
# openssl server certificate chain and private key
# option certfile /usr/local/etc/upsd.pem
# NSS or OpenSSL
# For NSS path the directory with certificate and key databases
# For OpenSSL path a file with one or more CA certificates
# option certpath /etc/nut/cert_db
# Server certificate name and password to unlock the key for the certificate
# option certident '"certificate name" "database password"'
# 0 - NO, 1 - REQUEST, 2 - REQUIRE (and verify)
# option certrequest 0
# option disable_weak_ssl 0
|