From 53ca6b1b40e2ed8cfbc307566c7bb52e45b761eb Mon Sep 17 00:00:00 2001 From: davidnewhall2 Date: Mon, 25 Nov 2019 00:19:05 -0800 Subject: [PATCH] fix more port numbers --- integrations/inputunifi/examples/up.conf.example | 4 ++-- integrations/inputunifi/examples/up.json.example | 2 +- integrations/inputunifi/examples/up.xml.example | 4 ++-- integrations/inputunifi/examples/up.yaml.example | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/integrations/inputunifi/examples/up.conf.example b/integrations/inputunifi/examples/up.conf.example index a89fd780..ea567910 100644 --- a/integrations/inputunifi/examples/up.conf.example +++ b/integrations/inputunifi/examples/up.conf.example @@ -30,14 +30,14 @@ quiet = false # 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. # -# 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. # IMPORTANT: The prometheus mode is still beta and doesn't work very well. mode = "influx" # 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:61317" +http_listen = "0.0.0.0:9130" # InfluxDB does not require auth by default, so the user/password are probably unimportant. influx_url = "http://127.0.0.1:8086" diff --git a/integrations/inputunifi/examples/up.json.example b/integrations/inputunifi/examples/up.json.example index 7b67ac5b..e9961505 100644 --- a/integrations/inputunifi/examples/up.json.example +++ b/integrations/inputunifi/examples/up.json.example @@ -4,7 +4,7 @@ "debug": false, "quiet": false, "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_user": "unifi", "influx_pass": "unifi", diff --git a/integrations/inputunifi/examples/up.xml.example b/integrations/inputunifi/examples/up.xml.example index e37f8868..f608fd68 100644 --- a/integrations/inputunifi/examples/up.xml.example +++ b/integrations/inputunifi/examples/up.xml.example @@ -46,7 +46,7 @@ # 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. # - # 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. # 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 has no effect in other modes. Must contain a colon and port. --> - 0.0.0.0:61317 + 0.0.0.0:9130