Install Grafana
Part of FIBER Lite's complete pre-integrated software stack. Not part of a stock FIBER install.
-
Install prerequisites and add the Grafana repository:
sudo apt-get install -y apt-transport-https wget gnupgsudo mkdir -p /etc/apt/keyringssudo wget -O /etc/apt/keyrings/grafana.asc https://apt.grafana.com/gpg-full.keysudo chmod 644 /etc/apt/keyrings/grafana.ascecho "deb [signed-by=/etc/apt/keyrings/grafana.asc] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list -
Update the package list, install, and enable Grafana:
sudo apt-get updatesudo apt-get install -y grafanasudo systemctl enable --now grafana-server -
Change the default admin password via the API:
curl -X PUT http://localhost:3000/api/admin/users/1/password \-u admin:admin -H "Content-Type: application/json" \-d '{"password":"<new password>"}' -
Add the InfluxDB datasource:
curl -X POST http://localhost:3000/api/datasources \-u admin:<new password> -H "Content-Type: application/json" \-d '{"name": "InfluxDB fiber-lite", "type": "influxdb", "access": "proxy","url": "http://localhost:8086","jsonData": {"version": "Flux", "organization": "fiber-lite", "defaultBucket": "fiber-lite", "tlsSkipVerify": true},"secureJsonData": {"token": "<influxdb token from the InfluxDB setup step>"}}' -
Now, you can access Grafana at this address:
http://[TARGET IP ADDRESS]:3000/tipDashboard panels are best built once there's real device/gateway data flowing in — there's nothing meaningful to visualize before that.