docker快速安装zabbix

  sre


docker pull zabbix/zabbix-server-mysql

docker run --name some-zabbix-server-mysql -p 10051:10051 --net=host -e DB_SERVER_HOST="127.0.0.1" -e DB_SERVER_PORT=3306 -e MYSQL_USER="root" -e MYSQL_PASSWORD="123456" -d zabbix/zabbix-server-mysql

docker pull zabbix/zabbix-web-apache-mysql

docker run --name some-zabbix-web-apache-mysql -p 8088:80 -e DB_SERVER_HOST="127.0.0.1" -e DB_SERVER_PORT=3306 -e MYSQL_USER="root" -e MYSQL_PASSWORD="123456" -e ZBX_SERVER_HOST="127.0.0.1" -e TZ="Asia/Shanghai" -d zabbix/zabbix-web-apache-mysql

docker pull zabbix/zabbix-agent
docker run --name some-zabbix-agent -p 10050:10050 -e ZBX_HOSTNAME="localhost" -e ZBX_SERVER_HOST="127.0.0.1" -e ZBX_SERVER_PORT=10051 -d zabbix/zabbix-agent

登录 admin zabbix

One Reply to “docker快速安装zabbix”

LEAVE A COMMENT

Captcha Code