多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### Zabbix 5.4 部署 就是之前单独服务的组合,zabbix5.yml中进行了特定操作 请按需调整vars中的,或指定变量 ```shell ansible-playbook -i hosts/zabbix_hosts mysql/mysql57/mysql57.yml -e "mysql_version=5.7.31" ansible-playbook -i hosts/zabbix_hosts php/php74/php74.yml -e "php74_version=7.4.11" ansible-playbook -i hosts/zabbix_hosts nginx/tnginx/tnginx.yml -e "tnginx_version=2.3.2" ansible-playbook -i hosts/zabbix_hosts zabbix/zabbix5/zabbix5.yml ``` ### Zabbix 5.0 部署 就是之前单独服务的组合,zabbix5.yml中进行了特定操作 请按需调整vars中的,或指定变量 ```shell ansible-playbook -i hosts/zabbix_hosts mysql/mysql57/mysql57.yml -e "mysql_version=5.7.31" ansible-playbook -i hosts/zabbix_hosts php/php74/php74.yml -e "php74_version=7.4.11" ansible-playbook -i hosts/zabbix_hosts nginx/tnginx/tnginx.yml -e "tnginx_version=2.3.2" ansible-playbook -i hosts/zabbix_hosts zabbix/zabbix5/zabbix5.yml ``` ### Zabbix 4.0 部署 就是之前单独服务的组合,zabbix4.yml中进行了特定操作 请按需调整vars中的变量,或指定变量 ```shell ansible-playbook -i hosts/zabbix_hosts mysql/mysql57/mysql57.yml -e "mysql_version=5.7.31" ansible-playbook -i hosts/zabbix_hosts php/php74/php74.yml -e "php74_version=7.4.11" ansible-playbook -i hosts/zabbix_hosts nginx/tnginx/tnginx.yml -e "tnginx_version=2.3.2" ansible-playbook -i hosts/zabbix_hosts zabbix/zabbix4/zabbix4.yml ``` ### Zabbix Agnet部署 需传递服务端IP,agent版本,系统版本 ```shell ansible-playbook -i hosts/zabbix_hosts zabbix/zabbix_agent/zabbix_agent.yml -e '{"zabbix_serverip":"10.15.205.92","zabbix_agent_version":"5.4","system_version":"7"}' ```