Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database port errors on fresh install #14

Open
mrdeadlocked opened this issue Jan 21, 2023 · 0 comments
Open

Database port errors on fresh install #14

mrdeadlocked opened this issue Jan 21, 2023 · 0 comments

Comments

@mrdeadlocked
Copy link

I have this running using the guide without any changes made. I get the following errors.

netstats_1 | 2023-01-21T21:59:03Z I! Using config file: /etc/telegraf/telegraf.conf
netstats_1 | 2023-01-21T21:59:03Z I! Starting Telegraf 1.25.0
netstats_1 | 2023-01-21T21:59:03Z I! Available plugins: 227 inputs, 9 aggregators, 26 processors, 21 parsers, 57 outputs, 2 secret-stores
netstats_1 | 2023-01-21T21:59:03Z I! Loaded inputs: dns_query exec http_response internal net netstat ping
netstats_1 | 2023-01-21T21:59:03Z I! Loaded aggregators:
netstats_1 | 2023-01-21T21:59:03Z I! Loaded processors:
netstats_1 | 2023-01-21T21:59:03Z I! Loaded secretstores:
netstats_1 | 2023-01-21T21:59:03Z I! Loaded outputs: influxdb
netstats_1 | 2023-01-21T21:59:03Z I! Tags enabled: host=netstats
netstats_1 | 2023-01-21T21:59:03Z I! [agent] Config: Interval:30s, Quiet:false, Hostname:"netstats", Flush Interval:15s
netstats_1 | 2023-01-21T21:59:03Z E! [agent] Failed to connect to [outputs.influxdb], retrying in 15s, error was 'error parsing url ["http://${DATABASE_HOST}:${DATABASE_PORT}"]: parse "http://${DATABASE_HOST}:${DATABASE_PORT}": invalid port ":${DATABASE_PORT}" after host'
grpc_1 | usage: dish_grpc_influx.py
grpc_1 | [-g TARGET]
grpc_1 | [-h]
grpc_1 | [-N]
grpc_1 | [-t LOOP_INTERVAL]
grpc_1 | [-v]
grpc_1 | [-a]
grpc_1 | [-o N]
grpc_1 | [-s SAMPLES]
grpc_1 | [-j]
grpc_1 | [-n HOST]
grpc_1 | [-p PORT]
grpc_1 | [-P PASSWORD]
grpc_1 | [-U USERNAME]
grpc_1 | [-D DATABASE]
grpc_1 | [-R RETENTION_POLICY]
grpc_1 | [-k]
grpc_1 | [-C FILENAME]
grpc_1 | [-I]
grpc_1 | [-S]
grpc_1 | mode
grpc_1 | [mode ...]
grpc_1 | dish_grpc_influx.py: error: argument -p/--port: invalid int value: '${DATABASE_PORT}'
netstats_1 | 2023-01-21T21:59:18Z E! [telegraf] Error running agent: connecting output outputs.influxdb: error connecting to output "outputs.influxdb": error parsing url ["http://${DATABASE_HOST}:${DATABASE_PORT}"]: parse "http://${DATABASE_HOST}:${DATABASE_PORT}": invalid port ":${DATABASE_PORT}" after host
dishy_grafana_netstats_1 exited with code 1
netstats_1 | 2023-01-21T21:59:24Z I! Using config file: /etc/telegraf/telegraf.conf
netstats_1 | 2023-01-21T21:59:24Z I! Starting Telegraf 1.25.0
netstats_1 | 2023-01-21T21:59:24Z I! Available plugins: 227 inputs, 9 aggregators, 26 processors, 21 parsers, 57 outputs, 2 secret-stores
netstats_1 | 2023-01-21T21:59:24Z I! Loaded inputs: dns_query exec http_response internal net netstat ping
netstats_1 | 2023-01-21T21:59:24Z I! Loaded aggregators:
netstats_1 | 2023-01-21T21:59:24Z I! Loaded processors:
netstats_1 | 2023-01-21T21:59:24Z I! Loaded secretstores:
netstats_1 | 2023-01-21T21:59:24Z I! Loaded outputs: influxdb
netstats_1 | 2023-01-21T21:59:24Z I! Tags enabled: host=netstats
netstats_1 | 2023-01-21T21:59:24Z I! [agent] Config: Interval:30s, Quiet:false, Hostname:"netstats", Flush Interval:15s
netstats_1 | 2023-01-21T21:59:24Z E! [agent] Failed to connect to [outputs.influxdb], retrying in 15s, error was 'error parsing url ["http://${DATABASE_HOST}:${DATABASE_PORT}"]: parse "http://${DATABASE_HOST}:${DATABASE_PORT}": invalid port ":${DATABASE_PORT}" after host'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant