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
Hashes for collectd_transmission-3.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd397950194064f38bd8a14b5d12e967c470f547d18172599c26f06b0ab66993 |
|
MD5 | f20c8b8a6ded9d124e4d296a92f10295 |
|
BLAKE2b-256 | 29d033bd6e6f2aae9059b30576f14b65dd217241dee6f08313405be3978a477f |
Hashes for collectd_transmission-3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1734ef2851cc59e7a81568e7ebad8fba23363de8a9a3e61f8595b96de8d9fe12 |
|
MD5 | 8583c792e847dd8df4f3e10278e67c73 |
|
BLAKE2b-256 | 4d489530e6e548b2ffcd4c2041450b1bf61798d694d8d98b8323483d463ec0b9 |