{ "info": { "author": "MyBook", "author_email": "coagulant@mybook.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "zabbix_exporter\n===============\n\n.. image:: https://img.shields.io/badge/python-2.7,%203.6-blue.svg\n :target: https://pypi.python.org/pypi/zabbix-exporter/\n\n.. image:: https://travis-ci.org/MyBook/zabbix-exporter.svg?branch=master\n :target: https://travis-ci.org/MyBook/zabbix-exporter\n\n.. image:: https://codecov.io/gh/MyBook/zabbix-exporter/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/MyBook/zabbix-exporter\n\nUsage\n=====\n::\n\n Usage: zabbix_exporter [OPTIONS]\n\n Zabbix metrics exporter for Prometheus\n\n Use config file to map zabbix metrics names/labels into prometheus. Config\n below transfroms this:\n\n local.metric[uwsgi,workers,myapp,busy] = 8\n local.metric[uwsgi,workers,myapp,idle] = 6\n\n into familiar Prometheus gauges:\n\n uwsgi_workers{instance=\"host1\",app=\"myapp\",status=\"busy\"} 8\n uwsgi_workers{instance=\"host1\",app=\"myapp\",status=\"idle\"} 6\n\n YAML:\n\n metrics:\n - key: 'local.metric[uwsgi,workers,*,*]'\n name: 'uwsgi_workers'\n labels:\n app: $1\n status: $2\n reject:\n - 'total'\n\n Options:\n --config PATH Path to exporter config\n --port INTEGER Port to serve prometheus stats [default: 9224]\n --url TEXT HTTP URL for zabbix instance\n --login TEXT Zabbix username\n --password TEXT Zabbix password\n --verify-tls / --no-verify Enable TLS cert verification [default: true]\n --timeout INTEGER API read/connect timeout\n --verbose\n --dump-metrics Output all metrics for human to write yaml\n config\n --version\n --help Show this message and exit.\n\n\nDeploying with Docker\n=====================\n::\n\n docker run -d --name zabbix_exporter -v /path/to/your/config.yml:/zabbix_exporter/zabbix_exporter.yml --env=ZABBIX_URL=\"https://zabbix.example.com/\" --env=\"ZABBIX_LOGIN=username\" --env=\"ZABBIX_PASSWORD=secret\" mybook/zabbix-exporter\n\n\n=======\nHistory\n=======\n\n1.0.2 (2017-02-25)\n------------------\n\n* Fix build script\n\n\n1.0.1 (2017-02-25)\n------------------\n\n* Add docker image ``mybook/zabbix-exporter``\n\n\n1.0.0 (2017-01-20)\n------------------\n\n* Initial PyPI release", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MyBook/zabbix-exporter", "keywords": "zabbix_exporter", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "zabbix_exporter", "package_url": "https://pypi.org/project/zabbix_exporter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zabbix_exporter/", "project_urls": { "Homepage": "https://github.com/MyBook/zabbix-exporter" }, "release_url": "https://pypi.org/project/zabbix_exporter/1.0.2/", "requires_dist": [ "PyYAML (>=3.11)", "click (>=6.4)", "prometheus-client (>=0.0.13)", "pyzabbix (>=0.7.4)" ], "requires_python": "", "summary": "zabbix metrics for Prometheus", "version": "1.0.2" }, "last_serial": 2667808, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "490e0fa27809dd93e5173aad0635b3b9", "sha256": "2aaf6b947cf47a051c6ba3f779b6c58c6143f9a65a37424fdd1b29c5b8bd979f" }, "downloads": -1, "filename": "zabbix_exporter-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "490e0fa27809dd93e5173aad0635b3b9", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 11091, "upload_time": "2017-01-20T15:24:10", "url": "https://files.pythonhosted.org/packages/fa/8b/be2005359ee0c2577e9cb98c3c7fd99052a568d5da60d3611597a0ad040a/zabbix_exporter-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "76cd8d54ae2f15e35c9488170782027f", "sha256": "088c2bcb5c736a46ebd37f1c35dde81ad39a0d39f23eb842a54035586ac81f90" }, "downloads": -1, "filename": "zabbix_exporter-1.0.0.tar.gz", "has_sig": false, "md5_digest": "76cd8d54ae2f15e35c9488170782027f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13840, "upload_time": "2017-01-20T15:23:22", "url": "https://files.pythonhosted.org/packages/64/d9/87ad12681ab86f1a200132cd65b54465f9f648f4a0b07ae6cf4533dd8e90/zabbix_exporter-1.0.0.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "398167cc9bd0a7ef441f39bdbddefd1f", "sha256": "33b4146ac44da6458a4def03e9fa7455da54726f83e5f5346f9aa301b4bf8943" }, "downloads": -1, "filename": "zabbix_exporter-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "398167cc9bd0a7ef441f39bdbddefd1f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11539, "upload_time": "2017-02-25T16:50:20", "url": "https://files.pythonhosted.org/packages/3d/64/6bde710ccc05b51f6877cabc36f28638c11d48bb8e1bb0fc4403b10b3957/zabbix_exporter-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8b0ecab0d4d66cc839b7c03a6214bc2", "sha256": "0e9fd6552435bc794255cea793c60bfdeb7b2e3b548966d60e110d7f9ebc6edf" }, "downloads": -1, "filename": "zabbix_exporter-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b8b0ecab0d4d66cc839b7c03a6214bc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14070, "upload_time": "2017-02-25T16:50:22", "url": "https://files.pythonhosted.org/packages/7b/50/854eb667c0e738f06d22422e5c258b5f6c02ac4c2d5610d426dea1863903/zabbix_exporter-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "398167cc9bd0a7ef441f39bdbddefd1f", "sha256": "33b4146ac44da6458a4def03e9fa7455da54726f83e5f5346f9aa301b4bf8943" }, "downloads": -1, "filename": "zabbix_exporter-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "398167cc9bd0a7ef441f39bdbddefd1f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11539, "upload_time": "2017-02-25T16:50:20", "url": "https://files.pythonhosted.org/packages/3d/64/6bde710ccc05b51f6877cabc36f28638c11d48bb8e1bb0fc4403b10b3957/zabbix_exporter-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8b0ecab0d4d66cc839b7c03a6214bc2", "sha256": "0e9fd6552435bc794255cea793c60bfdeb7b2e3b548966d60e110d7f9ebc6edf" }, "downloads": -1, "filename": "zabbix_exporter-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b8b0ecab0d4d66cc839b7c03a6214bc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14070, "upload_time": "2017-02-25T16:50:22", "url": "https://files.pythonhosted.org/packages/7b/50/854eb667c0e738f06d22422e5c258b5f6c02ac4c2d5610d426dea1863903/zabbix_exporter-1.0.2.tar.gz" } ] }