diff --git a/examples/up.conf.example b/examples/up.conf.example index cb924290..d7eab6d1 100644 --- a/examples/up.conf.example +++ b/examples/up.conf.example @@ -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] diff --git a/examples/up.json.example b/examples/up.json.example index d67897d6..e547f8c9 100644 --- a/examples/up.json.example +++ b/examples/up.json.example @@ -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" } diff --git a/examples/up.yaml.example b/examples/up.yaml.example index 76eeac48..9c44996a 100644 --- a/examples/up.yaml.example +++ b/examples/up.yaml.example @@ -11,8 +11,10 @@ poller: plugins: [] prometheus: - disable: false - http_listen: "0.0.0.0:9130" + disable: false + http_listen: "0.0.0.0:9130" + ssl_cert_path: "" + ssl_key_path: "" report_errors: false influxdb: