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 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
File details
Details for the file collectd_transmission-3.6.tar.gz
.
File metadata
- Download URL: collectd_transmission-3.6.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c0315ce663fb3dcbceb91feabfbc33379bfd407bc9e764a776e8b6591071b10 |
|
MD5 | 9bff4358ef3fb5f1af465860b5318763 |
|
BLAKE2b-256 | 60470e0a3d7112d6972a6c0735866c3a768365b0c8f2b4ffefbc56501a1933b1 |
Provenance
The following attestation bundles were made for collectd_transmission-3.6.tar.gz
:
Publisher:
release.yaml
on akosiaris/collectd_transmission
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
collectd_transmission-3.6.tar.gz
- Subject digest:
8c0315ce663fb3dcbceb91feabfbc33379bfd407bc9e764a776e8b6591071b10
- Sigstore transparency entry: 149378862
- Sigstore integration time:
- Predicate type:
File details
Details for the file collectd_transmission-3.6-py3-none-any.whl
.
File metadata
- Download URL: collectd_transmission-3.6-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecee9790a64f63995148374e91bdfbe2971c99d7cd5650a74ffbd04c7e691d85 |
|
MD5 | 367e28ad6cb6a5a09aedb192926002a8 |
|
BLAKE2b-256 | a655584e7f6b691a1f22bd37e985bf0bc9e2a2984f11e435fe02a3350af462c5 |
Provenance
The following attestation bundles were made for collectd_transmission-3.6-py3-none-any.whl
:
Publisher:
release.yaml
on akosiaris/collectd_transmission
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
collectd_transmission-3.6-py3-none-any.whl
- Subject digest:
ecee9790a64f63995148374e91bdfbe2971c99d7cd5650a74ffbd04c7e691d85
- Sigstore transparency entry: 149378863
- Sigstore integration time:
- Predicate type: