{ "info": { "author": "Pablo Estigarribia", "author_email": "pablodav@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Topic :: System :: Monitoring" ], "description": "Gurobi monitoring plugin\n========================\n\nChecks an url raise an alert if some problem is found.\nUses curl with all its power, so you can extend your check with all curl options.\n\n`VERSION `__\n\nInstall\n=======\n\nLinux::\n\n sudo pip3 install gurobi_machines_plugin --upgrade\n\nAlso is possible to use::\n\n sudo python3 -m pip install gurobi_machines_plugin --upgrade\n\nOn windows with python3.5::\n\n pip install gurobi_machines_plugin --upgrade\n\nFor proxies add::\n\n --proxy='http://user:passw@server:port'\n\nUsage\n=====\n\nUse the command line::\n\n > gurobi_machines_plugin --help\n usage: gurobi_machines_plugin [-h] [-u [URL]] [-e [EXTRA_ARGS]] \n [--client_id [CLIENT_ID]]\n [--client_secret [CLIENT_SECRET]]\n [--outdated_minutes [OUTDATED_MINUTES]]\n\n optional arguments:\n -h, --help show this help message and exit\n -u [URL], --url [URL]\n url to check\n -e [EXTRA_ARGS], --extra_args [EXTRA_ARGS]\n extra args to add to curl, see curl manpage\n --client_id [CLIENT_ID]\n Header client_id\n --client_secret [CLIENT_SECRET]\n Header client_secret\n --outdated_minutes [OUTDATED_MINUTES]\n Minutes to consider outdated\n\nExample usage\n=============\n\nExample basic usage::\n\n > gurobi_machines_plugin --url 'https://cloud.gurobi.com/api/v2/pools/{PoolID}/machines' \n --client_id '{client_id}' --client_secret '{client_secret}' --outdated_minute 60\n\nNagios config\n=============\n\nExample command::\n\n define command{\n command_name check_gurobi_machines\n command_line /usr/local/bin/gurobi_machines_plugin --url '$ARG1$' --client_id '$ARG2$' --client_secret '$ARG3$' --outdated_minute $ARG4$ $ARG5$\n }\n\nExample service::\n\n define service {\n host_name SERVERX\n service_description service_name\n check_command check_gurobi_machines!https://cloud.gurobi.com/api/v2/pools/{PoolID}/machines!{client_id}!{client_secret}!60\n use\t\t\t\t generic-service\n notes some useful notes\n }\n\nYou can use ansible role that already has the installation and command: https://github.com/CoffeeITWorks/ansible_nagios4_server_plugins\n\nTODO\n====\n\n* Use hash passwords\n* Add Unit tests?\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pablodav/gurobi_machines_plugin", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gurobi-machines-plugin", "package_url": "https://pypi.org/project/gurobi-machines-plugin/", "platform": "", "project_url": "https://pypi.org/project/gurobi-machines-plugin/", "project_urls": { "Homepage": "https://github.com/pablodav/gurobi_machines_plugin" }, "release_url": "https://pypi.org/project/gurobi-machines-plugin/0.7.0/", "requires_dist": [ "arrow", "requests (>=2.19.1)", "rstcheck" ], "requires_python": "", "summary": "check gurobi machines actives for long time", "version": "0.7.0" }, "last_serial": 5501460, "releases": { "0.7.0": [ { "comment_text": "", "digests": { "md5": "a61bcc655020bf4b9415fa6b0c468b22", "sha256": "f2006cfe3b0fbd3dffc1e5bd0e4600f9a16a07412dc749818fe4d990b5e5c4ad" }, "downloads": -1, "filename": "gurobi_machines_plugin-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a61bcc655020bf4b9415fa6b0c468b22", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7932, "upload_time": "2019-07-08T14:43:44", "url": "https://files.pythonhosted.org/packages/54/a9/28a4c650c14d0f2de1de2d1404ad5f54098c97d7f75b0ffa8264c58e545f/gurobi_machines_plugin-0.7.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "52096c08e7b205ea37ca28bd9f4b8768", "sha256": "adf3a3702de9fdaf4c869f018879234b3dadca553ada5a41410e58b8a3081db9" }, "downloads": -1, "filename": "gurobi_machines_plugin-0.7.0.tar.gz", "has_sig": false, "md5_digest": "52096c08e7b205ea37ca28bd9f4b8768", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5483, "upload_time": "2019-07-08T14:43:46", "url": "https://files.pythonhosted.org/packages/88/00/e9e49aa5a64dd682dee7ce8bc5d8ccef34a6fc33fe87d6c32c03739da7ba/gurobi_machines_plugin-0.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a61bcc655020bf4b9415fa6b0c468b22", "sha256": "f2006cfe3b0fbd3dffc1e5bd0e4600f9a16a07412dc749818fe4d990b5e5c4ad" }, "downloads": -1, "filename": "gurobi_machines_plugin-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a61bcc655020bf4b9415fa6b0c468b22", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7932, "upload_time": "2019-07-08T14:43:44", "url": "https://files.pythonhosted.org/packages/54/a9/28a4c650c14d0f2de1de2d1404ad5f54098c97d7f75b0ffa8264c58e545f/gurobi_machines_plugin-0.7.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "52096c08e7b205ea37ca28bd9f4b8768", "sha256": "adf3a3702de9fdaf4c869f018879234b3dadca553ada5a41410e58b8a3081db9" }, "downloads": -1, "filename": "gurobi_machines_plugin-0.7.0.tar.gz", "has_sig": false, "md5_digest": "52096c08e7b205ea37ca28bd9f4b8768", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5483, "upload_time": "2019-07-08T14:43:46", "url": "https://files.pythonhosted.org/packages/88/00/e9e49aa5a64dd682dee7ce8bc5d8ccef34a6fc33fe87d6c32c03739da7ba/gurobi_machines_plugin-0.7.0.tar.gz" } ] }