- What Grafana version and what operating system are you using?
10.2.3 - What are you trying to achieve?
I am tryng to add a influxdb datasource. - How are you trying to achieve it?
I have a influxdb datasource with data inside:
http://localhost:8086/query?db=nagiosdb&pretty=true&q=show%20series
Running command above gives:
{
"results": [
{
"statement_id": 0,
"series": [
{
"columns": [
"key"
],
"values": [
[
"metrics,command=check-host-alive,crit-fill=none,host=localhost,performanceLabel=pl,service=hostcheck,unit=%,warn-fill=none"
],
[
"metrics,command=check-host-alive,crit-fill=none,host=localhost,performanceLabel=rta,service=hostcheck,unit=ms,warn-fill=none"
...
I configure add new datasource with url http://localhost:8086, and database name nagiosdb. I did not change the other default values.
-
What happened?
I click save and test, but show failed to fetch. -
What did you expect to happen?
Should add datasource successfully. -
Can you copy/paste the configuration(s) that you are having problems with?
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
-
Did you follow any online instructions? If so, what is the URL?
https://www.youtube.com/watch?v=KBfAfW-hUNE
I really wish that someone could help me with this matter, I also created an empty database test to try to connect but also failed. I don’t know how I should debug this since there is no other information. If there is any minimal script to connect with a dummy database in influxdb, I would also love to try. I am using influxdb 1.8.10. Thank you very much.
5 posts - 2 participants