collectd-transmission


Namecollectd-transmission JSON
Version 3.5 PyPI version JSON
download
home_pageNone
SummaryA python plugin for collectd to get stats from a runnning transmission server
upload_time2024-06-18 07:51:25
maintainerNone
docs_urlhttps://pythonhosted.org/collectd-transmission/
authorNone
requires_python>=3.9
license'ISC'
keywords collectd transmission statistics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

.. image:: https://img.shields.io/pypi/v/collectd_transmission.svg
   :target: https://pypi.python.org/pypi/collectd_transmission
   :alt: PyPi version

.. image:: https://readthedocs.org/projects/collectd-transmission/badge/?version=latest
   :target: https://readthedocs.org/projects/collectd-transmission/
   :alt: 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

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

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

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "collectd-transmission",
    "maintainer": null,
    "docs_url": "https://pythonhosted.org/collectd-transmission/",
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "collectd, transmission, statistics",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/29/d0/33bd6e6f2aae9059b30576f14b65dd217241dee6f08313405be3978a477f/collectd_transmission-3.5.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\n.. image:: https://img.shields.io/pypi/v/collectd_transmission.svg\n   :target: https://pypi.python.org/pypi/collectd_transmission\n   :alt: PyPi version\n\n.. image:: https://readthedocs.org/projects/collectd-transmission/badge/?version=latest\n   :target: https://readthedocs.org/projects/collectd-transmission/\n   :alt: Documentation Status\n\nA python plugin for integrating collectd and transmission. With this\ninstalled, collectd will be querying transmission for the following:\n\nPer session and cumulative:\n\n* downloadedBytes\n* uploadedBytes\n* filesAdded\n* secondsActive\n\nGeneral:\n\n* activeTorrentCount\n* blocklist\\_size\n* downloadSpeed\n* uploadSpeed\n* pausedTorrentCount\n* torrentCount\n\nand creating the relevant RRD files (or pushing to graphite or whatever\nyou have collectd doing)\n\nSome of these metrics are per session, some session cumulative, some are\nsession independent. Their type 'current', 'cumulative', 'general' is set\nin the name of the metric\n\nQuick Installation\n==================\n\nDebian/Ubuntu assumed. Prereqs installation\n\n.. code-block:: bash\n\n    apt-get install collectd transmission-daemon python-transmissionrpc python-pip\n\n\nAnd then the actually software\n\n.. code-block:: bash\n\n    pip install collectd_transmission\n\nConfigure\n=========\n\nInsert the following in your collectd.conf::\n\n    <Plugin python>\n        LogTraces false\n        Interactive false\n        Import \"collectd_transmission\"\n        <Module collectd_transmission>\n            username \"myuser\" # Required\n            password \"mypass\" # Required\n        </Module>\n    </Plugin>\n\nmodified accordingly to your needs. Restart collectd and you are done.\n\nThere should be rrds for transmission under collectd's data directory.\nMost probably that is `/var/lib/collectd/rrd/<hostname>/transmission/`\n\nDocumentation\n=============\n\nIf you want some actual documentation and more detailed installation\nand/or configuration instructions head over to:\n\nhttps://collectd-transmission.readthedocs.io/en/latest/\n",
    "bugtrack_url": null,
    "license": "'ISC'",
    "summary": "A python plugin for collectd to get stats from a runnning transmission server",
    "version": "3.5",
    "project_urls": null,
    "split_keywords": [
        "collectd",
        " transmission",
        " statistics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4d489530e6e548b2ffcd4c2041450b1bf61798d694d8d98b8323483d463ec0b9",
                "md5": "8583c792e847dd8df4f3e10278e67c73",
                "sha256": "1734ef2851cc59e7a81568e7ebad8fba23363de8a9a3e61f8595b96de8d9fe12"
            },
            "downloads": -1,
            "filename": "collectd_transmission-3.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8583c792e847dd8df4f3e10278e67c73",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4892,
            "upload_time": "2024-06-18T07:51:23",
            "upload_time_iso_8601": "2024-06-18T07:51:23.501080Z",
            "url": "https://files.pythonhosted.org/packages/4d/48/9530e6e548b2ffcd4c2041450b1bf61798d694d8d98b8323483d463ec0b9/collectd_transmission-3.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "29d033bd6e6f2aae9059b30576f14b65dd217241dee6f08313405be3978a477f",
                "md5": "f20c8b8a6ded9d124e4d296a92f10295",
                "sha256": "dd397950194064f38bd8a14b5d12e967c470f547d18172599c26f06b0ab66993"
            },
            "downloads": -1,
            "filename": "collectd_transmission-3.5.tar.gz",
            "has_sig": false,
            "md5_digest": "f20c8b8a6ded9d124e4d296a92f10295",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 5454,
            "upload_time": "2024-06-18T07:51:25",
            "upload_time_iso_8601": "2024-06-18T07:51:25.287418Z",
            "url": "https://files.pythonhosted.org/packages/29/d0/33bd6e6f2aae9059b30576f14b65dd217241dee6f08313405be3978a477f/collectd_transmission-3.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-18 07:51:25",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "collectd-transmission"
}
        
Elapsed time: 1.06993s