{"id":21470132,"url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch","last_synced_at":"2025-07-15T07:31:07.246Z","repository":{"id":27165712,"uuid":"30635210","full_name":"sensu-plugins/sensu-plugins-elasticsearch","owner":"sensu-plugins","description":"This plugin provides native ElasticSearch instrumentation for monitoring and metrics collection, including: service health and metrics for cluster, node, and more.","archived":false,"fork":false,"pushed_at":"2021-04-29T15:04:48.000Z","size":334,"stargazers_count":33,"open_issues_count":27,"forks_count":78,"subscribers_count":12,"default_branch":"master","last_synced_at":"2023-03-12T09:25:52.781Z","etag":null,"topics":["elasticsearch","metrics","monitoring","sensu-handler","sensu-plugins"],"latest_commit_sha":null,"homepage":"http://sensu-plugins.io","language":"Ruby","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/sensu-plugins.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-11T07:05:35.000Z","updated_at":"2021-04-04T04:41:00.000Z","dependencies_parsed_at":"2022-07-18T03:16:54.616Z","dependency_job_id":null,"html_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensu-plugins%2Fsensu-plugins-elasticsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensu-plugins%2Fsensu-plugins-elasticsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensu-plugins%2Fsensu-plugins-elasticsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensu-plugins%2Fsensu-plugins-elasticsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sensu-plugins","download_url":"https://codeload.github.com/sensu-plugins/sensu-plugins-elasticsearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226024846,"owners_count":17561719,"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","metrics","monitoring","sensu-handler","sensu-plugins"],"created_at":"2024-11-23T09:23:50.862Z","updated_at":"2024-11-23T09:23:51.369Z","avatar_url":"https://github.com/sensu-plugins.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Sensu-Plugins-elasticsearch\n\n[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-elasticsearch.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-elasticsearch)\n[![Gem Version](https://badge.fury.io/rb/sensu-plugins-elasticsearch.svg)](http://badge.fury.io/rb/sensu-plugins-elasticsearch)\n[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-elasticsearch/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-elasticsearch)\n[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-elasticsearch/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-elasticsearch)\n[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-elasticsearch.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-elasticsearch)\n[![Sensu Bonsai Asset](https://img.shields.io/badge/Bonsai-Download%20Me-brightgreen.svg?colorB=89C967\u0026logo=sensu)](https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-elasticsearch)\n\n## Sensu Asset  \n  The Sensu assets packaged from this repository are built against the Sensu ruby runtime environment. When using these assets as part of a Sensu Go resource (check, mutator or handler), make sure you include the corresponding Sensu ruby runtime asset in the list of assets needed by the resource.  The current ruby-runtime assets can be found [here](https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime) in the [Bonsai Asset Index](bonsai.sensu.io).\n\n## Functionality\n\n## Files\n * /bin/check-es-circuit-breakers.rb\n * /bin/check-es-cluster-health.rb\n * /bin/check-es-cluster-status.rb\n * /bin/check-es-file-descriptors.rb\n * /bin/check-es-heap.rb\n * /bin/check-es-indices-field-count.rb\n * /bin/check-es-indexes.rb\n * /bin/check-es-indicies-sizes.rb\n * /bin/check-es-node-status.rb\n * /bin/check-es-query-count.rb\n * /bin/check-es-query-exists.rb\n * /bin/check-es-query-ratio.rb\n * /bin/check-es-shard-allocation-status.rb\n * /bin/handler-es-delete-indices.rb\n * /bin/metrics-es-cluster.rb\n * /bin/metrics-es-node.rb\n * /bin/metrics-es-node-graphite.rb\n\n## Usage\n\n## Installation\n\n[Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)\n\n## Notes\nWhen using `handler-es-delete-indices.rb` with Sensu Go, you will need to use the event mapping commandline option, see `handler-es-delete-indices.rb --help` for details. And please read [the sensu-plugin README](https://github.com/sensu-plugins/sensu-plugin#sensu-go-enablement) for more information on the event mapping functionality.\n\n## Testing\n\nThis repository uses the [Kitchen](https://kitchen.ci/) suite for it's tests.\n\nNote: The test suite uses an elasticsearch instance in order to have passing tests. Execute the following command to create a mock elasticsearch 6 instance:\n\n```bash\ndocker run -d --name sensu-elasticsearch-6 docker.elastic.co/elasticsearch/elasticsearch:6.2.2\n```\n\nRunning the tests:\n\n```bash\nbundle install --path vendor/bundle\nbundle exec kitchen test\n```\n\nYou can find sample output for all tests running successfully in [this gist](https://gist.github.com/alexandrustaetu/d19feea1296d2ce7e367542265252d7a).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensu-plugins%2Fsensu-plugins-elasticsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensu-plugins%2Fsensu-plugins-elasticsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensu-plugins%2Fsensu-plugins-elasticsearch/lists"}