-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
No "direct" option for InfluxDB connection in Grafana #64
Comments
Looks like this has changed and you should use "Server (default)"
For the URL, enter http://localhost:8086 and that should work
…On Thu, Aug 18, 2022 at 2:40 AM Niall Douglas ***@***.***> wrote:
I create using:
docker run -d --name docker-influxdb-grafana -p 192.168.2.4:3003:3003 -p 192.168.2.4:8083:8083 -p 192.168.2.4:8086:8086 -v /home/homeassistant/influxdb:/var/lib/influxdb -v /home/homeassistant/grafana:/var/lib/grafana philhawthorne/docker-influxdb-grafana:edge
(I changed port 3004, surely makes no difference)
In Grafana's Add Source for InfluxDB, there are choices of "Server" and
"Browser" no "Direct" as per docs. Neither option works, both produce an
error on "Save and Test"
—
Reply to this email directly, view it on GitHub
<#64>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFO7J7RFSWZMTE7IS2OLXLVZUIZTANCNFSM562G3K7A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I tried that before as well, still an error. I found that if you go into the InfluxDB Admin page and create a new database, and then specify that database name along with root/root as the credentials to the Grafana Add Source, that works. |
Hmm yes that makes sense. When I don't specify the DB name, Grafana complains that there is no database connected. Instructions probably need to be clearer that a InfluxDB database needs to be created before you can add it to Grafana |
I just got everything up and running, pretty time series graphs. I used https://github.com/Jepsson/esphome-influxdb as a custom component for esphome, the microcontroller now sends sensor readings direct to influxdb no home assistant needed. Very nice. Thanks for your work on this, it saved me a bunch of time arsing around getting docker influx and docker grafana etc etc to talk to each other and to have docker store the DB somewhere persistent. I just wanted to get it up and recording on a secure network, I didn't want to have to arse around with anything else probably much better practice in terms of security. |
I create using:
(I changed port 3004, surely makes no difference)
In Grafana's Add Source for InfluxDB, there are choices of "Server" and "Browser" no "Direct" as per docs. Neither option works, both produce an error on "Save and Test"
The text was updated successfully, but these errors were encountered: