{ "info": { "author": "Wolfgang Schnerring ", "author_email": "wosc@wosc.de", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Zope Public License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython" ], "description": "======================================\nprometheus metrics for uptimerobot.com\n======================================\n\n.. image:: https://travis-ci.org/wosc/prometheus-uptimerobot.png\n :target: https://travis-ci.org/wosc/prometheus-uptimerobot\n\nThis packages exports `Uptime Robot`_ monitor results as `Prometheus`_ metrics.\n\n.. _`Uptime Robot`: https://uptimerobot.com\n.. _`Prometheus`: https://prometheus.io\n\n\nUsage\n=====\n\nConfigure API key\n-----------------\n\nYou'll need to provide the API key of your uptimerobot.com account using a\nconfiguration file::\n\n [default]\n api_key = 123456789\n\nSee the `Uptime Robot API documentation`_ for details.\n\n\nSet up HTTP service\n-------------------\n\nThen you need to set up an HTTP server, either with a dedicated process::\n\n $ uptimerobot_exporter --host localhost --port 9429 --config /path/to/config\n\nor as a CGI script, if you have infrastructure for that set up anyway.\nHere's an example apache configuration snippet to do this::\n\n ScriptAlias /metrics/uptimerobot /path/to/uptimerobot_exporter_cgi\n \n SetEnv PROMETHEUS_UPTIMEROBOT_CONFIG /path/to/config\n # SetEnv PROMETHEUS_UPTIMEROBOT_LOGFILE /path/to/log # optional, for debugging\n \n\n\nConfigure Prometheus\n--------------------\n\n::\n\n scrape_configs:\n - job_name: 'uptimerobot'\n scrape_interval: 300s\n static_configs:\n - targets: ['localhost:9429']\n\nThe following metrics are exported, each with labels ``{monitor_name=\"example.com\",monitor_type=\"http\",monitor_url=\"https://example.com\"}``:\n\n* ``uptimerobot_up`` gauge (1=up, 0=down)\n* ``uptimerobot_status`` gauge\n* ``uptimerobot_responsetime`` gauge\n* ``uptimerobot_ssl_expire`` gauge (unix timestamp), if applicable\n\nSee the `Uptime Robot API documentation`_ section \"Parameters\" for details on\nthe possible ``status`` values. The ``monitor_type`` is translated from its\nnumeric code to one of ``http``, ``http keyword``, ``ping``, or ``port``.\n\nAdditionally, a ``uptimerobot_scrape_duration_seconds`` gauge is exported.\n\n\n.. _`Uptime Robot API documentation`: https://uptimerobot.com/api\n\n\nCHANGES\n=======\n\n1.1.0 (2018-09-17)\n------------------\n\n- Add ssl expiration metrics\n\n\n1.0.1 (2018-04-02)\n------------------\n\n- Support pagination of API results.\n\n\n1.0.0 (2018-04-01)\n------------------\n\n- First release.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wosc/prometheus-uptimerobot", "keywords": "", "license": "ZPL 2.1", "maintainer": "", "maintainer_email": "", "name": "ws.prometheus-uptimerobot", "package_url": "https://pypi.org/project/ws.prometheus-uptimerobot/", "platform": "", "project_url": "https://pypi.org/project/ws.prometheus-uptimerobot/", "project_urls": { "Homepage": "https://github.com/wosc/prometheus-uptimerobot" }, "release_url": "https://pypi.org/project/ws.prometheus-uptimerobot/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "Export uptimerobot.com monitor results as prometheus.io metrics", "version": "1.1.0" }, "last_serial": 4279726, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "3407cdd6d336226ae76b10acbd0a3b02", "sha256": "922867cb1a52ca2604f459eb543c64da1218563333a662db841a6928ec97eddd" }, "downloads": -1, "filename": "ws.prometheus_uptimerobot-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3407cdd6d336226ae76b10acbd0a3b02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4687, "upload_time": "2018-04-01T18:03:07", "url": "https://files.pythonhosted.org/packages/18/4e/c83be501bdba96ca34f5b0673637c9c9c18b303f62104d8603fa75306b5b/ws.prometheus_uptimerobot-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "58bdc37f8c9fffa63d8c8b5ce206d4fe", "sha256": "79874459748b1a2e310e619524f0c8f642dea6cec47ec5b23193f02ebdd647e2" }, "downloads": -1, "filename": "ws.prometheus_uptimerobot-1.0.1.tar.gz", "has_sig": false, "md5_digest": "58bdc37f8c9fffa63d8c8b5ce206d4fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5987, "upload_time": "2018-04-02T09:46:24", "url": "https://files.pythonhosted.org/packages/2b/13/15c28431e08a50149cf7757033d8344e8d38ef44b5bdcb30daaa8d52f538/ws.prometheus_uptimerobot-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "77af11ff4705501d6d4947f594f81c38", "sha256": "bd27410de20e3490036b29d95e5b40de2c982357c63e449c32190989210c5620" }, "downloads": -1, "filename": "ws.prometheus_uptimerobot-1.1.0.tar.gz", "has_sig": false, "md5_digest": "77af11ff4705501d6d4947f594f81c38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6118, "upload_time": "2018-09-17T14:58:14", "url": "https://files.pythonhosted.org/packages/89/88/a40666882c5d397862548b53371cdb1005f7586a2d0c8c6df67b69d17c88/ws.prometheus_uptimerobot-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "77af11ff4705501d6d4947f594f81c38", "sha256": "bd27410de20e3490036b29d95e5b40de2c982357c63e449c32190989210c5620" }, "downloads": -1, "filename": "ws.prometheus_uptimerobot-1.1.0.tar.gz", "has_sig": false, "md5_digest": "77af11ff4705501d6d4947f594f81c38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6118, "upload_time": "2018-09-17T14:58:14", "url": "https://files.pythonhosted.org/packages/89/88/a40666882c5d397862548b53371cdb1005f7586a2d0c8c6df67b69d17c88/ws.prometheus_uptimerobot-1.1.0.tar.gz" } ] }