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-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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36c045829869368a4691fa0d18e2782b9b01dafe2652dab37e4ba5ea26b3653d
|
|
| MD5 |
51521a0906ca6410bc8bcf0bd32d37f8
|
|
| BLAKE2b-256 |
3b23be3a1c398d689d27a6e3ed3944c819142e6c39879293eff6d094dab58663
|
Provenance
The following attestation bundles were made for collectd_transmission-3.7.tar.gz:
Publisher:
release.yaml on akosiaris/collectd_transmission
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
collectd_transmission-3.7.tar.gz -
Subject digest:
36c045829869368a4691fa0d18e2782b9b01dafe2652dab37e4ba5ea26b3653d - Sigstore transparency entry: 612242872
- Sigstore integration time:
-
Permalink:
akosiaris/collectd_transmission@b5d0ad6fc710fa3ad7f0fda77b6814d6ff1c4ac2 -
Branch / Tag:
refs/tags/3.7 - Owner: https://github.com/akosiaris
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@b5d0ad6fc710fa3ad7f0fda77b6814d6ff1c4ac2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file collectd_transmission-3.7-py3-none-any.whl.
File metadata
- Download URL: collectd_transmission-3.7-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8404770bc37617e6dd188b99b242c1d74d9fb03e4b709fee06493de203b3d60
|
|
| MD5 |
91ce2c52ab59b40908cf3e5d854e14e2
|
|
| BLAKE2b-256 |
a04d4e344dbb84afbf573a0d2666d567d9121a5b7e591024a7d24c377a1eca24
|
Provenance
The following attestation bundles were made for collectd_transmission-3.7-py3-none-any.whl:
Publisher:
release.yaml on akosiaris/collectd_transmission
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
collectd_transmission-3.7-py3-none-any.whl -
Subject digest:
a8404770bc37617e6dd188b99b242c1d74d9fb03e4b709fee06493de203b3d60 - Sigstore transparency entry: 612242874
- Sigstore integration time:
-
Permalink:
akosiaris/collectd_transmission@b5d0ad6fc710fa3ad7f0fda77b6814d6ff1c4ac2 -
Branch / Tag:
refs/tags/3.7 - Owner: https://github.com/akosiaris
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@b5d0ad6fc710fa3ad7f0fda77b6814d6ff1c4ac2 -
Trigger Event:
release
-
Statement type: