Fork of Varken with InfluxDb v2 support and updated Docker automation
Find a file
2018-12-05 00:42:15 -05:00
dashboard Add online users beta table 2018-08-31 15:11:38 -04:00
data Remove username and pass from default 2018-12-04 23:17:21 -05:00
Legacy ported ombi 2018-12-01 22:26:44 -06:00
varken Update logger 2018-12-05 00:42:15 -05:00
.gitignore Update gitignore to exclude varken-venv 2018-12-04 11:57:53 -05:00
README.md fixed clean_check of server_ids, fixed under-indented radarr get_movie, 2018-12-04 21:17:33 -06:00
requirements.txt Add distro package 2018-12-04 20:14:55 -05:00
Varken.py removed all traces of get_sessions and consolidated to get_activity 2018-12-04 21:52:24 -06:00
varken.systemd Update note 2018-12-05 00:41:56 -05:00

Varken

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 /w install links: Grafana, Python3, InfluxDB

Quick Setup (Varken Alpha)

  1. Clone the repository sudo git clone https://github.com/DirtyCajunRice/grafana-scripts.git /opt/varken
  2. Follow the systemd install instructions located in varken.systemd
  3. Create venv in project /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. After completing the getting started portion of grafana, create your datasource for influxdb.
  8. Install grafana-cli plugins install grafana-worldmap-panel
  9. TODO:: Click the + on your menu and click import. Using the .json provided in this repo, paste it in and customize as you like.

Docker

Repo is included in si0972/grafana-scripts-docker

Example

docker create \
  --name=grafana-scripts \
  -v <path to data>:/Scripts \
  -e PGID=<gid> -e PUID=<uid>  \
  si0972/grafana-scripts:varken