Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Project Description

Introduction

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

General:

  • 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

Configure

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
    </Module>
</Plugin>

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/

Documentation

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

https://pythonhosted.org/collectd_transmission/

Release History

Release History

This version
History Node

3.1.0

History Node

3.0.0

History Node

v2.3

History Node

v2.2

History Node

v2.1

History Node

v2.0

History Node

v1.3

History Node

v1.2

History Node

v1.1

History Node

v1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collectd_transmission-3.1.0-py2.py3-none-any.whl (6.0 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Mar 10, 2016
collectd_transmission-3.1.0.tar.gz (13.0 kB) Copy SHA256 Checksum SHA256 Source Mar 10, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting