Giter Club home page Giter Club logo

zabbixmonitores's Introduction

Elasticsearch monitor scripts for zabbix

这是一个关于ES监控的zabbix的脚本.

预览

item show on zabbix web site

特性

  1. 这个监控脚本是使用bash编写的.
  2. 只需要Linux的基本工具, 无需其他开发语言的依赖.
  3. 只要配置一个节点即可在zabbix上监控整个ES集群,这相当的省事方便, 就算以后调整了集群节点也不需要再重新配置监控.

依赖环境

  • Linux
  • zabbix3
  • bash
  • linux commands: curl, awk, grep, sort, uniq, sed ...
  • support es version 2.x 5.x+

安装指南

  1. 将模板文件 zbx_export_templates.xml 导入到zabbix.
  2. 复制整个 elasticsearch_monitor 目录到任意一个ES节点的 zabbix agentd scripts 目录中(注意zabbix执行权限问题).
  3. 修改 es_env.sh 的配置,指定es节点地址, 建议至少加两个以上节点的地址以防单个节点挂掉监控不到数据.
  4. 复制 userparameter_elasticsearch.conf 到 zabbix agentd etc, 注意修改对应的脚本路径.
  5. 在zabbix web中添加 "Elasticsearch Cluster" 模板到配置监控脚本的节点.
  6. 重启监控节点的zabbix agentd 搞定.

关于

zabbixmonitores's People

Contributors

vastxiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zabbixmonitores's Issues

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.