Code Monkey home page Code Monkey logo

elasticsearch-zabbix's Introduction

Elasticsearch-zabbix

Elasticsearch template and script for zabbix 2.0

This project is a fork of Elasticsearch template from zabbix-grab-bag

https://github.com/untergeek/zabbix-grab-bag

These are made available by me under an Apache 2.0 license.

http://www.apache.org/licenses/LICENSE-2.0.html

How it works

  • Put ESzabbix.py in /opt/zabbix/externalscripts/ in the zabbix node

  • Put ESzabbix.userparm in the zabbix include parameters dir, in this case "/opt/zabbix/agent_include"

  • Import ESzabbix_templates.xml to zabbix server

Specs

The items here are for monitoring Elasticsearch (presumably for logstash).

The template xml file actually contains three templates:

  1. Elasticsearch Node & Cache (which is for node-level monitoring)

  2. Elasticsearch Cluster (cluster state, shard-level monitoring, record count, storage sizes, etc.)

  3. Elasticsearch Service (ES service status)

The node name is expected as a host-level macro {$NODENAME}

There are triggers assigned for the cluster state:

0 = Green (OK)

1 = Yellow (Average, depends on "red")

2 = Red (High)

You will likely want to assign a value mapping for the ElasticSearch Cluster Status item.

In any event, the current list of included items is:

  • ES Cluster (11 Items)
    • Cluster-wide records indexed per second
    • Cluster-wide storage size
    • ElasticSearch Cluster Status
    • Number of active primary shards
    • Number of active shards
    • Number of data nodes
    • Number of initializing shards
    • Number of nodes
    • Number of relocating shards
    • Number of unassigned shards
    • Total number of records
  • ES Cache (2 Items)
    • Node Field Cache Size
    • Node Filter Cache Size
  • ES Node (2 Items)
    • Node Storage Size
    • Records indexed per second
  • ES Service (1 Item)
    • Elasticsearch service status

elasticsearch-zabbix's People

Contributors

ejimz avatar

Watchers

 avatar  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.