DISCLAIMER: This project is free and I do not own Zabbix, Postgres nor related dependencies. Furthermore, this project was made for learning purposes, since many new teammates were wishing for an easy local zabbix so they could run it on their personal machines.
-
Containerized Zabbix Server installation for Ubuntu 22.04 following official package documentation steps.
-
Compatible container engines versions:
- Podman >= 3.4.4
- Docker >= 20
-
For container image building through containerfile, a file named pgsql_password.txt must be created in this directory with a single line content; e.g.:
z@b'B!X`$T&$t!will be the password to the DBMS SA's.
-
Locale Code is by default "pt_BR" and ports 80, 5432, 10050 and 10051 must be mapped whenever instantiating a container; e.g., using podman:
podman image build -f ./containerfile --build-arg LOC_CODE=en_AU -t zbx-srv-custom:1.00 ./ podman container run -itd -p 41234:80 -p 41235:5432 -p 41236-41237:10050-10051 zbx-srv-custom:1.00 -
For this Zabbix's 1st access, one needs to follow the official quickstart guide here. In short, go to http://127.0.0.1:41234 in your browser and use the following credentials for Super Admin:
Login: Admin Password: zabbix -
If one needs to access Zabbix Server's local database, user "zabbix" over the named database "zabbix" can be used, i.e.:
psql -U zabbix -d zabbix -W