collectd_transmission-v2.3
توضیحات
A python plugin for collectd to get stats from a runnning transmission server.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | collectd_transmission-v2.3 |
| نام | collectd_transmission |
| نسخه کتابخانه | v2.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alexandros Kosiaris |
| ایمیل نویسنده | akosiaris@gmail.com |
| آدرس صفحه اصلی | https://github.com/akosiaris/collectd_transmission |
| آدرس اینترنتی | https://pypi.org/project/collectd_transmission/ |
| مجوز | 'ISC' |
Introduction
============
.. image:: https://img.shields.io/pypi/v/collectd_transmission.svg
:target: https://pypi.python.org/pypi/collectd_transmission
:alt: PyPi version
.. image:: https://img.shields.io/pypi/dm/collectd_transmission.svg
:target: https://pypi.python.org/pypi/collectd_transmission
:alt: PyPI Monthly downloads
.. image:: https://travis-ci.org/akosiaris/collectd_transmission.svg?branch=master
:target: https://travis-ci.org/akosiaris/collectd_transmission
:alt: Build Status
.. image:: https://readthedocs.org/projects/collectd-transmission/badge/?version=latest
:target: https://readthedocs.org/projects/collectd-transmission/
:alt: Documentation Status
.. image:: https://coveralls.io/repos/github/akosiaris/collectd_transmission/badge.svg?branch=master
:target: https://coveralls.io/github/akosiaris/collectd_transmission?branch=master
:alt: Code Coverage 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
.. code-block:: bash
apt-get install collectd transmission-daemon python-transmissionrpc python-pip
And then the actually software
.. code-block:: bash
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/
نحوه نصب
نصب پکیج whl collectd_transmission-v2.3:
pip install collectd_transmission-v2.3.whl
نصب پکیج tar.gz collectd_transmission-v2.3:
pip install collectd_transmission-v2.3.tar.gz