Skip to content

Munin plugin for monitoring Elasticsearch 5.x/6.x nodes, including cache stats, document count, garbage collection, JVM heap stats, request rates, and store size

License

Notifications You must be signed in to change notification settings

DaveB93/munin-elasticsearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Munin plugin for elasticsearch

A Munin plugin for monitoring Elasticsearch nodes. Written in Ruby, depends on JSON gem. Compatible with Elasticsearch 5.x and 6.x.

Supported Modes

Cache

elasticsearch_cache - field and query cache stats

Docs

elasticsearch_docs - document count

Garbage Collection

elasticsearch_gc - GC collections/sec

Garbage Collection Running Time

elasticsearch_gc_time - GC collection running time in ms

JVM Heap

elasticsearch_jvm - JVM heap stats

Operations

elasticsearch_ops - index, get, search, delete operations/sec

Store

elasticsearch_store - Size of index on disk

Installation

See the Munin documentation for complete instructions on plugin usage. In short, once elasticsearch_ is in your plugin directory, create symlinks for each desired mode in your Munin service dir (usually /etc/munin/plugins/). For example, to enable JVM monitoring:

ln -s /usr/local/munin/lib/plugins/elasticsearch_ /etc/munin/plugins/elasticsearch_jvm

Configuration

You'll also need to create a configuration file for the plugin, usually this would be /etc/munin/plugin-conf.d/elasticsearch.

Variables

  • host - a elasticsearch node capable of providing stats interface (default localhost)
  • port - elasticsearch HTTP API port (default 9200)
  • node - the name of the node to monitor (required)

Example Config

[elasticsearch_*]
env.host 10.1.2.14
env.port 9200
env.node pinky rat

License

See the included LICENSE for rights and limitations under the terms of the MIT license.

About

Munin plugin for monitoring Elasticsearch 5.x/6.x nodes, including cache stats, document count, garbage collection, JVM heap stats, request rates, and store size

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%