Varken (by DirtyCajunRice/samwiseg0) is a standalone command-line utility to aggregate data from the Plex ecosystem into InfluxDB. Examples use Grafana for a frontend.
-
Run the cloudbox varken feature to install varken/influxdb/telegraf/grafana:
cd ~/cloudbox sudo ansible-playbook cloudbox.yml --tags varken
-
Add your Maxmind API key to varken.ini:
nano /opt/varken/varken.ini
-
Restart Varken:
docker restart varken
-
Visit grafana https://grafana.domain.com - default login is admin and your default CB password.
-
Add data source InfluxDB named InfluxDB:
HTTP: URL = http://influxdb:8086
InfluxDB Details: Database = varken
Save & Test
-
Add data source InfluxDB named Telegraf:
HTTP: URL = http://influxdb:8086
InfluxDB Details: Database = telegraf
Save & Test
-
Grafana Example from Organizrr Discord (imported via Dashboards > Manage > Import) :
from: GilbN -- Plex dashboard for Grafana @Grafana-Group for anyone using Varken (https://github.com/Boerderij/Varken) Thought I'd share the dashboard I made (with the help of Rox and Tron): https://grafana.com/dashboards/9558 You will need to add the piechart and worldmap plugins for the dashboard to work. Use the variables to set the different data sources.
To Install PieChart/WorldMap:
cd /opt/grafana/plugins && git clone https://github.com/grafana/piechart-panel.git && git clone https://github.com/grafana/worldmap-panel.git && docker restart grafana
-
Grafana Examples from Varken Discord:
Varken Official Supported Dashboards: https://grafana.com/dashboards?search=varken%20%5Bofficial%5D
Online Users Table Example (Tautulli): https://gist.github.com/samwiseg0/91223c1e089d78a3ae6294c23d81e977
World Map w/ geoIP
Device Type Pie Chart: https://gist.github.com/samwiseg0/fab103fdf4b176a11517e478ce7c216f
Basic Panel Structure