Last active
August 14, 2019 20:38
-
-
Save hakuno/08af35c10f72b1945371a86b1cee4e31 to your computer and use it in GitHub Desktop.
Notes on Zabbix setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*LOCALHOST|TEST PURPOSE ONLY* | |
# Exemplo 2 | |
# Ou exemplo "Docker Compose" | |
https://www.zabbix.com/documentation/3.0/manual/installation/containers | |
# Link'em all | |
docker network create zabbix | |
# Banco de dados | |
# --bind-address=0.0.0.0 | |
docker run --network="zabbix" --name mysql-server -e MYSQL_ROOT_PASSWORD=zabbix -e MYSQL_DATABASE=zabbix -d mariadb:latest --bind-address=0.0.0.0 | |
# Servidor Zabbix | |
docker run --network="zabbix" --name zabbix-opsgenie-teste -p 10051:10051 -e DB_SERVER_HOST="mysql-server" -e MYSQL_USER="root" -e MYSQL_PASSWORD="zabbix" -d zabbix/zabbix-server-mysql:ubuntu-3.4-latest | |
# ... | |
docker run --network="zabbix" --name zabbix-java-gateway -t -d zabbix/zabbix-java-gateway:ubuntu-3.4-latest | |
# Interface web | |
# Foi necessário alterar /etc/zabbix/web/zabbix.conf.php | |
docker run --network="zabbix" --name zabbix-web-nginx-mysql -t -e DB_SERVER_HOST="mysql-server" -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="root" -e MYSQL_PASSWORD="zabbix" -e MYSQL_ROOT_PASSWORD="zabbix" -p 80:80 -d zabbix/zabbix-web-nginx-mysql:ubuntu-3.4-latest | |
# Erros de SNMP | |
https://docs.linuxconsulting.mn.it/notes/net-snmp-errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment