Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 2.1 KB

README.md

File metadata and controls

58 lines (37 loc) · 2.1 KB

Zabbix proxy Dockerfile

This repository contains Dockerfile of Zabbix proxy for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull nbarnum/zabbix-proxy

    (alternatively, you can build an image from Dockerfile: docker build -t nbarnum/zabbix-proxy github.com/nbarnum/docker-zabbix-proxy)

Usage

Run zabbix_proxy

$ docker run -d --name zabbix-proxy -p 10051:10051 \
             nbarnum/zabbix-proxy -z <zabbix server ip> -s <proxy hostname to use>

Usage:

REQUIRED:
  -s, --host           Zabbix hostname to use for Zabbix proxy (Hostname= in conf).
  -z, --zabbix-server  Zabbix server IP or DNS name (Server= in zabbix_proxy.conf).
OPTIONAL:
  -m, --monit          Command to pass to Monit {start|stop|restart|shell|status|summary}. Default: run
  -p, --port           Zabbix server port to send to (ServerPort= in zabbix_proxy.conf). Default: 10051

Explore running container

docker exec -it zabbix-proxy bash

sysctl

In order to tune the Docker host housing Zabbix proxy containers, consider applying the following sysctl settings:

kernel.shmall = 4194304
kernel.shmmax = 17179869184
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128

Tags

Tags correspond to the version of Zabbix that is installed. Currently the following tags are included:

Docker Tag Zabbix version Zabbix release date
latest 2.4.5 21 April 2015
2.4.5 2.4.5 21 April 2015
2.2.9 2.2.9 12 March 2015
2.0.14 2.0.14 15 December 2014