truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.14k stars 619 forks source link

unpoller influxdb write Error #11434

Closed aron-666 closed 9 months ago

aron-666 commented 1 year ago

App Name

unpoller

SCALE Version

22.12.2

App Version

2.8.1_7.0.2

Application Events

2023-08-12 5:14:50
Updated LoadBalancer with new IPs: [] -> [192.168.64.150]
2023-08-12 5:14:49
Add eth0 [172.16.42.233/16] from ix-net
2023-08-12 5:14:49
Container image "tccr.io/truecharts/unifi-poller:v2.8.1@sha256:8ef09a05849a32a8ad5a144183d6c38cca47465adf82816596a1fd4c17e8f2b3" already present on machine
2023-08-12 5:14:49
Created container unpoller
2023-08-12 5:14:49
Started container unpoller
2023-08-12 5:14:48
Ensuring load balancer
2023-08-12 5:14:48
Applied LoadBalancer DaemonSet kube-system/svclb-unpoller-http-4f03830b

Application Logs

2023-08-11 21:14:49.380659+00:002023/08/12 05:14:49 [INFO] Loading Configuration File: /etc/unpoller/up.conf
2023-08-11 21:14:49.385297+00:002023/08/12 05:14:49 [INFO] UniFi Poller v2.8.1 Starting Up! PID: 1
2023-08-11 21:14:49.700967+00:002023/08/12 05:14:49 [INFO] Found 1 site(s) on controller https://192.168.64.1:443: default (Default)
2023-08-11 21:14:49.701023+00:002023/08/12 05:14:49 [INFO] Configured UniFi Controller 1 of 1:
2023-08-11 21:14:49.701061+00:002023/08/12 05:14:49 [INFO]    => URL: https://192.168.64.1:443 (verify SSL: false)
2023-08-11 21:14:49.701080+00:002023/08/12 05:14:49 [INFO]    => Version:  (673fc40e-a63b-5f18-a463-ba23104878a0)
2023-08-11 21:14:49.701097+00:002023/08/12 05:14:49 [INFO]    => Username: Aron (has password: true)
2023-08-11 21:14:49.701124+00:002023/08/12 05:14:49 [INFO]    => Hash PII false / Drop PII false / Poll Sites: all
2023-08-11 21:14:49.701140+00:002023/08/12 05:14:49 [INFO]    => Save Sites true / Save DPI false (metrics)
2023-08-11 21:14:49.701157+00:002023/08/12 05:14:49 [INFO]    => Save Events false / Save IDS false (logs)
2023-08-11 21:14:49.701173+00:002023/08/12 05:14:49 [INFO]    => Save Alarms false / Anomalies false (logs)
2023-08-11 21:14:49.701201+00:002023/08/12 05:14:49 [INFO]    => Save Rogue APs: false
2023-08-11 21:14:49.701223+00:002023/08/12 05:14:49 [INFO] Prometheus is enabled
2023-08-11 21:14:49.701240+00:002023/08/12 05:14:49 [INFO] InfluxDB enabled
2023-08-11 21:14:49.701257+00:002023/08/12 05:14:49 [INFO] Poller->InfluxDB started, version: 1, interval: 30s, dp: false, db: unifi, url: http://127.0.0.1:8086, bucket: , org: 
2023-08-11 21:14:49.702333+00:002023/08/12 05:14:49 [INFO] Prometheus exported at http://0.0.0.0:9130/ - namespace: unpoller
2023-08-11 21:15:19.847007+00:002023/08/12 05:15:19 [ERROR] influxdb.Write(points): Post "http://127.0.0.1:8086/write?consistency=&db=unifi&precision=ns&rp=": dial tcp 127.0.0.1:8086: connect: connection refused
2023-08-11 21:15:49.815324+00:002023/08/12 05:15:49 [ERROR] influxdb.Write(points): Post "http://127.0.0.1:8086/write?consistency=&db=unifi&precision=ns&rp=": dial tcp 127.0.0.1:8086: connect: connection refused

Application Configuration

  1. Set Image Environment image

  2. Additional Service Ports image

  3. Submit to create app

Describe the bug

[ERROR] influxdb.Write(points): Post "http://127.0.0.1:8086/write?consistency=&db=unifi&precision=ns&rp=": dial tcp 127.0.0.1:8086: connect: connection refused

image

To Reproduce

See Application Configuration

Expected Behavior

-

Screenshots

-

Additional Context

-

I've read and agree with the following

aron-666 commented 1 year ago

Sorry, I forgot to mention, I have a UDM SE at https://192.168.64.1, and a local account 'aron' image

image

PrivatePuffin commented 9 months ago

we dont even support influxdb