Giter Site home page Giter Site logo

auto_deploy_zabbix_agent's Introduction

auto_deploy_zabbix_agent

Using script deploy zabbix agent and ansible deploy zabbix agent.

使用脚本自动化部署多个zabbix agent主机

使用脚本时,查看一下compile_install_zabbix.sh,以便自定义安装目录等

root@ubuntu-suosuoli-node1:/usr/local/src/auto_deploy_zabbix_agent/script_deploy_zabbix_agent# tar -tf zabbix_agent_deploy.tar.gz 
./compile_install_zabbix.sh  # 查看一下这个文件
./zabbix-4.0.15.tar.gz
./zabbix_agentd.conf
./zabbix_agentd.conf.d/
./zabbix_agentd.conf.d/get_memcache_status.sh
./zabbix_agentd.conf.d/get_nginx_status.sh
./zabbix_agentd.conf.d/get_redis_status.sh
./zabbix_agentd.conf.d/get_tcp_status.sh
./zabbix_agentd.conf.d/customizedParams.conf
./zabbix-agent.service

使用ansible自动化部署多个zabbix agent主机

使用ansible部署时,在/etc/ansible/hosts添加要部署的主机列表即可, 下列两个文件放在同一个目录,执行ansible-playbook zabbix_agent deploy_zabbix_agent.yaml 就可以自动部署,前提是需要部署的主机于ansible主控制机使用key已经可以通讯。

-rw-r--r-- 1 root root      404 Mar  6 00:32 deploy_zabbix_agent.yaml
-rw-r--r-- 1 root root 17089145 Mar  5 22:06 zabbix_agent_deploy.tar.gz

zabbix_agent_mass_management 该文件夹放了批量管理zabbix agent的shell脚本和python脚本

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.