update config file options
This commit is contained in:
parent
cddf2942b0
commit
6197177a45
|
|
@ -23,6 +23,10 @@
|
|||
# This controls on which ip and port /metrics is exported when mode is "prometheus".
|
||||
# This has no effect in other modes. Must contain a colon and port.
|
||||
http_listen = "0.0.0.0:9130"
|
||||
# Adding an SSL Cert and Cert Key will make Poller listen with SSL/https.
|
||||
ssl_cert_path = ""
|
||||
ssl_key_path = ""
|
||||
# Errors are rare. Setting this to true will report them to Prometheus.
|
||||
report_errors = false
|
||||
|
||||
[influxdb]
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@
|
|||
"prometheus": {
|
||||
"disable": false,
|
||||
"http_listen": "0.0.0.0:9130",
|
||||
"ssl_cert_path": "",
|
||||
"ssl_key_path": "",
|
||||
"report_errors": false
|
||||
},
|
||||
|
||||
|
|
@ -25,9 +27,9 @@
|
|||
"enable": false,
|
||||
"port": 37288,
|
||||
"html_path": "/usr/lib/unifi-poller/web",
|
||||
"ssl_cert_path": ""
|
||||
"ssl_key_path": ""
|
||||
"max_events": 200
|
||||
"ssl_cert_path": "",
|
||||
"ssl_key_path": "",
|
||||
"max_events": 200,
|
||||
"accounts": {
|
||||
"captain": "$2a$04$mxw6i0LKH6u46oaLK2cq5eCTAAFkfNiRpzNbz.EyvJZZWNa2FzIlS"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ poller:
|
|||
prometheus:
|
||||
disable: false
|
||||
http_listen: "0.0.0.0:9130"
|
||||
ssl_cert_path: ""
|
||||
ssl_key_path: ""
|
||||
report_errors: false
|
||||
|
||||
influxdb:
|
||||
|
|
|
|||
Loading…
Reference in New Issue