Skip to content

Simple Zabbix docker-compose to use for local testing

Notifications You must be signed in to change notification settings

erickertz/zabbix-docker

Repository files navigation

What is this?

I wanted to do some testing with Zabbix locally so created this repository from the zabbix-docker repository, stripped it down, modified some settings, and added some simple instructions to get Zabbix up and going quickly.

This is based off the zabbix-docker apline mysql 3.4.4 release: https://github.com/zabbix/zabbix-docker/releases/tag/3.4.4

This is NOT intended to be used other than anything but local testing purposes.

I have no affiliation with Zabbix.

What is Zabbix?

Zabbix is an enterprise-class open source distributed monitoring solution.

Zabbix is software that monitors numerous parameters of a network and the health and integrity of servers. Zabbix uses a flexible notification mechanism that allows users to configure e-mail based alerts for virtually any event. This allows a fast reaction to server problems. Zabbix offers excellent reporting and data visualisation features based on the stored data. This makes Zabbix ideal for capacity planning.

For more information and related downloads for Zabbix components, please visit https://hub.docker.com/u/zabbix/ and https://zabbix.com

Base Docker Image

Setup

  1. Fire up those containers:
docker-compose up
  1. Go to the Zabbix web interface: Zabbix web interface username: Admin password: zabbix

  2. Create a host. From the web interface, go to Configuration->Hosts and "Create Host" with the following settings:

    Host:

     * Host name: local
     * Groups->In groups: Zabbix servers
     * Agent interfaces->Ip address: (leave blank)
     * Agent interfaces->DNS name: zabbix-agent
     * Agent interfaces->Connect to: DNS
     * Agent interfaces->Port: 10050
    

    Templates:

     * Template App Zabbix Server
     * Template OS Linux
    

    IPMI:

     * Authentication algorithm->Default
     * Privilege level->User
    

    Encryption:

     * Connections to host: No encryption
     * Connections from host: No encryption
    
  3. Create a proxy. From the web interface, go to Administration->Proxies and "Create Proxy" with the following settings:

    Proxy:

     * Proxy name: zabbix-proxy-mysql
     * Proxy mode: Active
     * Hosts->Proxy hosts: local
    

    Encryption:

     * Connections to proxy: No encryption
     * Connections from proxy: No encryption
    
  4. Check out some graphs! From the web interface, go to Monitoring->Graphs

Usage

Please follow usage instructions of each component image:

Zabbix components:

Other components:

  • phpmyadmin - A web interface for MySQL and MariaDB

About

Simple Zabbix docker-compose to use for local testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages