Skip to main content

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

Project description

Introduction

PyPi version Documentation 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

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-pip

And then the actual 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 actual documentation and more detailed installation and/or configuration instructions head over to:

https://collectd-transmission.readthedocs.io/en/latest/

Project details


Download files

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

Source Distribution

collectd_transmission-3.7.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

collectd_transmission-3.7-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file collectd_transmission-3.7.tar.gz.

File metadata

  • Download URL: collectd_transmission-3.7.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for collectd_transmission-3.7.tar.gz
Algorithm Hash digest
SHA256 36c045829869368a4691fa0d18e2782b9b01dafe2652dab37e4ba5ea26b3653d
MD5 51521a0906ca6410bc8bcf0bd32d37f8
BLAKE2b-256 3b23be3a1c398d689d27a6e3ed3944c819142e6c39879293eff6d094dab58663

See more details on using hashes here.

Provenance

The following attestation bundles were made for collectd_transmission-3.7.tar.gz:

Publisher: release.yaml on akosiaris/collectd_transmission

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file collectd_transmission-3.7-py3-none-any.whl.

File metadata

File hashes

Hashes for collectd_transmission-3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a8404770bc37617e6dd188b99b242c1d74d9fb03e4b709fee06493de203b3d60
MD5 91ce2c52ab59b40908cf3e5d854e14e2
BLAKE2b-256 a04d4e344dbb84afbf573a0d2666d567d9121a5b7e591024a7d24c377a1eca24

See more details on using hashes here.

Provenance

The following attestation bundles were made for collectd_transmission-3.7-py3-none-any.whl:

Publisher: release.yaml on akosiaris/collectd_transmission

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page