Deploying Varken, Influx, Telegraf, Grafana - n05urpr1532-MHA-Team/PTS-Team GitHub Wiki
How-To's
All credit to BenderTwin (Donation Link:) https://beerpay.io/benderstwin/benders-scripts
IF YOU PREVIOUSLY DEPLOYED VARKEN IN PTS. RUN THIS COMMAND FIRST: sudo rm -rf /opt/appdata/varken
Simple Tutorial for deploying Varken, Influx, Telegraf, Grafana. For further customization and panel configuration help, please reach out to PTS Community.
- Influx
- Varken
- Grafana
- Telegraf
Deploy influxdb, grafana, and varken in PTS Community Apps
Edit your Varken.ini file sudo nano /opt/appdata/varken/varken.ini
(Required as of 1JAN2020) go here: https://www.maxmind.com/en/geolite2/signup sign up and create a license key and then go into portainer and add that to the new Environment variable VRKN_GLOBAL_MAXMIND_LICENSE_KEY
Instructions to configure varken.ini are not part of this howto but are located here https://github.com/Boerderij/Varken/wiki/Configuration
Use the container name for anything on the same host (i.e., tautulli, influx, ombi, sonarr, radarr, lidarr etc.)
Now go to https://grafana.yourdomain.com. Default Username and Password are admin/admin
Highly recommended that you change the default Grafana password:
Add influxdb as a datasource in Grafana URL is http://influxdb:8086
Database is varken
Username = admin
password = adminpass
Import dashboard - https://grafana.com/dashboards/9585
Install dependency plugins: sudo docker exec -it grafana /bin/bash
Paste grafana-cli plugins install grafana-piechart-panel && grafana-cli plugins install grafana-worldmap-panel
Exit bash shell
Restart the container sudo docker restart grafana
Deploy Telegraf
in PTS Community Apps
Add the datasource to grafana, import or create a dashboard, profit. When you add the data source, the URL is http://influxdb:8086 and the db name will be telegraf (database should be created for you already)