Fork of Varken with InfluxDb v2 support and updated Docker automation
Find a file
2018-12-29 22:33:58 -06:00
.github/ISSUE_TEMPLATE Update issue templates 2018-12-10 22:58:51 -06:00
data Merge pull request #74 from anderssonoscar0/nightly 2018-12-29 21:53:19 -06:00
varken add missing key lastSearchTime 2018-12-29 22:33:58 -06:00
.gitignore major pep8 cleanup. 2018-12-17 19:12:37 -06:00
.travis.yml remove need for branches 2018-12-11 00:29:00 -06:00
CHANGELOG.md changelog and version bump for master release v1.4 2018-12-18 21:59:24 -06:00
Dockerfile Move ENV 2018-12-12 12:50:35 -05:00
LICENSE added licence 2018-12-10 22:50:28 -06:00
README.md changelog and version bump for master release v1.4 2018-12-18 21:59:24 -06:00
requirements.txt added asa module. fixes #44. Version Bump 1.0!!! 2018-12-09 21:41:38 -06:00
Varken.py Remove detailed version of issues 2018-12-29 20:46:28 +01:00
varken.systemd Fix links and typos 2018-12-05 10:33:36 -05:00

Varken

Build Status Discord BuyMeACoffee

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:

Example Dashboard

Supported Modules:

  • Sonarr - Smart PVR for newsgroup and bittorrent users.
  • SickChill - SickChill is an automatic Video Library Manager for TV Shows.
  • Radarr - A fork of Sonarr to work with movies à la Couchpotato.
  • Tautulli - A Python based monitoring and tracking tool for Plex Media Server.
  • Ombi - Want a Movie or TV Show on Plex or Emby? Use Ombi!
  • Cisco ASA

Key features:

Quick Setup (Git Clone)

# Clone the repository
git clone https://github.com/Boerderij/Varken.git /opt/Varken

# Follow the systemd install instructions located in varken.systemd
cp /opt/Varken/varken.systemd /etc/systemd/system/varken.service
nano /etc/systemd/system/varken.service

# Create venv in project
/usr/bin/python3 -m venv /opt/Varken/varken-venv

# Install requirements
/opt/Varken/varken-venv/bin/python -m pip install -r requirements.txt

# 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

# Make the appropriate changes to varken.ini
nano /opt/Varken/data/varken.ini

# Make sure all the files have the appropriate permissions
chown $USER:$USER -R /opt/Varken

# Start the service and enable it
systemctl start varken
systemctl enable varken

Docker

Docker-Layers Docker-Version Docker Pulls Docker Stars

Example

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

Tags

  • latest
  • nightly
  • release-tag e.g. v1.0

Upgrading with docker

docker stop varken
docker rm varken
# Run deploy command above

InfluxDB

InfluxDB Installation Documentation

Influxdb is required but not packaged as part of Varken. Varken will create its database on its own. If you choose to give varken user permissions that do not include database creation, please ensure you create an influx database named varken

Grafana

Grafana Installation Documentation

Grafana is used in our examples but not required, nor packaged as part of Varken. Panel example pictures are pinned in the grafana-panels channel of discord. Future releases may contain a json-generator, but it does not exist as varken stands today.