Register for the 2018 Summit!

Elasticsearch

This plugin provides native ElasticSearch instrumentation for monitoring and metrics collection, including: service health and metrics for cluster, node, and more.

Sensu-Plugins-elasticsearch

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Files

  • /bin/check-es-circuit-breakers.rb
  • /bin/check-es-cluster-health.rb
  • /bin/check-es-cluster-status.rb
  • /bin/check-es-file-descriptors.rb
  • /bin/check-es-heap.rb
  • /bin/check-es-indices-field-count.rb
  • /bin/check-es-indexes.rb
  • /bin/check-es-indicies-sizes.rb
  • /bin/check-es-node-status.rb
  • /bin/check-es-query-count.rb
  • /bin/check-es-query-exists.rb
  • /bin/check-es-query-ratio.rb
  • /bin/check-es-shard-allocation-status.rb
  • /bin/handler-es-delete-indices.rb
  • /bin/metrics-es-cluster.rb
  • /bin/metrics-es-node.rb
  • /bin/metrics-es-node-graphite.rb

Usage

Installation

Installation and Setup

Notes

Testing

This repository uses the Kitchen suite for it's tests.

Note: The test suite uses an elasticsearch instance in order to have passing tests. Execute the following command to create a mock elasticsearch 6 instance:

docker run -d --name sensu-elasticsearch-6 docker.elastic.co/elasticsearch/elasticsearch:6.2.2

Running the tests:

bundle install --path vendor/bundle
bundle exec kitchen test

You can find sample output for all tests running successfully in this gist.

Get Plugin

Stats

29 stars on GitHub
16 open issues on GitHub
66 open forks on GitHub

Sensu Plugins

Sensu plugins and extensions are available for dozens of modern applications and services.