{ "info": { "author": "Oliver Siegmar", "author_email": "oliver@siegmar.de", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: System :: Monitoring" ], "description": "cloudwatch-mon-scripts-python\n=============================\n\n[![PyPI version](https://badge.fury.io/py/cloudwatchmon.svg)](https://badge.fury.io/py/cloudwatchmon)\n\nLinux monitoring scripts for CloudWatch.\n\n\nRequirements\n------------\n\n- Python >= 2.6\n- Boto >= 2.33.0\n\n\nInstallation\n------------\n\nOptionally create a virtual environment and activate it. Then just run\n`pip install cloudwatchmon`. Install the scripts in /usr/local/bin folder.\n\nFor script usage, run:\n\n mon-put-instance-stats.py --help\n\n\nExamples\n--------\n\nTo perform a simple test run without posting data to Amazon CloudWatch\n\n mon-put-instance-stats.py --mem-util --verify --verbose\n\nReport memory and disk space utilization to Amazon CloudWatch\n\n mon-put-instance-stats.py --mem-util --disk-space-util --disk-path=/\n\nTo get utilization statistics for the last 12 hours\n\n mon-get-instance-stats.py --recent-hours=12\n\n\nConfiguration\n-------------\n\nTo allow an EC2 instance to read and post metric data to Amazon CloudWatch,\nthis IAM policy is required:\n\n {\n \"Statement\": [\n {\n \"Action\": [\n \"cloudwatch:ListMetrics\",\n \"cloudwatch:GetMetricStatistics\",\n \"cloudwatch:PutMetricData\",\n \"autoscaling:DescribeAutoScalingInstances\"\n ],\n \"Effect\": \"Allow\",\n \"Resource\": \"*\"\n }\n ]\n }\n\nIf the policy is configured via an IAM role that is assigned to the EC2\nserver this script runs on, you're done.\n\nOtherwise you can configure the policy for a user account and export\nthe credentials before running the script:\n\n export AWS_ACCESS_KEY_ID=[Your AWS Access Key ID]\n export AWS_SECRET_ACCESS_KEY=[Your AWS Secret Access Key]\n\nThird option is to create a _~/.boto_ file with this content:\n\n [Credentials]\n aws_access_key_id = Your AWS Access Key ID\n aws_secret_access_key = Your AWS Secret Access Key\n\n\nCopyright\n---------\n\nCopyright 2015 Oliver Siegmar\n\nBased on Perl-Version of CloudWatch Monitoring Scripts for Linux -\nCopyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/osiegmar/cloudwatch-mon-scripts-python", "keywords": "monitoring cloudwatch amazon web services aws ec2", "license": "Apache License (2.0)", "maintainer": null, "maintainer_email": null, "name": "cloudwatchmon", "package_url": "https://pypi.org/project/cloudwatchmon/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cloudwatchmon/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/osiegmar/cloudwatch-mon-scripts-python" }, "release_url": "https://pypi.org/project/cloudwatchmon/2.0.6/", "requires_dist": null, "requires_python": null, "summary": "Linux monitoring scripts for CloudWatch", "version": "2.0.6" }, "last_serial": 2714618, "releases": { "2.0.2": [ { "comment_text": "", "digests": { "md5": "a0ec6c0acbae889dada1f8872e75a53b", "sha256": "842c5ef740e4326e8bab3e23fcdd7be091cb2ce3e375f24e2c9054dbfdeca2c3" }, "downloads": -1, "filename": "cloudwatchmon-2.0.2.tar.gz", "has_sig": false, "md5_digest": "a0ec6c0acbae889dada1f8872e75a53b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7796, "upload_time": "2015-04-14T18:08:47", "url": "https://files.pythonhosted.org/packages/24/a1/e62f9db0fbb8c2ea1390b1108d02285f741d5e42183eab070903ff7f1f70/cloudwatchmon-2.0.2.tar.gz" } ], "2.0.3": [ { "comment_text": "", "digests": { "md5": "d758b7ba67f4099fb796eddbc4eecb75", "sha256": "0eed86709606a9c7002fcbb5d7f89175da2f2e4a55c864aafd77fe645ab5edd6" }, "downloads": -1, "filename": "cloudwatchmon-2.0.3.tar.gz", "has_sig": false, "md5_digest": "d758b7ba67f4099fb796eddbc4eecb75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7700, "upload_time": "2015-04-17T16:35:05", "url": "https://files.pythonhosted.org/packages/62/60/bdcb49cc824884d1fd236bfb4166a1cdb17ceafaf1a2dcfa249625aaefd7/cloudwatchmon-2.0.3.tar.gz" } ], "2.0.4": [ { "comment_text": "", "digests": { "md5": "98725dfb565b83a558a4e11c2a350a64", "sha256": "673136202ce1a568d01c8eaf3783b5dfe9be0b4885dc3d4c0d05a0235ba4a56b" }, "downloads": -1, "filename": "cloudwatchmon-2.0.4.tar.gz", "has_sig": false, "md5_digest": "98725dfb565b83a558a4e11c2a350a64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8484, "upload_time": "2015-11-15T12:28:22", "url": "https://files.pythonhosted.org/packages/2c/a6/143885ebfe91a9a9fedf5767f93f20e8a9b2658bec45b0a938a2af5e95e5/cloudwatchmon-2.0.4.tar.gz" } ], "2.0.5": [ { "comment_text": "", "digests": { "md5": "415dfd2374351839226ea846a8c04d04", "sha256": "29e551d93c43db2f403778298e8a246c16664ce12021d92a9f9c6ad62c7dbb77" }, "downloads": -1, "filename": "cloudwatchmon-2.0.5.tar.gz", "has_sig": false, "md5_digest": "415dfd2374351839226ea846a8c04d04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8990, "upload_time": "2017-02-19T09:33:24", "url": "https://files.pythonhosted.org/packages/d3/51/52da7010d6ab9d99e21cc650aceb012562cf1e48792f6777e2a963029b08/cloudwatchmon-2.0.5.tar.gz" } ], "2.0.6": [ { "comment_text": "", "digests": { "md5": "3795eba4252ec8571d810fc6e895f767", "sha256": "ba6b772de68efa896a52183fe3a40d4afd82e18b9fd015ddb3cfb6d781c77f5f" }, "downloads": -1, "filename": "cloudwatchmon-2.0.6.tar.gz", "has_sig": false, "md5_digest": "3795eba4252ec8571d810fc6e895f767", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9095, "upload_time": "2017-03-18T14:47:22", "url": "https://files.pythonhosted.org/packages/7d/76/6310f18d4a30c8a768fdfcd301a58c64c2a3ed91d3290dcfa39dc983f286/cloudwatchmon-2.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3795eba4252ec8571d810fc6e895f767", "sha256": "ba6b772de68efa896a52183fe3a40d4afd82e18b9fd015ddb3cfb6d781c77f5f" }, "downloads": -1, "filename": "cloudwatchmon-2.0.6.tar.gz", "has_sig": false, "md5_digest": "3795eba4252ec8571d810fc6e895f767", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9095, "upload_time": "2017-03-18T14:47:22", "url": "https://files.pythonhosted.org/packages/7d/76/6310f18d4a30c8a768fdfcd301a58c64c2a3ed91d3290dcfa39dc983f286/cloudwatchmon-2.0.6.tar.gz" } ] }