{ "info": { "author": "Jose Antonio Quevedo Mu\u00f1oz", "author_email": "joseantonio.quevedo@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5" ], "description": "Tool: 2_check_and_report\n\nDescription:\n************\n\nThis program performs some checks and return a report in case some of these checks fail:\n- The number of databases created is under a specific threshold parametrized through the -m argument.\n- The disk used by postgresql is not over a percentage of the total disk. The specific percentage is parametrized through the -p argument.\n- The number of connections stablished to the database is not over a percentage of the max connections value. The specific percentage is parametrized through the -c argument.\n\n\nHow to:\n*******\n\nNote: The next commands are meant to be run in the same that directory in which this Readme.txt file is stored.\n\n- Disable any previously activated virtualenv:\n\n$ deactivate\n\n- Setup environment:\n\n$ ../../setup_env.sh\n\n- Enable virtualenv:\n\n$ source venvs/2_check_and_report/bin/activate\n\n- Get the program help:\n\n$ ./run -v\n\n- Run the tool (example):\n\nThis command checks:\nthe amount of databases is less than 10,\nthe percentage of partition disk used by postgresql is less than 0.2%, and\nthe percentage of active connections to the postgresql service is less than 2.5%.\n\n$ ./run.py -m 10 -p 0.2 -c 2.5\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/jaqm/pg_check_and_report.git", "keywords": "PostgreSQL\ncheck\nreport", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pg_check_and_report", "package_url": "https://pypi.org/project/pg_check_and_report/", "platform": "", "project_url": "https://pypi.org/project/pg_check_and_report/", "project_urls": { "Homepage": "https://gitlab.com/jaqm/pg_check_and_report.git" }, "release_url": "https://pypi.org/project/pg_check_and_report/0.0.0/", "requires_dist": null, "requires_python": "", "summary": "PostgreSQL service populator.", "version": "0.0.0" }, "last_serial": 3026380, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "36493bc8a1c83f7790e3169a3a5cadee", "sha256": "a14c6db84f46a6ffc684802500b96fa15bce5ece1b35cf23d3fb405f4cfc3068" }, "downloads": -1, "filename": "pg_check_and_report-0.0.0.tar.gz", "has_sig": false, "md5_digest": "36493bc8a1c83f7790e3169a3a5cadee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3818, "upload_time": "2017-07-16T10:07:52", "url": "https://files.pythonhosted.org/packages/bc/b5/ff385b85d6d016532804ca2c726306b07ecebcd4e34a777b8f1f6b834e49/pg_check_and_report-0.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "36493bc8a1c83f7790e3169a3a5cadee", "sha256": "a14c6db84f46a6ffc684802500b96fa15bce5ece1b35cf23d3fb405f4cfc3068" }, "downloads": -1, "filename": "pg_check_and_report-0.0.0.tar.gz", "has_sig": false, "md5_digest": "36493bc8a1c83f7790e3169a3a5cadee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3818, "upload_time": "2017-07-16T10:07:52", "url": "https://files.pythonhosted.org/packages/bc/b5/ff385b85d6d016532804ca2c726306b07ecebcd4e34a777b8f1f6b834e49/pg_check_and_report-0.0.0.tar.gz" } ] }