/TransmissionGraf-Dockerized

Connector for transmission-daemon and influxdb

Primary LanguagePythonOtherNOASSERTION

TransmissionGraf Dockerized

Is a program which provides transmission-daemon info to InfluxDB

The original script was made by @Festeazy I have taken the script and updated it to run in a Docker Container as well as fixing a couple minor bugs that would cause a program crash. You can find the link to the docker file here!

Installation

You can run this program from the command line or via docker compose. This uses influxdb 1.0 auth so you will need to set that up if using influxdb 2.0 this link may help you create a v1.0 compatible api endpoint.

---
version: '2'
services:
  transmission-graf:
    image: andrerc1/transmission-graf:latest
    container_name: transmission-graf
# if you are running this next to influx db you can add this to make sure that this service only starts when influx has already started.
#   depends_on:
#     - influxdb
    environment:
      # transmission host config
      TRANSMISSION_USERNAME: transmission
      TRANSMISSION_PASSWORD: transmission
      TRANSMISSION_PORT: 9001
      TRANSMISSION_HOST: 192.168.0.1
      # InfluxDB config
      INFLUXDB_USERNAME: influxdb
      INFLUXDB_PASSWORD: influxdb
      INFLUXDB_HOST: 192.168.0.1
      INFLUXDB_PORT: 8086
      INFLUXDB_DATABASE: default
    restart: always

image TransGraf

  • Released May 29th 2020!
  • Updated October 30th 2022!