{ "info": { "author": "Ilkka Tuohela", "author_email": "ilkka.tuohela@codento.com", "bugtrack_url": null, "classifiers": [], "description": "HTTP daemon to check postgresql server status for haproxy\n=========================================================\n\nThis repository implements a permanent HTTP daemon to monitor postgresql database state\nand to decide which server in configuration is active master.\n\nResponse from tool is used by haproxy to redirect traffic to writable postgres master server, to readonly slave\nservers and to detect unavailable postgres servers.\n\nConfiguration files\n-------------------\n\nConfiguration path is ~/.config/pgstatus.conf. Configuration file is required if you want to monitor\na postgres server that is not localhost:5432 as user postgres and not using postgres as database to check.\n\nSee example configuration file in examples directory.\n\nSee example configuration for haproxy in examples/haproxy.conf.\n\nRunning the service\n-------------------\n\nThere is example systemd service unit available in examples/pgstatus-daemon.service, configured by default\nto run as postgres user (so normally no user and password needs to be configured for default postgres).\n\nTo install:\n\n cp examples/pgstatus-daemon.service /etc/systemd/system/\n systemctl daemon-reload\n systemctl enable pgstatus-daemon\n systemctl start pgstatus-daemon\n\nCredits\n=======\n\nThe basic idea is based on website\n\nhttps://severalnines.com/blog/postgresql-load-balancing-using-haproxy-keepalived\n\nInstead of xinetd and shell script, this implements the check as a systemd controlled\npermanent daemon.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hile/pgstatus/", "keywords": "postgresql haproxy status check tools", "license": "PSF", "maintainer": "", "maintainer_email": "", "name": "pgstatus", "package_url": "https://pypi.org/project/pgstatus/", "platform": "", "project_url": "https://pypi.org/project/pgstatus/", "project_urls": { "Homepage": "https://github.com/hile/pgstatus/" }, "release_url": "https://pypi.org/project/pgstatus/1.1.3/", "requires_dist": null, "requires_python": ">=2.7", "summary": "HTTP server to check postgresql server status", "version": "1.1.3" }, "last_serial": 4949379, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "227581565dd40672875ca25c95f6047b", "sha256": "85b928a2d7ce9f1148a71225074e7cb97326d61ec37b82fb680bc62ea2089afb" }, "downloads": -1, "filename": "pgstatus-1.0.tar.gz", "has_sig": false, "md5_digest": "227581565dd40672875ca25c95f6047b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3483, "upload_time": "2018-02-15T03:42:17", "url": "https://files.pythonhosted.org/packages/ce/4a/7e75c775206e221bc5ad7476a2463658687ed94eb125684fe8c73ce4cd2b/pgstatus-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "513db4684f81fc9e4a0306290ac32184", "sha256": "8b3d4f8960069ed7021db4d5a6cca90fd847075b06c5cf2043ca92ddcdcfff34" }, "downloads": -1, "filename": "pgstatus-1.0.1.tar.gz", "has_sig": false, "md5_digest": "513db4684f81fc9e4a0306290ac32184", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3549, "upload_time": "2018-02-15T17:10:02", "url": "https://files.pythonhosted.org/packages/ee/bd/6464185f8e62186b84888638fbdbfdd49914f3f0e5e13cb81a26b4d9ccd2/pgstatus-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "72134371749e7f09e36afd2224a8d794", "sha256": "513769d95ea4198c049c1a062fd1f4388c19cd3557abfb0e5f65636eb9b1c458" }, "downloads": -1, "filename": "pgstatus-1.1.0.tar.gz", "has_sig": false, "md5_digest": "72134371749e7f09e36afd2224a8d794", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3508, "upload_time": "2019-03-17T02:40:44", "url": "https://files.pythonhosted.org/packages/22/98/65055f5b2b3f77e082acd50dbb1c135f3dcec32997ab2de08a7f1dca2feb/pgstatus-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "305663a97a433d46186e660f4adcbf0e", "sha256": "d51f59713bf64302d5fcda1c26221c13b10bdc6c370ec6d5dcda8a47bc978239" }, "downloads": -1, "filename": "pgstatus-1.1.1.tar.gz", "has_sig": false, "md5_digest": "305663a97a433d46186e660f4adcbf0e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 3734, "upload_time": "2019-03-17T02:52:47", "url": "https://files.pythonhosted.org/packages/1b/3a/637c8501abde076570ba3acfc76cab24c3ae1191a4468a2b43ff8150c1ed/pgstatus-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "9d7bef37d7fb6e113a1bcf544ef2e705", "sha256": "bf1397ef066c11eff71eee26db20675ea696a8750a90bb077f728030970c957a" }, "downloads": -1, "filename": "pgstatus-1.1.2.tar.gz", "has_sig": false, "md5_digest": "9d7bef37d7fb6e113a1bcf544ef2e705", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 3927, "upload_time": "2019-03-17T02:57:46", "url": "https://files.pythonhosted.org/packages/29/ca/0bc7a9e7cdf3e106fc6ee6ae12a383ed6bb9ffdb8be321ef1230ee34d638/pgstatus-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "64e1c311cba22a5c24297cbf1cd9e81a", "sha256": "7adb3c5ed4e7b3004755b4e4e5f7ab3e3cdfb39b523f450d827797f3a52004d4" }, "downloads": -1, "filename": "pgstatus-1.1.3.tar.gz", "has_sig": false, "md5_digest": "64e1c311cba22a5c24297cbf1cd9e81a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 3939, "upload_time": "2019-03-17T03:19:56", "url": "https://files.pythonhosted.org/packages/09/5e/641683b1526804645276cf23ec658ad19f0113558cbd9e1763c341dd08dd/pgstatus-1.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64e1c311cba22a5c24297cbf1cd9e81a", "sha256": "7adb3c5ed4e7b3004755b4e4e5f7ab3e3cdfb39b523f450d827797f3a52004d4" }, "downloads": -1, "filename": "pgstatus-1.1.3.tar.gz", "has_sig": false, "md5_digest": "64e1c311cba22a5c24297cbf1cd9e81a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 3939, "upload_time": "2019-03-17T03:19:56", "url": "https://files.pythonhosted.org/packages/09/5e/641683b1526804645276cf23ec658ad19f0113558cbd9e1763c341dd08dd/pgstatus-1.1.3.tar.gz" } ] }