You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The grafana directions were giving me a 401 unauthorized error. It seems that adding the Authorization header with the token, along with updating the database and other default names, got the connection to work properly.
Copy file name to clipboardExpand all lines: documentation/docs/install/grafana.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,11 @@ The following explains the steps for InfluxDB; the Prometheus steps are very sim
19
19
- Select the InfluxDB option
20
20
- Set the following fields:
21
21
-- Name = `UniFi InfluxDB` (or whatever name you want) and set to default
22
-
-- URL = `http://influxdb1:8086` or `http://localhost:8086`
23
-
-- Database = `unifi`
24
-
-- Username = `unifipoller`
25
-
-- Password = `unifipoller`
22
+
-- URL = `http://influxdb:8086` or `http://localhost:8086`
23
+
-- Database = `unpoller`
24
+
-- Username = `unpoller`
25
+
-- Password = `CHANGEME` (or whatever you changed `INFLUXDB_ADMIN_PASSWORD` to)
26
+
- Under "Custom HTTP Headers" add an `Authorization` header, with value `Token unpollersecret` (optionally replace `unpollersecret` with whatever you changed `INFLUXDB_ADMIN_TOKEN` to).
26
27
- No other fields need to be changed or set on this page.
27
28
- Click `Save & Test`
28
29
- You should get green banner above the save and test that says 'Data Source is Working'
0 commit comments