{"id":19374750,"url":"https://github.com/gyselroth/monitoring-plugin-elasticsearch-cluster","last_synced_at":"2025-06-13T22:07:18.761Z","repository":{"id":87060445,"uuid":"87925197","full_name":"gyselroth/monitoring-plugin-elasticsearch-cluster","owner":"gyselroth","description":"Monitor elasticsearch cluster health","archived":false,"fork":false,"pushed_at":"2017-06-12T11:34:50.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T15:33:19.473Z","etag":null,"topics":["elasticsearch-cluster","monitoring-plugins"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gyselroth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-11T11:14:51.000Z","updated_at":"2017-04-11T12:08:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"b725e2c5-4ec7-4e3d-ac07-423076c2dcff","html_url":"https://github.com/gyselroth/monitoring-plugin-elasticsearch-cluster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gyselroth/monitoring-plugin-elasticsearch-cluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyselroth%2Fmonitoring-plugin-elasticsearch-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyselroth%2Fmonitoring-plugin-elasticsearch-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyselroth%2Fmonitoring-plugin-elasticsearch-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyselroth%2Fmonitoring-plugin-elasticsearch-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gyselroth","download_url":"https://codeload.github.com/gyselroth/monitoring-plugin-elasticsearch-cluster/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gyselroth%2Fmonitoring-plugin-elasticsearch-cluster/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259727133,"owners_count":22902181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elasticsearch-cluster","monitoring-plugins"],"created_at":"2024-11-10T08:36:02.762Z","updated_at":"2025-06-13T22:07:18.728Z","avatar_url":"https://github.com/gyselroth.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monitoring Plugin: Elasticsearch cluster\n\n### Description\nMonitor the status of your elasticsearch cluster. This script does monitor the value \"status\" from \"ES_API/_cluster/health\" if not specified anything else.\nIf -a is set to a specific attribute you can monitor a number against the specified threshold (-w and -c). Possible attributes can be taken from\nES_API/_cluster/health (curl localhost:9200/_cluster/health?pretty), they are not documented here since they are different between the different versions of elasticsearch.\n\n### Usage\n    -h Shows this message\n    -H [Default: localhost] Elasticsearch cluster node\n    -p [Default: 9200] Port\n    -s [Default: \u003cnotset\u003e] SSL\n    -a [Default: status] Check attribute\n    -w [Default: \u003cnotset\u003e] Warning (Only required if -a is different than the default \"status\")\n    -c [Default: \u003cnotset\u003e] Critical (Only required if -a is different than the default \"status\")\n\n### Examples\n./check_elasticsearch_cluster -H localhost\\\nelasticsearch cluster status is green\n\n./check_elasticsearch_cluster -H localhost -a active_primary_shards -w200 -c300\\\nelasticsearch cluster health active_primary_shards=181 is \n\n./check_elasticsearch_cluster -H localhost -a unassigned_shards -w10 -c20\\\nelasticsearch cluster health unassigned_shards=0 is O\n\n### Install \nCopy check_elasticsearch_cluster to your plugin folder and create a service/exec in your monitoring engine. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgyselroth%2Fmonitoring-plugin-elasticsearch-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgyselroth%2Fmonitoring-plugin-elasticsearch-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgyselroth%2Fmonitoring-plugin-elasticsearch-cluster/lists"}