Skip to content

Simple docker monitoring laboratory with Zabbix, PostgreSQL, PGAdmin, Zapix, Grafana and Mailhog

Notifications You must be signed in to change notification settings

dudsdud/zabbix-lab

Repository files navigation

Simple docker lab for Zabbix with PostgreSQL, Grafana and Zapix (API Testing)

Versão em pt_BR: Olhe o arquivo README_pt.md

Contents

How to use:

  • Install Prerequisites

    • Versão em pt_BR: Olhe o arquivo REQUIREMENTS_pt.md
  • Copy the project and zapix dependency to your station:

    $ git clone --recurse-submodules https://github.com/isaqueprofeta/zabbix-lab.git
  • If necessary edit the version options / ip / port variables:

    $ vim .env
    Environment Padrão
    IP_REDE 172.25.0.0/24
    IP_ZBX_SERVER 172.25.0.10
    IP_ZBX_FRONTEND 172.25.0.12
    IP_ZBX_PGSQL 172.25.0.11
    IP_ZBX_AGENT 172.25.0.13
    IP_GRAFANA 172.25.0.14
    IP_ZAPIX 172.25.0.15
    IP_PGADMIN 172.25.0.16
    IP_MAIL 172.25.0.17
    PORT_ZBX_SERVER 10050
    PORT_ZBX_FRONTEND 80
    PORT_ZBX_FRONTEND_SSL 443
    PORT_PGSQL 5432
    PORT_ZBX_AGENT 10051
    PORT_GRAFANA 3000
    PORT_ZAPIX 8080
    PORT_PGADMIN 5050
    PORT_SMTP 1025
    PORT_WEBMAIL 8025
    ZABBIX_VERSION 4.0
    POSTGRES_VERSION 11
  • Start the project with docker-compose

    $ docker-compose up -d
  • Note that docker not gonna let you use 'localhost' as configuring the Grafana datasources for Zabbix or PostgreSQL and also for PGAdmin to PostgreSQL. I'm using the hostname option for each container, and when configuring this features you can use the name that's specified there.

About Zabbix

Zabbix

Zabbix is ​​an open source distributed monitoring solution for large environments - The base repository for this project that contains all Dockerfiles of Zabbix for [Docker](https: //www.docker.com/) is zabbix-docker with automatic builds published to the Docker Hub Registry.

About Zapix

Online tool for testing and development using queries in Zabbix Web API - Original project at: Github Zapix by monitoringartist.

About Grafana-XXL

Grafana

Data Analysis and Reporting Tool - Container version with all plugins already installed on Grafana-XXL by monitoringartist.

About Mailhog

MailHog

Developer Email Testing Tool - MailHog.

About

Simple docker monitoring laboratory with Zabbix, PostgreSQL, PGAdmin, Zapix, Grafana and Mailhog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published