{ "info": { "author": "Matthew Wedgwood", "author_email": "mwedgwood@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Topic :: Utilities" ], "description": "# n2cw - Nagios to CloudWatch\n\nn2cw is a wrapper for check scripts that implement the\n[Nagios Plugin API](http://nagios.sourceforge.net/docs/3_0/pluginapi.html). It\nruns the specified check command and pushes the results, optionally including\nmetrics for all [perfdata](http://nagios.sourceforge.net/docs/3_0/perfdata.html).\n\n## Installation\n\n```\npip install n2cw\n```\n\n## Usage\n\n```\nusage: n2cw [options] namespace base_name -- command\n\nA wrapper for nagios-style checks that pushes check status and perfdata to\nCloudWatch metrics.\n\npositional arguments:\n namespace CloudWatch namespace\n base_name Base name for checks\n command Command (nagios check) to run\n\noptional arguments:\n -h, --help show this help message and exit\n --dimensions key=value,key=value\n CloudWatch metric dimensions\n --noop Don't push metrics, just log\n --no-perfdata Don't send metrics for performance data\n --no-status Don't send the check status output\n```\n\n`command` is the full command line, with arguments, for the nagios plugin you\nwish to run.\n\n## Example\n\n```\nn2cw --dimensions \"Host=webserver1\" MySuperWebsite Disk -- ./check_disk -w 10% -c 5% -p / -k \n```\n\nIf the output of check_disk was ...\n\n```\nDISK OK - free space: / 7292772 kB (49% inode=88%);| /=7402636kB;15481742;15481741;0;15481840\n```\n\nThe following metrics would be pushed to CloudWatch:\n\n```\nNamespace Metric Name Value Dimensions\n-----------------------------------------------------\nMySuperWebsite Disk-Status 0 Host=webserver1\nMySuperWebsite Disk-/ 7292772 Host=webserver1\n```\n\nThe value of the *-Status* metric is the check return code (so OK is 0, WARNING\nis 1, etc).", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/slank/n2cw", "keywords": "amazon,aws,cloudwatch,nagios,metrics,monitoring", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "n2cw", "package_url": "https://pypi.org/project/n2cw/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/n2cw/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/slank/n2cw" }, "release_url": "https://pypi.org/project/n2cw/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "A wrapper for sending Nagios plugin output to CloudWatch", "version": "0.1.2" }, "last_serial": 1419642, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "bd6c2ce436779bc0e9c7c5bfc08a5d07", "sha256": "cb788b7062481ddebfb7b3624c2edf80f99306ac057928cb6b2d983ef8b297c8" }, "downloads": -1, "filename": "n2cw-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bd6c2ce436779bc0e9c7c5bfc08a5d07", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6296, "upload_time": "2015-01-15T18:39:12", "url": "https://files.pythonhosted.org/packages/04/86/9501ea3129bfd9b9c9fb158740ed419998d89d85e312b006203080be0771/n2cw-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "310850df4c3f6ac0c45a37f04852875c", "sha256": "65bbb17c230b2de1072df048214021b545e04b61eab5d09dfb8d74c76c564907" }, "downloads": -1, "filename": "n2cw-0.1.1.tar.gz", "has_sig": false, "md5_digest": "310850df4c3f6ac0c45a37f04852875c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3967, "upload_time": "2015-01-15T18:39:00", "url": "https://files.pythonhosted.org/packages/9e/0f/755d073d4ab57462bb90e406e000ecc6eea8e0671cc571d05c94ff7352a4/n2cw-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c1a7fbbe697a728ac7167e8641015194", "sha256": "a52b412022644df6ebdcba9356f3ac07892c8b9064c5ba810c4142b48599453e" }, "downloads": -1, "filename": "n2cw-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c1a7fbbe697a728ac7167e8641015194", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6295, "upload_time": "2015-02-11T18:33:06", "url": "https://files.pythonhosted.org/packages/e1/5a/f0a33c68d6ada9cdf05deadd121ad7cd6c33d1f20d3bedc86a4dbedfd01b/n2cw-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8623e1aaaf56dd93f9deda076e7b5d1c", "sha256": "83a0d1f887913ceb1d22870d3c9e5c6f41df7f4c99e13160ccd93a339221222d" }, "downloads": -1, "filename": "n2cw-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8623e1aaaf56dd93f9deda076e7b5d1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4038, "upload_time": "2015-02-11T18:33:17", "url": "https://files.pythonhosted.org/packages/93/30/3465909042e663d301d63831698dab299b2999e6993229a111c81e782859/n2cw-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c1a7fbbe697a728ac7167e8641015194", "sha256": "a52b412022644df6ebdcba9356f3ac07892c8b9064c5ba810c4142b48599453e" }, "downloads": -1, "filename": "n2cw-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c1a7fbbe697a728ac7167e8641015194", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6295, "upload_time": "2015-02-11T18:33:06", "url": "https://files.pythonhosted.org/packages/e1/5a/f0a33c68d6ada9cdf05deadd121ad7cd6c33d1f20d3bedc86a4dbedfd01b/n2cw-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8623e1aaaf56dd93f9deda076e7b5d1c", "sha256": "83a0d1f887913ceb1d22870d3c9e5c6f41df7f4c99e13160ccd93a339221222d" }, "downloads": -1, "filename": "n2cw-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8623e1aaaf56dd93f9deda076e7b5d1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4038, "upload_time": "2015-02-11T18:33:17", "url": "https://files.pythonhosted.org/packages/93/30/3465909042e663d301d63831698dab299b2999e6993229a111c81e782859/n2cw-0.1.2.tar.gz" } ] }