GithubHelp home page GithubHelp logo

steveberryman / sensu-plugins-elasticsearch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sensu-plugins/sensu-plugins-elasticsearch

0.0 0.0 0.0 307 KB

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

Home Page: http://sensu-plugins.io

License: MIT License

Ruby 100.00%

sensu-plugins-elasticsearch's Introduction

Sensu-Plugins-elasticsearch

Build Status Gem Version Code Climate Test Coverage Dependency Status Sensu Bonsai Asset

Sensu Asset

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 in the Bonsai Asset Index.

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

When 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 for more information on the event mapping functionality.

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.

sensu-plugins-elasticsearch's People

Contributors

eheydrick avatar majormoses avatar tas50 avatar sstarcher avatar analytically avatar mattyjones avatar cihangirbesiktas avatar madandroid avatar cgarciaarano avatar amdprophet avatar pedroluislopez avatar evesy avatar mattk42 avatar thekevjames avatar vin01 avatar nyxcharon avatar alexandrustaetu avatar alcasim avatar wvidana avatar terjesannum avatar steveberryman avatar rwky avatar osigida avatar mjulian avatar sensu-plugin avatar msblum avatar brendangibat avatar jspaleta avatar jackfengji avatar ilavender avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.