This repository contains a Docker Compose configuration to set up a complete Zabbix monitoring environment. It includes the Zabbix Server, Zabbix Frontend, MySQL, Grafana, and Zabbix Agent, all orchestrated via Docker containers.
This setup provides a robust monitoring solution with the following components:
- Zabbix Server: Central component for monitoring.
- Zabbix Frontend: Web interface for managing and viewing monitoring data.
- MySQL: Database for storing Zabbix data.
- Grafana: Advanced dashboarding and visualization for Zabbix data.
- Zabbix Agent: Collects metrics from the host machine and sends them to the Zabbix Server.
- Image:
mysql:8.0
- Ports:
3306:3306
- Volumes:
./zabbix/mysql:/var/lib/mysql
- Environment Variables:
MYSQL_ROOT_PASSWORD
MYSQL_DATABASE
MYSQL_USER
MYSQL_PASSWORD
- Image:
zabbix/zabbix-server-mysql:ubuntu-6.0-latest
- Ports:
10051:10051
- Volumes:
./zabbix/alertscripts:/usr/lib/zabbix/alertscripts
- Depends on:
mysql
- Image:
zabbix/zabbix-web-apache-mysql:ubuntu-6.0-latest
- Ports:
80:8080
,443:8443
- Depends on:
mysql
- Image:
grafana/grafana:latest
- Ports:
3000:3000
- Depends on:
mysql
,zabbix-server
- Image:
zabbix/zabbix-agent2:alpine-6.0-latest
- Ports:
10050:10050
- Depends on:
zabbix-server
- Docker installed on your machine.
- Docker Compose installed.