carryontech / zabbix-docker-compose Goto Github PK
View Code? Open in Web Editor NEWInstalar o Zabbix em containers com Docker compose
Instalar o Zabbix em containers com Docker compose
Fiz a instalação do pluguin do zabbix no graffanna porem ele nao aparece no Data Base do grafanna, pode me orientrar como faço para integrar o zabbix e o grafanna. meu skype renators.ti
Ola Boa tarde!
Sou aluno do seu curso na udemy e estou tendo dificuldades para trocar o parâmetro environment que passa as configurações e senhas em texto claro direto no docker-compose file pelos parâmetro env_file secrets.
tentei isso mais não tive sucesso , você poderia me ajudar?
Este é o link do repositório que estou utilizando :
https://github.com/Reisvmr/Zabbix-docker-compose.git
`version: '3.5'
networks:
network-zabbix:
driver: bridge
services:
mysql:
container_name: mysql
image: mysql:8.0
command:
- mysqld
- --character-set-server=utf8
- --collation-server=utf8_bin
- --default-authentication-plugin=mysql_native_password
networks:
- network-zabbix
ports:
- '3306:3306'
volumes:
- './zabbix/mysql:/var/lib/data'
env_file:
- .env_db_mysql
secrets:
- MYSQL_USER
- MYSQL_PASSWORD
- MYSQL_ROOT_PASSWORD
user: root
zabbix-server:
container_name: zabbix-server
image: zabbix/zabbix-server-mysql:ubuntu-5.0.1
networks:
- network-zabbix
links:
- mysql
restart: always
ports:
- '10051:10051'
volumes:
- ./zbx_env/usr/lib/zabbix/externalscripts:/usr/lib/zabbix/externalscripts:ro
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
env_file:
- .env_db_mysql
- .env_srv
secrets:
- MYSQL_USER
- MYSQL_PASSWORD
- MYSQL_ROOT_PASSWORD
user: root
depends_on:
- mysql
zabbix-frontend:
container_name: zabbix-frontend
image: zabbix/zabbix-web-apache-mysql:ubuntu-5.0.1
networks:
- network-zabbix
links:
- mysql
restart: always
ports:
- '80:8080'
- '443:8443'
#volumes:
# - /etc/localtime:/etc/localtime:ro
# - /etc/timezone:/etc/timezone:ro
# - ./zbx_env/etc/ssl/apache2:/etc/ssl/apache2:ro
env_file:
- .env_db_mysql
- .env_web
secrets:
- MYSQL_USER
- MYSQL_PASSWORD
user: root
depends_on:
- mysql
grafana:
container_name: grafana
image: grafana/grafana
networks:
- network-zabbix
links:
- mysql
- zabbix-server
restart: always
ports:
- '3000:3000'
environment:
- GF_INSTALL_PLUGINS=alexanderzobnin-zabbix-app
depends_on:
- mysql
- zabbix-server
zabbix-agent:
container_name: zabbix-agent
image: zabbix/zabbix-agent2:alpine-5.0.1
user: root
networks:
- network-zabbix
links:
- zabbix-server
restart: always
privileged: true
volumes:
- /var/run:/var/run
- ./zbx_env/etc/zabbix/zabbix_agentd.d:/etc/zabbix/zabbix_agentd.d:ro
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
ports:
- '10050:10050'
env_file:
- .env_agent
user: root
privileged: true
pid: "host"
secrets:
MYSQL_USER:
file: ./.MYSQL_USER
MYSQL_PASSWORD:
file: ./.MYSQL_PASSWORD
MYSQL_ROOT_PASSWORD:
file: ./.MYSQL_ROOT_PASSWORD`
Olá, poderia informar por gentileza qual o usuário e senha do zabbix server?
I would like to be done in the root account in the zabbix-server image how to do? What is the password?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.