{ "info": { "author": "Christian Theune", "author_email": "ct@gocept.com", "bugtrack_url": null, "classifiers": [], "description": "==========================================\nUtilities for writing munin client scripts\n==========================================\n\nThis package provides base classes for defining Munin graphs and a main\nfunction to handle munin-typical symlinked scripts.\n\nMunin plugin scripts\n====================\n\nA single plugin file defines (multiple) graphs by subclassing the bases as mentioned in\nthe next section. The main function uses the called script's filename to\ndetermine which of the defined graphs is relevant.\n\nData for each graph is determined by retrieving a text file from a URL (with\npossibly given basic authentication data).\n\nThe format for the data is plain/text wich each line having key/value pairs\nsplit by ':'. The values are expected to be floats.\n\nAll graph bases expect two environment variables to be set:\n\nURL\n The URL at which to retrieve data from. Must include a '%s' which encodes\n the graph name.\nAUTH\n HTTP basic authentication information. Either empty or in the form of\n 'username:password'.\n\nThe environment variables can be configured using munin's `plugin-conf.d` like\nthis:\n\nThe plugin is called `prefix_something_1`::\n\n [prefix_*]\n env.URL http://foo:8900/myapp/munin?data=%s\n env.AUTH admin:admin\n\nGraph bases\n===========\n\nThe following base classes are currently defined:\n\nSimpleGraph\n A simple graph with a single value that is plotted as an absolute value.\n\nSimpleMultiGraph\n Multiple absolute values plotted on the same graph and scale.\n\nmore bases will be added as needed.\n\nMain function\n=============\n\nThe main function handles munin-typical `type_option_index` symlink scripts by\nlooking at the name from which the main script was called.\n\nExample script\n==============\n\nHere's a sample script that you could symlink into the `plugins` directory::\n\n from gocept.munin.client import SimpleGraph, main\n\n class people(SimpleGraph):\n name = key = 'people'\n title = 'How many people are there?'\n category = 'Office'\n\n main()", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.python.org/pypi/gocept.munin", "keywords": null, "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "gocept.munin", "package_url": "https://pypi.org/project/gocept.munin/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gocept.munin/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.python.org/pypi/gocept.munin" }, "release_url": "https://pypi.org/project/gocept.munin/0.1/", "requires_dist": null, "requires_python": null, "summary": "Utilities for writing munin plugins.", "version": "0.1" }, "last_serial": 792568, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "4cfc78e7c8f71a7f0aa77cb587c039c8", "sha256": "d75aff906d5429bc2222a8d9cfbaf31c149bb24a6cd425fb96b7a5a9dc3a9ee2" }, "downloads": -1, "filename": "gocept.munin-0.1.tar.gz", "has_sig": false, "md5_digest": "4cfc78e7c8f71a7f0aa77cb587c039c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3344, "upload_time": "2008-07-21T12:44:14", "url": "https://files.pythonhosted.org/packages/b5/a7/846c129e8769088fc294cb7c06b434c56baeb9c1ca52b2d10eaa9a6a37bf/gocept.munin-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4cfc78e7c8f71a7f0aa77cb587c039c8", "sha256": "d75aff906d5429bc2222a8d9cfbaf31c149bb24a6cd425fb96b7a5a9dc3a9ee2" }, "downloads": -1, "filename": "gocept.munin-0.1.tar.gz", "has_sig": false, "md5_digest": "4cfc78e7c8f71a7f0aa77cb587c039c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3344, "upload_time": "2008-07-21T12:44:14", "url": "https://files.pythonhosted.org/packages/b5/a7/846c129e8769088fc294cb7c06b434c56baeb9c1ca52b2d10eaa9a6a37bf/gocept.munin-0.1.tar.gz" } ] }