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

Error in sending data from Telegraf to Influxdb-relay #72

Open
harika224121 opened this issue Mar 1, 2019 · 1 comment
Open

Error in sending data from Telegraf to Influxdb-relay #72

harika224121 opened this issue Mar 1, 2019 · 1 comment

Comments

@harika224121
Copy link

Hi,

Hello, I am trying to send the data from Telegraf to Influxdb-relay and from there to Influxdb i.e., Telegraf -> Influxdb_relay -> Influxdb. So, I have configured Influxdb-relay IP in the telegraf.conf
as follows:-

[[outputs.influxdb]]
urls = [“http://172.29.29.12:9096/write”]

But the issue is Telegraf is not able to write to Influxdb-relay I am getting error as “Database creation Failed: post http://172.29.29.12:9096/query?q=CREATE DATABASE getsockopt: connection refused”

Can anyone know the solution for this. Can anyone please suggest the correct way to allow Telegraf send data to Influxdb-relay.

Any help is much appreciated. Thank you

@passing
Copy link

passing commented Apr 23, 2019

you can prevent telegraf from sending "create database" requests:

[[outputs.influxdb]]
  skip_database_creation = true
  ...

see https://github.com/influxdata/telegraf/tree/master/plugins/outputs/influxdb

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

2 participants