Skip to main content

A python plugin for collectd to get stats from a runnning transmission server.

Project description


PyPi version PyPI Monthly downloads Build Status Documentation Status Code Coverage Status

A python plugin for integrating collectd and transmission. With this installed, collectd will be querying transmission for the following:

Per session and cumulative:

  • downloadedBytes
  • uploadedBytes
  • filesAdded
  • secondsActive


  • activeTorrentCount
  • blocklist_size
  • downloadSpeed
  • uploadSpeed
  • pausedTorrentCount
  • torrentCount

and creating the relevant RRD files (or pushing to graphite or whatever you have collectd doing)

Some of these metrics are per session, some session cumulative, some are session independent. Their type ‘current’, ‘cumulative’, ‘general’ is set in the name of the metric

Quick Installation

Debian/Ubuntu assumed. Prereqs installation

apt-get install collectd transmission-daemon python-transmissionrpc python-pip

And then the actually software

pip install collectd_transmission


Insert the following in your collectd.conf:

<Plugin python>
    LogTraces false
    Interactive false
    Import "collectd_transmission"
    <Module collectd_transmission>
        username "myuser" # Required
        password "mypass" # Required

modified accordingly to your needs. Restart collectd and you are done.

There should be rrds for transmission under collectd’s data directory. Most probably that is /var/lib/collectd/rrd/<hostname>/transmission/


If you want some actually documentation and more detailed installation and/or configuration instructions head over to:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collectd_transmission, version 3.2.0
Filename, size File type Python version Upload date Hashes
Filename, size collectd_transmission-3.2.0-py2.py3-none-any.whl (6.0 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size collectd_transmission-3.2.0.tar.gz (13.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page