fix more port numbers
This commit is contained in:
parent
181e280df6
commit
53ca6b1b40
|
|
@ -30,14 +30,14 @@ quiet = false
|
||||||
# to InfluxDB one time. This mode requires an external process like an AWS Lambda
|
# to InfluxDB one time. This mode requires an external process like an AWS Lambda
|
||||||
# or a simple crontab to keep the timings accurate on UniFi Poller run intervals.
|
# or a simple crontab to keep the timings accurate on UniFi Poller run intervals.
|
||||||
#
|
#
|
||||||
# Prometheus mode opens an HTTP server on port 61317 and exports the metrics at
|
# Prometheus mode opens an HTTP server on port 9130 and exports the metrics at
|
||||||
# /metrics for polling collection by a prometheus server. This disables influxdb.
|
# /metrics for polling collection by a prometheus server. This disables influxdb.
|
||||||
# IMPORTANT: The prometheus mode is still beta and doesn't work very well.
|
# IMPORTANT: The prometheus mode is still beta and doesn't work very well.
|
||||||
mode = "influx"
|
mode = "influx"
|
||||||
|
|
||||||
# This controls on which ip and port /metrics is exported when mode is "prometheus".
|
# 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.
|
# This has no effect in other modes. Must contain a colon and port.
|
||||||
http_listen = "0.0.0.0:61317"
|
http_listen = "0.0.0.0:9130"
|
||||||
|
|
||||||
# InfluxDB does not require auth by default, so the user/password are probably unimportant.
|
# InfluxDB does not require auth by default, so the user/password are probably unimportant.
|
||||||
influx_url = "http://127.0.0.1:8086"
|
influx_url = "http://127.0.0.1:8086"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
"debug": false,
|
"debug": false,
|
||||||
"quiet": false,
|
"quiet": false,
|
||||||
"mode": "influx",
|
"mode": "influx",
|
||||||
"http_listen": "0.0.0.0:61317",
|
"http_listen": "0.0.0.0:9130",
|
||||||
"influx_url": "http://127.0.0.1:8086",
|
"influx_url": "http://127.0.0.1:8086",
|
||||||
"influx_user": "unifi",
|
"influx_user": "unifi",
|
||||||
"influx_pass": "unifi",
|
"influx_pass": "unifi",
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
# to InfluxDB one time. This mode requires an external process like an AWS Lambda
|
# to InfluxDB one time. This mode requires an external process like an AWS Lambda
|
||||||
# or a simple crontab to keep the timings accurate on UniFi Poller run intervals.
|
# or a simple crontab to keep the timings accurate on UniFi Poller run intervals.
|
||||||
#
|
#
|
||||||
# Prometheus mode opens an HTTP server on port 61317 and exports the metrics at
|
# Prometheus mode opens an HTTP server on port 9130 and exports the metrics at
|
||||||
# /metrics for polling collection by a prometheus server. This disables influxdb.
|
# /metrics for polling collection by a prometheus server. This disables influxdb.
|
||||||
# IMPORTANT: The prometheus mode is still beta and doesn't work very well.
|
# IMPORTANT: The prometheus mode is still beta and doesn't work very well.
|
||||||
-->
|
-->
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
# This controls on which ip and port /metrics is exported when mode is "prometheus".
|
# 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.
|
# This has no effect in other modes. Must contain a colon and port.
|
||||||
-->
|
-->
|
||||||
<http_listen>0.0.0.0:61317</http_listen>
|
<http_listen>0.0.0.0:9130</http_listen>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
# InfluxDB does not require auth by default, so the user/password are probably unimportant.
|
# InfluxDB does not require auth by default, so the user/password are probably unimportant.
|
||||||
|
|
|
||||||
|
|
@ -31,14 +31,14 @@ quiet: false
|
||||||
# to InfluxDB one time. This mode requires an external process like an AWS Lambda
|
# to InfluxDB one time. This mode requires an external process like an AWS Lambda
|
||||||
# or a simple crontab to keep the timings accurate on UniFi Poller run intervals.
|
# or a simple crontab to keep the timings accurate on UniFi Poller run intervals.
|
||||||
#
|
#
|
||||||
# Prometheus mode opens an HTTP server on port 61317 and exports the metrics at
|
# Prometheus mode opens an HTTP server on port 9130 and exports the metrics at
|
||||||
# /metrics for polling collection by a prometheus server. This disables influxdb.
|
# /metrics for polling collection by a prometheus server. This disables influxdb.
|
||||||
# IMPORTANT: The prometheus mode is still beta and doesn't work very well.
|
# IMPORTANT: The prometheus mode is still beta and doesn't work very well.
|
||||||
mode: "influx"
|
mode: "influx"
|
||||||
|
|
||||||
# This controls on which ip and port /metrics is exported when mode is "prometheus".
|
# 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.
|
# This has no effect in other modes. Must contain a colon and port.
|
||||||
http_listen: "0.0.0.0:61317"
|
http_listen: "0.0.0.0:9130"
|
||||||
|
|
||||||
# InfluxDB does not require auth by default, so the user/password are probably unimportant.
|
# InfluxDB does not require auth by default, so the user/password are probably unimportant.
|
||||||
influx_url: "http://127.0.0.1:8086"
|
influx_url: "http://127.0.0.1:8086"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue