Giter VIP home page Giter VIP logo

elasticsearch-zabbix-monitor's Introduction

Elasticsearch zabbix 监控

使用方法

  • zabbix_templates目录下的es_discovery.conf需要放置在/etc/zabbix/zabbix_agentd.d/目录下,如果zabbix自定义安装路径,则需要按照自己的部署路径调整

  • zabbix_templates目录下的zbx_elasticsearch_templates.xml需要在zabbix的WEB操作页面下创建模板进行导入

  • elasticsearch_mon目录下的文件需要放置到es_discovery.conf 文件指定的路径,如需更改,请同时更新es_discovery.conf 文件

elasticsearch-zabbix-monitor's People

Stargazers

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

Watchers

 avatar  avatar  avatar

elasticsearch-zabbix-monitor's Issues

should use absolute file path

declare -r FILE_DIR="./es_mon.conf"

The working directory is root directory / and cat command will fail since relative path is used here.

local eskeyarray=(`cat $FILE_DIR|grep $item`)

consider the following code for replacement.

SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")


declare -r FILE_DIR="$SCRIPTPATH/es_mon.conf"

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.