I believe we all have to run on zabbix will then monitor the physical machine and then have not thought about running zabbix in docker in? Here we look at how to set up and monitor the zabbix in docker
Deployment environment
Physical machine 2 machines:
zabbix-server:192.168.254.13
zabbix-agent:192.168.254.17
docker version: Server Version: 19.03.1
zabbix Version: 4.0
docker mirror sites (Tsinghua University): https: //mirrors.tuna.tsinghua.edu.cn/
Installation docker
cd /etc/yum.repos.d/ wget https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/docker-ce.repo yum install docker-ce -y
Deployment zabbix
1. First mysql up and running