{ "info": { "author": "Pablo Orviz Fernandez", "author_email": "orviz@ifca.unican.es", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3" ], "description": "===============================\nzabbix-cli-ent\n===============================\n\nZabbix management command-line client\n\n* Free software: Apache license\n* Source: https://github.com/orviz/zabbix-cli-ent\n* Bugs: https://github.com/orviz/zabbix-cli-ent/issues\n\n\nzabbix-cli-ent allows to perform actions on a Zabbix server\nthrough command line.\n\nZabbix web interface usually is the most suitable way for\nadministration tasks, however there are times when you\nneed to modify settings non-interactively (scripts, ..) or\neven certain actions easily done by command line.\n\n\nGetting Started\n---------------\n\nInstall `zabbix-cli-ent` using `pip`, either by getting the\nversion uploaded in PyPi:\n\n # pip install zm\n\nor the one from the current repo:\n\n # git clone https://github.com/orviz/zabbix-cli-ent.git\n # cd zabbix-cli-ent && pip install .\n\n\n### Basic Usage\n\n # zm --help\n\nwill list the current actions that can be performed.\n\nDepending on the subcommand it will have different options;\nrely on the `--help` option to learn about each one.\n\n\n**NOTE**: You can provide the connection details as options or\nvia a configuration file. Either way, the login, password\nand url must be provided in order to get a successfully\nconnection.\n\nUse it programatically\n----------------------\n\nYou can also use zabbix-cli-ent as a library to get data from a\nZabbix API.\n\nFor that you first need to provide the credentials to be able to\naccess any of the available functionality. As an example:\n\n.. code:: Python\n\n import zm.trigger\n from oslo.config import cfg\n\n CONF = cfg.CONF\n CONF.username=\"foo\"\n CONF.password=\"bar\"\n CONF.url=\"https://example.com/zabbix\"\n\n\n print zm.trigger.list(host=\"host.example.com\",\n priority=\"DISASTER\",\n omit_ack=True,)\n\nExtending Functionality\n-----------------------\n\nThe code allows to easily extend the functionality. To do\nso:\n 1. Create a new `Command` inherited class that will\n handle the new functionality.\n * (`__init__()`) Here you will define the new\n action's options.\n * (`run()`) The work to be done.\n 2. Add the brand new class to:\n `commands.py` > `add_command_parsers()`\n\nThere you go!", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "replace with the project page", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "zm", "package_url": "https://pypi.org/project/zm/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zm/", "project_urls": { "Download": "UNKNOWN", "Homepage": "replace with the project page" }, "release_url": "https://pypi.org/project/zm/1.0/", "requires_dist": null, "requires_python": null, "summary": "Zabbix management command-line client", "version": "1.0" }, "last_serial": 1340231, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "c621169e2936fd15091e3fa993856a70", "sha256": "66d29e597921a26c6dabbef61b8d8defddd479b4c0b7464891d4cf7998ea8112" }, "downloads": -1, "filename": "zm-1.0.tar.gz", "has_sig": false, "md5_digest": "c621169e2936fd15091e3fa993856a70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13791, "upload_time": "2014-12-11T11:46:00", "url": "https://files.pythonhosted.org/packages/15/f9/e994ef11875d1e037cd3702485a3702b4e79f9bf999fe10f3c0a4a4ff195/zm-1.0.tar.gz" } ], "1.0.3.gdafc207": [ { "comment_text": "", "digests": { "md5": "4da964d297e89389e98c30a21af88f2d", "sha256": "de1e512b80fee70c2eab7fb61452e03444aeba84028fc1f894179d39021f78de" }, "downloads": -1, "filename": "zm-1.0.3.gdafc207.tar.gz", "has_sig": false, "md5_digest": "4da964d297e89389e98c30a21af88f2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14106, "upload_time": "2014-12-11T15:14:08", "url": "https://files.pythonhosted.org/packages/7f/bd/2229362835199f939eb079e46639f27f94bdf3d7cb0eee5a60134cb18039/zm-1.0.3.gdafc207.tar.gz" } ], "1.0.5.g4c1c78c": [ { "comment_text": "", "digests": { "md5": "d645d9285b6792c79189d526bfabb710", "sha256": "ec6c293c3548173ffa7b087f8063b415c620a32989bcb1aa7f8605f888e3ed01" }, "downloads": -1, "filename": "zm-1.0.5.g4c1c78c.tar.gz", "has_sig": false, "md5_digest": "d645d9285b6792c79189d526bfabb710", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14252, "upload_time": "2014-12-11T15:44:16", "url": "https://files.pythonhosted.org/packages/fb/8d/ef365cb7b55e424e87f8c885eb29737387612d84427b2ca0213922ce6121/zm-1.0.5.g4c1c78c.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c621169e2936fd15091e3fa993856a70", "sha256": "66d29e597921a26c6dabbef61b8d8defddd479b4c0b7464891d4cf7998ea8112" }, "downloads": -1, "filename": "zm-1.0.tar.gz", "has_sig": false, "md5_digest": "c621169e2936fd15091e3fa993856a70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13791, "upload_time": "2014-12-11T11:46:00", "url": "https://files.pythonhosted.org/packages/15/f9/e994ef11875d1e037cd3702485a3702b4e79f9bf999fe10f3c0a4a4ff195/zm-1.0.tar.gz" } ] }