1
我希望grafana從influxdb獲取數據。他們在同一臺主機上運行。我在這裏沒有太多快樂。將grafana連接到influxdb
我已經在influxdb中啓用了身份驗證。我有一個帶密碼的管理員帳戶,我可以使用這些憑據連接到命令行上的influxdb。
當我嘗試通過grafana連接時,我看到我可以選擇「basic auth」或不。我不確定基本身份驗證請求的憑據是什麼,但是不管我是否檢查該框,我在底部看到(不太有用)的錯誤。
我influxdb HTTP配置是這樣的:
[http]
# Determines whether HTTP endpoint is enabled.
enabled = true
# The bind address used by the HTTP service.
bind-address = ":8086"
# Determines whether HTTP authentication is enabled.
# auth-enabled = false
auth-enabled = true
我也試過,以防萬一在grafana對話框中改變s/localhost/0.0.0.0/
,但這並不改變結果。
[email protected]:/tmp$ sudo netstat -tunapl | grep influx
tcp6 0 0 :::8086 :::* LISTEN 10399/influxd
tcp6 0 0 :::8088 :::* LISTEN 10399/influxd
udp 0 0 127.0.0.1:25826 0.0.0.0:* 10399/influxd
[email protected]:/tmp$
任何指針?
同樣的問題在這裏,如果你發現了什麼回答這個問題 – Luv33preet
@ Luv33preet - 我沒有回答。 – jma