{ "info": { "author": "Evan Darwin", "author_email": "evan@devil.io", "bugtrack_url": null, "classifiers": [], "description": "# InfluxDB-sysmond\n\nA system monitoring daemon for recording server statistics in [InfluxDB](http://influxdb.com/).\n\n## WIP\n\nThis software is a WIP and the configuration file is most likely going to change often, so errors might happen and other weird things. So just be warned.\n\n## Installation\n\nYou can install this via PyPI, like so:\n\n```sh\nsudo pip install influxdb-sysmond\n```\n\nAnd then all you have to do is go to **/etc/influxdb-sysmond/** and edit the **config.ini.dist** file there and you should be ready to log.\n\nAssuming that you renamed the config file to **config.ini**, you can go ahead and run this:\n\n```sh\ninfluxdb-sysmond /etc/influxdb-sysmond/config.ini\n```\n\nAnd the daemon will start logging everything to the InfluxDB server you specified.\n\n## Included Collectors\n\nThis is a list of some of the default packaged collectors that are enabled:\n\n### **cpu** - `system.cpu`\n#### Returns percentages of CPU allocation\n\n|Key|Type|Description|\n|---|----|-----------|\n|**user**|*int*|Percent used by user processes|\n|**nice**|*int*|Percent used by nice'd processes|\n|**system**|*int*|Percent used by the system|\n|**idle**|*int*|Percent of CPU that's idle|\n\n\n### **disk** - `system.disk.*`\n#### Returns information about disk usage\n\n|Key|Type|Description|\n|---|----|-----------|\n|**total**|*long*|Total available space *in bytes*|\n|**used**|*long*|Space used *in bytes*|\n|**free**|*long*|Free space *in bytes*|\n\n **Note**: This plugin also returns a combined total available under the `system.disk.total` series.\n\n### **load** - `system.load`\n#### Returns system load information\n\n|Key|Type|Description|\n|---|----|-----------|\n|**1m**|*int*|1 minute load average|\n|**5m**|*int*|5 minute load average|\n|**15m**|*int*|15 minute load average|\n\n\n### **memory** - `system.memory`\n#### Returns system memory allocations and usage\n\nAll of these values are calculated in *bytes*.\n\n|Key|Type|Description|\n|---|----|-----------|\n|**total**|*long*|Total memory|\n|**available**|*long*|Total uncached memory|\n|**used**|*long*|Total cached memory|\n|**active**|*long*|Total actively used memory|\n|**inactive**|*long*|Total allocated but unused memory|\n|**free**|*long*|Total unallocated memory|\n\n\n### **net** - `system.net.*`\n#### Returns network information seperated by interface\n\n|Key|Type|Description|\n|---|----|-----------|\n|**bytes_tx**|*long*|Total bytes sent|\n|**bytes_rx**|*long*|Total bytes received|\n|**packets_rx**|*long*|Total packets received|\n|**packets_tx**|*long*|Total packets sent|\n|**errors_in**|*long*|Total incoming packet errors|\n|**errors_out**|*long*|Total outgoing packet errors|\n|**dropped_in**|*long*|Total incoming dropped packets|\n|**dropped_out**|*long*|Total outgoing dropped packets|\n\n## Custom Collectors\nYou can go ahead and add collectors to the **/etc/influxdb-sysmond/collectors/** (making sure to import them in the **__init__.py** file) and we will automatically run them in the cycles and report their values.\n\nHere's some examples:\n**collectors/example.py**:\n\n```python\nimport rand\n\nclass ExampleCollector(CollectorThread):\n identifier = 'example' # This is required!\n\n def collect(self, cache):\n # Stateful cache (across collections)\n if last in cache:\n cache['last'] = rand.randint(0, 100)\n\n return [{\n \"name\": \"your.point\",\n \"columns\": [\n \"walk\"\n ],\n \"points\": [\n rand.randint(0, 100)\n ]\n }]\n```\n\nAnd import it in **collectors/__init__.py**:\n\n```python\nfrom .example import *\n```\n\n## License\n\nMIT license, see the **LICENSE** file.\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/EvanDarwin/InfluxDB-sysmond", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "influxdb-sysmond", "package_url": "https://pypi.org/project/influxdb-sysmond/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/influxdb-sysmond/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/EvanDarwin/InfluxDB-sysmond" }, "release_url": "https://pypi.org/project/influxdb-sysmond/0.0.6/", "requires_dist": null, "requires_python": null, "summary": "System monitoring daemon that logs to InfluxDB", "version": "0.0.6" }, "last_serial": 1563655, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "b3d2e2ef66e840d0192f0ae4ba94f2f2", "sha256": "1f257d5b87aa58022d565beb0b6724c65e944913fc15b8a87f9a8f6f9a41728c" }, "downloads": -1, "filename": "influxdb-sysmond-0.0.3.tar.gz", "has_sig": false, "md5_digest": "b3d2e2ef66e840d0192f0ae4ba94f2f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4934, "upload_time": "2015-05-24T18:50:41", "url": "https://files.pythonhosted.org/packages/30/d2/844802457a9d78619d305d2309d0d2d5c8c503af3bf3f0a4717d2fa05a79/influxdb-sysmond-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "9b0b75c30771e76883007eb1f3296ae8", "sha256": "4d32cb0453e37beba8298f15939054517adefcd197a5836c4e301792d74e6b13" }, "downloads": -1, "filename": "influxdb-sysmond-0.0.4.tar.gz", "has_sig": false, "md5_digest": "9b0b75c30771e76883007eb1f3296ae8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5477, "upload_time": "2015-05-24T18:59:56", "url": "https://files.pythonhosted.org/packages/3b/61/179761625263d1dbd2cd5bb04c635ea345a0d0452b157db843107d5e26af/influxdb-sysmond-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "c497dad4057a3e9a64b3dfc43271fba2", "sha256": "058a3b688e5b2c0d312c618cf926191d3cacda97494f9104474951e36187d49c" }, "downloads": -1, "filename": "influxdb-sysmond-0.0.5.tar.gz", "has_sig": false, "md5_digest": "c497dad4057a3e9a64b3dfc43271fba2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7528, "upload_time": "2015-05-26T19:39:58", "url": "https://files.pythonhosted.org/packages/d0/07/f9f5120d338629fd33617872046a92da6f1bbeec0529c79a0648da41ee68/influxdb-sysmond-0.0.5.tar.gz" } ], "0.0.5.1": [ { "comment_text": "", "digests": { "md5": "e6fbd46492ec193f61f5313a6e5654a0", "sha256": "47059c2009ab8e3b0a326e12109a0109920731c3e8bec87125c360af8b49d83a" }, "downloads": -1, "filename": "influxdb-sysmond-0.0.5.1.tar.gz", "has_sig": false, "md5_digest": "e6fbd46492ec193f61f5313a6e5654a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7539, "upload_time": "2015-05-26T19:43:19", "url": "https://files.pythonhosted.org/packages/5d/2b/c6673b1a48ad004a02305b1e81a3b52e330164b41d388ad2e682b71ac516/influxdb-sysmond-0.0.5.1.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "e50a344b1f23b025040ff38db70d1d66", "sha256": "0e91b48770560ebe3e3d23754b9297004ce43f496c2e1eb1c74bd2b007ef5167" }, "downloads": -1, "filename": "influxdb-sysmond-0.0.6.tar.gz", "has_sig": false, "md5_digest": "e50a344b1f23b025040ff38db70d1d66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8172, "upload_time": "2015-05-26T20:27:54", "url": "https://files.pythonhosted.org/packages/5e/bb/ce745fe484dc79272e69b807d09fa750a9ffe6dbf78614436e564f401060/influxdb-sysmond-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e50a344b1f23b025040ff38db70d1d66", "sha256": "0e91b48770560ebe3e3d23754b9297004ce43f496c2e1eb1c74bd2b007ef5167" }, "downloads": -1, "filename": "influxdb-sysmond-0.0.6.tar.gz", "has_sig": false, "md5_digest": "e50a344b1f23b025040ff38db70d1d66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8172, "upload_time": "2015-05-26T20:27:54", "url": "https://files.pythonhosted.org/packages/5e/bb/ce745fe484dc79272e69b807d09fa750a9ffe6dbf78614436e564f401060/influxdb-sysmond-0.0.6.tar.gz" } ] }