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

[feature request] On launch telegraf should create telegraf database if it doesn't already #77

Closed
desa opened this issue Jul 24, 2015 · 6 comments

Comments

@desa
Copy link
Contributor

desa commented Jul 24, 2015

Currently the user has to create a telegraf database manually. The tool should do this for us.

@toddboom
Copy link
Contributor

+1

@sparrc
Copy link
Contributor

sparrc commented Aug 11, 2015

see commit c0cef8c

@alvaromorales
Copy link
Contributor

Should the db name be configurable?

I've been running telegraf 1.4 and writing metrics to a database that's not named telegraf. If I upgrade to the next version, I'm going to have to migrate all my data to a new db. Happy to PR

@sparrc
Copy link
Contributor

sparrc commented Aug 11, 2015

@alvaromorales yes, it should be, I'll fix that now

@codeb2cc
Copy link
Contributor

I think there's should be an option to disable this feature. 3c7c892 added a default error "Could not create database on any server" and if the creation query failed, telegraf exists. In my case, the influxdb user for telegraf has no right to create db and the creation query gets a 401 response.

@sparrc
Copy link
Contributor

sparrc commented Oct 21, 2015

@codeb2cc please open a new issue for that

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

5 participants