{ "info": { "author": "Will Rubel", "author_email": "willrubel@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Topic :: System :: Monitoring" ], "description": "elasticsearch-cloudwatch-python\n=============================\n\nElasticsearch monitoring scripts for CloudWatch.\n\n### NOTE: This is just a template from which to make your own scripts. ###\nDo not attempt to download and run. You will need to modify the scripts to\nfit your own needs.\n\n\nRequirements\n------------\n\n- Python >= 2.6\n- Boto >= 2.33.0\n- Boto3 >= 1.2.2\n- Elasticsearch >= 2.1.0\n\n\nInstallation\n------------\n\nOptionally create a virtual environment and activate it. Then just run\n`pip install elasticsearchcloudwatch`. This will install the scripts in /usr/local/bin folder.\n\nFor script usage, run:\n\n get_web_reqeust.py --help\n put_web_request.py --help\n\n\nExamples\n--------\nEdit the /etc/elasticsearchcloudwatch/escw.config file and and put the appropriate parameters.\n\nTo perform a simple test run without posting data to Amazon CloudWatch\n\n * * * * * /usr/bin/get_web_request.py --query WebRequest_Test --verbose\n\nTo post the data to Amazon CloudWatch\n\n * * * * * /usr/bin/put_web_request.py --query WebRequest_Test --from-cron --verbose\n\n\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 \"elasticsearchcloudwatch:WebRequest\" \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 Will Rubel\n\nBased on Python-Version of CloudWatch Monitoring Scripts for Linux -\nCopyright 2015 Oliver Siegmar. 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://rubelw@bitbucket.org/rubelw/elasticsearchcloudwatch.git", "keywords": "elasticsearch monitoring cloudwatch amazon web services aws ec2", "license": "Apache License (2.0)", "maintainer": null, "maintainer_email": null, "name": "elasticsearchcloudwatch", "package_url": "https://pypi.org/project/elasticsearchcloudwatch/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/elasticsearchcloudwatch/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://rubelw@bitbucket.org/rubelw/elasticsearchcloudwatch.git" }, "release_url": "https://pypi.org/project/elasticsearchcloudwatch/0.1.8/", "requires_dist": null, "requires_python": null, "summary": "Elasticsearch monitoring scripts for CloudWatch", "version": "0.1.8" }, "last_serial": 4056481, "releases": { "0.1.8": [ { "comment_text": "", "digests": { "md5": "3d27edff2676d0b35656ec1c7f4bad52", "sha256": "7f9dbf0c60f2377aac4eb49219e5588524c3cdb11d6c13ab7a4177529a08a8c3" }, "downloads": -1, "filename": "elasticsearchcloudwatch-0.1.8.tar.gz", "has_sig": false, "md5_digest": "3d27edff2676d0b35656ec1c7f4bad52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8466, "upload_time": "2015-12-04T20:37:56", "url": "https://files.pythonhosted.org/packages/0d/29/311a1500c26db0cdecd838c3110c6f340090e29398f60233e738e65a1573/elasticsearchcloudwatch-0.1.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3d27edff2676d0b35656ec1c7f4bad52", "sha256": "7f9dbf0c60f2377aac4eb49219e5588524c3cdb11d6c13ab7a4177529a08a8c3" }, "downloads": -1, "filename": "elasticsearchcloudwatch-0.1.8.tar.gz", "has_sig": false, "md5_digest": "3d27edff2676d0b35656ec1c7f4bad52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8466, "upload_time": "2015-12-04T20:37:56", "url": "https://files.pythonhosted.org/packages/0d/29/311a1500c26db0cdecd838c3110c6f340090e29398f60233e738e65a1573/elasticsearchcloudwatch-0.1.8.tar.gz" } ] }