{ "info": { "author": "Paul Stack", "author_email": "public@paulstack.co.uk", "bugtrack_url": null, "classifiers": [], "description": "#Nagios-ElasticSearch\n\nA few simple scripts for checking the state of your [ElasticSearch] cluster using Nagios the endpoints of ElasticSearch\n\n[![Build\nStatus](https://secure.travis-ci.org/opentable/nagios-elasticsearch.png)](https://secure.travis-ci.org/opentable/nagios-elasticsearch.png)\n\n##How they work\n\nThese plugins work by submitting API requests to a local or remote\nElasticSearch server via the [cluster-health] and [node stats] endpoints\n\n###Check Nodes in Cluster\n\nThis can be used to specify the nodes that are expected in the cluster. Currently, the check will return as **CRITICAL** if there are any unaccounted for nodes\n\n```\nUsage: check_es_nodes.py [options]\n\nOptions:\n --version show program's version number and exit\n -h, --help show this help message and exit\n -v, --verbose\n -E NODES_IN_CLUSTER, --expected_nodes_in_cluster=NODES_IN_CLUSTER\n This is the expected number of nodes in the cluster\n -H HOST, --host=HOST The cluster to check\n -P PORT, --port=PORT The ES port - defaults to 9200\n\npython check_es_nodes.py --host=myescluster.com --expected_nodes_in_cluster=13\n```\n\n###Check Cluster Health Status\n\nThis plugin can be used to get the current cluster health. This will return OK for Green, Warning for Yellow and Critical for Red.\n\n\n```\nUsage: check_es_cluster_status.py [options]\n\nOptions:\n --version show program's version number and exit\n -h, --help show this help message and exit\n -v, --verbose\n -H HOST, --host=HOST The cluster to check\n -P PORT, --port=PORT The ES port - defaults to 9200\n\npython check_es_cluster_status.py --host=myescluster.com\n```\n\n###Check for Unassigned Nodes in Cluster\n\nThis plugin can be used to check for unassigned shards in the cluster. This can potentially indicate that a node is missing from the cluster. The alert will currently indicate a CRITICAL error if an unassigned shard is found\n\n```\nUsage: check_es_unassigned_shards.py [options]\n\nOptions:\n --version show program's version number and exit\n -h, --help show this help message and exit\n -v, --verbose\n -H HOST, --host=HOST The cluster to check\n -P PORT, --port=PORT The ES port - defaults to 9200\n\n\npython check_es_unassigned_shards.py --host=myescluster.com\n```\n\n###Check Node JVM Usage\n\nThis plugin can be used to ensure that the nodes in the cluster are not approaching, or exceeding, the thresholds that we determine that the JVM needs to run at. Currently, if any of the nodes exceed the critical limt, then the cluster will throw a CRITICAL error. If no nodes exceed the critical threshold but a node exceeds the warning threshold, then the cluster will throw a WARNING.\n\n```\nUsage: check_es_jvm_usage.py [options]\n\nOptions:\n --version show program's version number and exit\n -h, --help show this help message and exit\n -v, --verbose\n -H HOST, --host=HOST The cluster to check\n -P PORT, --port=PORT The ES port - defaults to 9200\n -C CRITICAL_THRESHOLD, --critical_threshold=CRITICAL_THRESHOLD\n The level at which we throw a CRITICAL alert -\n defaults to 97% of the JVM setting\n -W WARNING_THRESHOLD, --warning_threshold=WARNING_THRESHOLD\n The level at which we throw a WARNING alert - defaults\n to 85% of the JVM setting\n\n\npython check_es_unassigned_shards.py --host=myescluster.com\n```\n\n###Installation\n\n###Development\n\n###License\nThis project is licensed under MIT\n\n [cluster-health]: http://www.elasticsearch.org/guide/reference/api/admin-cluster-health.html\n [node stats]: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html\n [ElasticSearch]: http://www.elasticsearch.org/", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/stack72/nagios-elasticsearch/tarball/0.1.4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/stack72/nagios-elasticsearch", "keywords": "monitoring,nagios,elasticsearch", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "nagios-elasticsearch", "package_url": "https://pypi.org/project/nagios-elasticsearch/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nagios-elasticsearch/", "project_urls": { "Download": "http://github.com/stack72/nagios-elasticsearch/tarball/0.1.4", "Homepage": "https://github.com/stack72/nagios-elasticsearch" }, "release_url": "https://pypi.org/project/nagios-elasticsearch/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "A selection of Nagios plugins to monitor ElasticSearch.", "version": "0.1.4" }, "last_serial": 1625959, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6a59915cb55af219630923ffb3e5b1c0", "sha256": "21711401be95e52635372b3738a42c6e8c682867474cc769936cc568c32ef95c" }, "downloads": -1, "filename": "nagios-elasticsearch-0.1.tar.gz", "has_sig": false, "md5_digest": "6a59915cb55af219630923ffb3e5b1c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4274, "upload_time": "2015-02-06T11:51:08", "url": "https://files.pythonhosted.org/packages/db/b2/f1c3fdc77e0ac8098eca7600635d661c272dce2ede295a3f14b2b4504ddc/nagios-elasticsearch-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "12036f81c201c487a6246f983da0ea3d", "sha256": "77cc3e53a37cd3dd39e6ef8e89e41eb4eb62ad9b26be089ff0a0c6c295a3b555" }, "downloads": -1, "filename": "nagios-elasticsearch-0.1.1.tar.gz", "has_sig": false, "md5_digest": "12036f81c201c487a6246f983da0ea3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4275, "upload_time": "2015-02-06T12:01:03", "url": "https://files.pythonhosted.org/packages/27/78/44d9ce4300a301fa235b44b90a33781f5cf9641cdb8e3d5f5ceca116054e/nagios-elasticsearch-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "194f657d6cceb6ae3dbcc053fcae122a", "sha256": "ed8e7a7972d7791349fa6efbe4aa7633f73c7cb3c08a56dbc17562cdd753745a" }, "downloads": -1, "filename": "nagios-elasticsearch-0.1.2.tar.gz", "has_sig": false, "md5_digest": "194f657d6cceb6ae3dbcc053fcae122a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5280, "upload_time": "2015-02-06T12:09:43", "url": "https://files.pythonhosted.org/packages/77/47/31fe629920bd12d3da96afe3795ef2cdfab999e47dacf9fc36ee54526258/nagios-elasticsearch-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "5afd8c75a22debb40dba75ba26056ff0", "sha256": "8ffe15011729bd5e4b3f523d6e5399a86bd0bee6dc7c94418b64c3db3d4e250d" }, "downloads": -1, "filename": "nagios-elasticsearch-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5afd8c75a22debb40dba75ba26056ff0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5257, "upload_time": "2015-02-19T17:19:03", "url": "https://files.pythonhosted.org/packages/51/a9/97bf99ca43d4ba33b96cc55f4f61aecb30801174c48a68d0c8bb45fe9f5f/nagios-elasticsearch-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "08e04b1632cb05d27b8d07b1711eb47e", "sha256": "b9a74f67d861dd3ca592c6669e1d0a84d36d9aeb598a23c750714ae03959d248" }, "downloads": -1, "filename": "nagios-elasticsearch-0.1.4.tar.gz", "has_sig": false, "md5_digest": "08e04b1632cb05d27b8d07b1711eb47e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5196, "upload_time": "2015-07-09T08:20:50", "url": "https://files.pythonhosted.org/packages/83/e6/7fb909013d5716b13b6a584a70c04d90a86584a14aa3ffe6ea237b53d900/nagios-elasticsearch-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "08e04b1632cb05d27b8d07b1711eb47e", "sha256": "b9a74f67d861dd3ca592c6669e1d0a84d36d9aeb598a23c750714ae03959d248" }, "downloads": -1, "filename": "nagios-elasticsearch-0.1.4.tar.gz", "has_sig": false, "md5_digest": "08e04b1632cb05d27b8d07b1711eb47e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5196, "upload_time": "2015-07-09T08:20:50", "url": "https://files.pythonhosted.org/packages/83/e6/7fb909013d5716b13b6a584a70c04d90a86584a14aa3ffe6ea237b53d900/nagios-elasticsearch-0.1.4.tar.gz" } ] }