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 zabbix.com
Zabbix web service for performing various tasks using headless web browser (for example, reporting).
Images are updated when new releases are published.
zabbix-web-serviceStart a Zabbix web service container as follows:
podman run \
--name some-zabbix-web-service \
-e ZBX_ALLOWEDIP="some-zabbix-server" \
--cap-add=SYS_ADMIN \
-d registry.connect.redhat.com/zabbix/zabbix-web-service-74:tag
Where some-zabbix-web-service is the name you want to assign to your container, some-zabbix-server is IP or DNS name of Zabbix server and tag is the tag specifying the version you want.
This image exposes the standard Zabbix web service port (10053) to perform communication, so container linking makes Zabbix web service instance available to Zabbix server containers. Start your application container like this in order to link it to the Zabbix web service container:
$ podman run \
--name some-zabbix-server \
--link some-zabbix-web-service:zabbix-web-service \
-e ZBX_STARTREPORTWRITERS="2" \
-e ZBX_WEBSERVICEURL="http://some-zabbix-web-service:10053/report" \
-d zabbix/zabbix-server:latest
The podman exec command allows you to run commands inside a Podman container. The following command line will give you a bash shell inside your zabbix-web-service container:
$ podman exec -ti some-zabbix-web-service /bin/bash
The Zabbix web service log is available through Podman's container log:
$ podman logs some-zabbix-web-service
When you start the zabbix-web-service image, you can adjust the configuration of the Zabbix web service by passing one or more environment variables on the podman run command line.
ZBX_ALLOWEDIPThis variable is IP or DNS name or list of IP / DNS names of Zabbix server. By default, value is zabbix-server.
ZBX_LISTENPORTListen port for incoming request. By default, value is 10053.
ZBX_DEBUGLEVELThe variable is used to specify debug level. By default, value is 3. It is DebugLevel parameter in zabbix_web_service.conf. Allowed values are listed below:
0 - basic information about starting and stopping of Zabbix processes;1 - critical information2 - error information3 - warnings4 - for debugging (produces lots of information)5 - extended debugging (produces even more information)ZBX_TIMEOUTThe variable is used to specify timeout for processing requests. By default, value is 3.
Additionally the image allows to specify many other environment variables listed below:
ZBX_TLSACCEPT=unencrypted
ZBX_TLSCAFILE=
ZBX_TLSCA=
ZBX_TLSCERTFILE=
ZBX_TLSCERT=
ZBX_TLSKEYFILE=
ZBX_TLSKEY=
ZBX_IGNOREURLCERTERRORS=0
Default values of these variables are specified after equal sign.
Please use official documentation for zabbix_web_service.conf to get more information about the variables.
/var/lib/zabbix/encThe volume is used to store TLS related files. These file names are specified using ZBX_TLSCAFILE, ZBX_TLSCERTFILE and ZBX_TLSKEYFILE variables. Additionally it is possible to use environment variables ZBX_TLSCA, ZBX_TLSCERT and ZBX_TLSKEY with plaintext values.