A gcavalcante8808/zabbix-server image with Zabbix Server compilled with PostgreSQL support.
10K+
This is a gcavalcante8808/zabbix-server image with Zabbix Server compilled with PostgreSQL support, based on debian docker official image.
Clone this repository (or copy the docker-compose.yml file) to your computer, and use the ** docker-compose ** to start the services:
docker-compose up -d
After 15 seconds, check the port 80; the user and password are the default (User: "Admin", Password: "zabbix").
The Debian Team doesn't ship the snmp mibs by default. Instead, you need to install the 'snmp-mibs-downloader' and then install all mibs. To do this, you going to need a new image based in this one, that have the following Dockerfile:
FROM gcavalcante8808/zabbix-server
USER root
RUN apt-get update && apt-get install -y snmp-mibs-downloader && \
downloads-mibs && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
USER zabbix
There is no support for an agentd image inside this image anymore. For now, you going to need to use an native version or a container version of the agent.
The docker-compose.yml file was updated to use the 'gcavalcante8808/zabbix-agent' image, which is built in the same way than this one (compilled against the latest version).
If you don't want to use 'docker-compose', you will need to have a Postgres Database installed and configured with Zabbix Database Creation Scripts already imported.
If you need an Postgres Image configured to operate with Zabbix, you can use my Zabbix Db Image, available at:
https://github.com/gcavalcante8808/docker-zabbix-db-postgres
After the DB configuration, to use this image, you would set the following variables:
Two volumes are available:
Use the following statement create a new Zabbix Server:
docker run -d --name zabbix-server -v /conf:/usr/local/etc/zabbix_server.conf.d -v /scripts:/usr/local/share/zabbix/externalscripts -e DB_HOST=192.168.1.100 -e DB_USER=zabbix -e DB_PASS=zabbix -e DB_NAME=zabbix gcavalcante8808/zabbix-server
You can make some server adjustements by create or edit the files inside the "/conf" dir (or the dir what you defined during the run phase).
If you need a frontend to manage your zabbix, you can use my Zabbix FrontEnd Image, available at:
https://github.com/gcavalcante8808/docker-zabbix-frontend
Author: Gabriel Abdalla Cavalcante Silva ([email protected])
Content type
Image
Digest
Size
232.4 MB
Last updated
almost 8 years ago
docker pull gcavalcante8808/zabbix-server:4.0.0