Fork of Varken with InfluxDb v2 support and updated Docker automation
Find a file
2018-12-10 16:55:47 -08:00
data added asa module. fixes #44. Version Bump 1.0!!! 2018-12-09 21:41:38 -06:00
varken Add extra_type to Tautulli structures 2018-12-10 16:55:47 -08:00
.gitignore Update gitignore to exclude varken-venv 2018-12-04 11:57:53 -05:00
CHANGELOG.md final v1.0 2018-12-09 21:57:16 -06:00
README.md typo fix for readme 2018-12-07 00:40:37 -06:00
requirements.txt added asa module. fixes #44. Version Bump 1.0!!! 2018-12-09 21:41:38 -06:00
Varken.py passed data folder to tautulli for helper functions. Fixes #46 2018-12-09 22:56:09 -06:00
varken.systemd Fix links and typos 2018-12-05 10:33:36 -05:00

Varken

Discord BuyMeACoffee Docker Pulls

Dutch for PIG. PIG is an Acronym for Plex/InfluxDB/Grafana

Varken is a standalone command-line utility to aggregate data from the Plex ecosystem into InfluxDB. Examples use Grafana for a frontend

Requirements:

  • Python3.6+
  • Python3-pip

Quick Setup

  1. Clone the repository sudo git clone https://github.com/Boerderij/Varken.git /opt/Varken
  2. Follow the systemd install instructions located in varken.systemd
  3. Create venv in project cd /opt/Varken && /usr/bin/python3 -m venv varken-venv
  4. Install requirements /opt/Varken/varken-venv/bin/python -m pip install -r requirements.txt
  5. Make a copy of varken.example.ini to varken.ini in the data folder cp /opt/Varken/data/varken.example.ini /opt/Varken/data/varken.ini
  6. Make the appropriate changes to varken.ini ie.nano /opt/Varken/data/varken.ini
  7. Make sure all the files have the appropriate permissions sudo chown varken:varken -R /opt/Varken
  8. After completing the getting started portion of grafana, create your datasource for influxdb.
  9. Install grafana-cli plugins install grafana-worldmap-panel

Docker

Repo is included in Boerderij/docker-Varken

Example

docker run -d \
  --name=varken \
  -v <path to data>:/config \
  -e PGID=<gid> -e PUID=<uid>  \
  boerderij/varken:nightly