Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build zabbix4.2.5 with DockerV19.03.1

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Most people do not understand the knowledge points of this article "DockerV19.03.1 how to build zabbix4.2.5", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "DockerV19.03.1 how to build zabbix4.2.5" article.

Zabbix is an enterprise-level open source solution based on WEB interface that provides distributed system monitoring and network monitoring capabilities. Zabbix can monitor various network parameters to ensure the safe operation of the server system, and provides a flexible notification mechanism to enable the system administrator to quickly locate / solve various problems.

Download database docker pull mysql:5.7 download zabbixdocker pull zabbix/zabbix-server-mysql:centos-latest that supports database download web container docker pull zabbix/zabbix-web-nginx-mysql:latest download java monitoring docker pull zabbix/zabbix-java-gateway:latest create a custom zabbix network docker network create-- driver bridge-- subnet 10.113.0.0 zabbix-net 24-- gateway 10.113.0.1 zabbix-net run database mirroring Launch container docker run-dit-p 3306 network zabbix-net-restart always-v / etc/localtime:/etc/localtime-e MYSQL_DATABASE= "zabbix"-e MYSQL_USER= "zabbix"-e MYSQL_PASSWORD= "zabbix-pwd"-e MYSQL_ROOT_PASSWORD= "root-pwd" mysql:5.7 run java to monitor docker run-v / etc/localtime:/etc/localtime-dit-- restart=always-- name=zabbix-java-gateway-- network zabbix -net zabbix/zabbix-java-gateway:latest create data docker volume create zabbix-server-vol run zabbix-serverdocker run-dit-p 10051zabbix-serverdocker run 10051-- mount source=zabbix-server-vol Target=/etc/zabbix-v / etc/localtime:/etc/localtime-v / usr/lib/zabbix/alertscripts:/usr/lib/zabbix/alertscripts-- name=zabbix-server-mysql-- restart=always-- network zabbix-net-e DB_SERVER_HOST= "zabbix-mysql"-e MYSQL_DATABASE= "zabbix"-e MYSQL_USER= "zabbix"-e MYSQL_PASSWORD= "zabbix-pwd"-e MYSQL_ROOT_PASSWORD= "root-pwd"-e ZBX_JAVAGATEWAY= "zabbix-java-gateway" zabbix/ Zabbix-server-mysql:centos-latest runs web image to launch container docker run-dit-p 80:80-v / etc/localtime:/etc/localtime-- name zabbix-web-nginx-mysql-- restart=always-- network zabbix-net-e DB_SERVER_HOST= "zabbix-mysql"-e MYSQL_DATABASE= "zabbix"-e MYSQL_USER= "zabbix"-e MYSQL_PASSWORD= "zabbix-pwd"-e MYSQL_ROOT_PASSWORD= "root-pwd"-e ZBX_SERVER_HOST= " Zabbix-server-mysql "zabbix/zabbix-web-nginx-mysql:latest View started Container docker ps access docker.host-IP/zabbix Account: Admin, password: zabbix download zabbix-agent 4.0 docker run-- name zabbix-agent-e ZBX_HOSTNAME= "zabbix"-e ZBX_SERVER_HOST= "192.168.1.103"-d zabbix/zabbix-agent:centos-trunk # for the first time Incomplete parameters # docker run-- name zabbix-agent-p 10050 ZBX_HOSTNAME= 10050-- network=zabbix-net-- restart=always-e ZBX_HOSTNAME= "zabbix"-e ZBX_SERVER_HOST= "192.168.1.103"-d zabbix/zabbix-agent:centos-trunk # the second use of the above is about the content of this article "how to build zabbix4.2.5 by DockerV19.03.1". I believe you all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about it, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report