├── .env ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE ├── dependabot.yml ├── scripts │ └── rhel_description.py └── workflows │ ├── dependency-review.yml │ ├── dockerhub_description.yml │ ├── images_build.yml │ ├── images_build_rhel.yml │ ├── images_build_windows.yml │ ├── rhel_registry_description.yml │ ├── scorecard.yml │ └── sonarcloud.yml ├── .gitignore ├── .pre-commit-config.yaml ├── Dockerfiles ├── agent │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ └── yum.repos.d │ │ │ │ └── oracle-epel-ol9.repo │ │ └── docker-entrypoint.sh │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.html │ │ ├── build.sh │ │ ├── docker-entrypoint.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ ├── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ └── windows │ │ ├── Dockerfile │ │ ├── README.md │ │ └── docker-entrypoint.ps1 ├── agent2 │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ └── yum.repos.d │ │ │ │ └── oracle-epel-ol9.repo │ │ └── docker-entrypoint.sh │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── Dockerfile.cuda │ │ ├── README.html │ │ ├── build.sh │ │ ├── docker-entrypoint.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ ├── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ └── windows │ │ ├── Dockerfile │ │ ├── README.md │ │ └── docker-entrypoint.ps1 ├── build-base │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ └── build.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ └── build.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── conf │ │ │ └── etc │ │ │ └── yum.repos.d │ │ │ └── oracle-epel-ol9.repo │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ ├── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ └── build.sh │ └── windows │ │ ├── Dockerfile.agent │ │ ├── Dockerfile.agent2 │ │ ├── README.md │ │ ├── modbus.vs16.sln │ │ ├── modbus.vs16.vcxproj │ │ └── modbus.vs16.vcxproj.filters ├── build-mysql │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── chromedp_no_sandbox.patch │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── chromedp_no_sandbox.patch │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── chromedp_no_sandbox.patch │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── chromedp_no_sandbox.patch │ ├── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── chromedp_no_sandbox.patch │ └── windows │ │ ├── Dockerfile.agent │ │ ├── Dockerfile.agent2 │ │ ├── README.md │ │ └── config_templates │ │ ├── agent │ │ ├── zabbix_agentd.conf │ │ ├── zabbix_agentd_active_checks.conf │ │ ├── zabbix_agentd_aliases.conf │ │ ├── zabbix_agentd_item_keys.conf │ │ ├── zabbix_agentd_logging.conf │ │ ├── zabbix_agentd_network.conf │ │ ├── zabbix_agentd_passive_checks.conf │ │ ├── zabbix_agentd_perf_counters.conf │ │ ├── zabbix_agentd_timeouts.conf │ │ ├── zabbix_agentd_tls.conf │ │ └── zabbix_agentd_user_parameters.conf │ │ └── agent2 │ │ ├── zabbix_agent2.conf │ │ ├── zabbix_agent2_active_checks.conf │ │ ├── zabbix_agent2_aliases.conf │ │ ├── zabbix_agent2_item_keys.conf │ │ ├── zabbix_agent2_locations.conf │ │ ├── zabbix_agent2_logging.conf │ │ ├── zabbix_agent2_network.conf │ │ ├── zabbix_agent2_passive_checks.conf │ │ ├── zabbix_agent2_timeouts.conf │ │ ├── zabbix_agent2_tls.conf │ │ └── zabbix_agent2_user_parameters.conf ├── build-pgsql │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── chromedp_no_sandbox.patch │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── chromedp_no_sandbox.patch │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── chromedp_no_sandbox.patch │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── chromedp_no_sandbox.patch │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ └── chromedp_no_sandbox.patch ├── build-sqlite3 │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── .gitkeep │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── .gitkeep │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── .gitkeep │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ │ └── .gitkeep │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── patches │ │ └── .gitkeep ├── java-gateway │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── usr │ │ │ │ └── sbin │ │ │ │ └── zabbix_java_gateway │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── usr │ │ │ │ └── sbin │ │ │ │ └── zabbix_java_gateway │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── usr │ │ │ │ └── sbin │ │ │ │ └── zabbix_java_gateway │ │ └── docker-entrypoint.sh │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.html │ │ ├── build.sh │ │ ├── conf │ │ │ └── usr │ │ │ │ └── sbin │ │ │ │ └── zabbix_java_gateway │ │ ├── docker-entrypoint.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ └── usr │ │ │ └── sbin │ │ │ └── zabbix_java_gateway │ │ └── docker-entrypoint.sh ├── proxy-mysql │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ └── yum.repos.d │ │ │ │ └── oracle-epel-ol9.repo │ │ └── docker-entrypoint.sh │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.html │ │ ├── build.sh │ │ ├── docker-entrypoint.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh ├── proxy-sqlite3 │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ └── yum.repos.d │ │ │ │ └── oracle-epel-ol9.repo │ │ └── docker-entrypoint.sh │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.html │ │ ├── build.sh │ │ ├── docker-entrypoint.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh ├── server-mysql │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ └── yum.repos.d │ │ │ │ └── oracle-epel-ol9.repo │ │ └── docker-entrypoint.sh │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.html │ │ ├── build.sh │ │ ├── docker-entrypoint.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh ├── server-pgsql │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ └── yum.repos.d │ │ │ │ └── oracle-epel-ol9.repo │ │ └── docker-entrypoint.sh │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.html │ │ ├── build.sh │ │ ├── docker-entrypoint.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── docker-entrypoint.sh ├── snmptraps │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── conf │ │ │ ├── etc │ │ │ ├── logrotate.d │ │ │ │ └── zabbix_snmptraps │ │ │ └── snmp │ │ │ │ └── snmptrapd.conf │ │ │ └── usr │ │ │ └── sbin │ │ │ └── zabbix_trap_handler.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── conf │ │ │ ├── etc │ │ │ ├── logrotate.d │ │ │ │ └── zabbix_snmptraps │ │ │ └── snmp │ │ │ │ └── snmptrapd.conf │ │ │ └── usr │ │ │ └── sbin │ │ │ └── zabbix_trap_handler.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── conf │ │ │ ├── etc │ │ │ ├── logrotate.d │ │ │ │ └── zabbix_snmptraps │ │ │ └── snmp │ │ │ │ └── snmptrapd.conf │ │ │ └── usr │ │ │ └── sbin │ │ │ └── zabbix_trap_handler.sh │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.html │ │ ├── build.sh │ │ ├── conf │ │ │ ├── etc │ │ │ │ ├── logrotate.d │ │ │ │ │ └── zabbix_snmptraps │ │ │ │ └── snmp │ │ │ │ │ └── snmptrapd.conf │ │ │ └── usr │ │ │ │ └── sbin │ │ │ │ └── zabbix_trap_handler.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ └── conf │ │ ├── etc │ │ ├── logrotate.d │ │ │ └── zabbix_snmptraps │ │ └── snmp │ │ │ └── snmptrapd.conf │ │ └── usr │ │ └── sbin │ │ └── zabbix_trap_handler.sh ├── web-apache-mysql │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── apache2 │ │ │ │ ├── conf.d │ │ │ │ │ └── mime.conf │ │ │ │ ├── httpd.conf │ │ │ │ ├── includes.conf │ │ │ │ └── modules.conf │ │ │ │ ├── php83 │ │ │ │ ├── php-fpm.conf │ │ │ │ └── php-fpm.d │ │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ └── zabbix │ │ │ │ ├── apache.conf │ │ │ │ ├── apache_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── httpd │ │ │ │ ├── conf.d │ │ │ │ │ └── mime.conf │ │ │ │ ├── conf │ │ │ │ │ └── httpd.conf │ │ │ │ ├── includes.conf │ │ │ │ └── modules.conf │ │ │ │ ├── php-fpm.conf │ │ │ │ ├── php-fpm.d │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ └── zabbix │ │ │ │ ├── apache.conf │ │ │ │ ├── apache_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── httpd │ │ │ │ ├── conf.d │ │ │ │ │ └── mime.conf │ │ │ │ ├── conf │ │ │ │ │ └── httpd.conf │ │ │ │ ├── includes.conf │ │ │ │ └── modules.conf │ │ │ │ ├── php-fpm.conf │ │ │ │ ├── php-fpm.d │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ ├── yum.repos.d │ │ │ │ └── oracle-epel-ol9.repo │ │ │ │ └── zabbix │ │ │ │ ├── apache.conf │ │ │ │ ├── apache_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ └── etc │ │ │ ├── apache2 │ │ │ ├── apache2.conf │ │ │ ├── includes.conf │ │ │ └── modules.conf │ │ │ ├── php │ │ │ └── 8.3 │ │ │ │ └── fpm │ │ │ │ ├── php-fpm.conf │ │ │ │ └── pool.d │ │ │ │ └── zabbix.conf │ │ │ ├── supervisor │ │ │ ├── conf.d │ │ │ │ └── supervisord_zabbix.conf │ │ │ └── supervisord.conf │ │ │ └── zabbix │ │ │ ├── apache.conf │ │ │ ├── apache_ssl.conf │ │ │ └── web │ │ │ ├── maintenance.inc.php │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh ├── web-apache-pgsql │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── apache2 │ │ │ │ ├── conf.d │ │ │ │ │ └── mime.conf │ │ │ │ ├── httpd.conf │ │ │ │ ├── includes.conf │ │ │ │ └── modules.conf │ │ │ │ ├── php83 │ │ │ │ ├── php-fpm.conf │ │ │ │ └── php-fpm.d │ │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ └── zabbix │ │ │ │ ├── apache.conf │ │ │ │ ├── apache_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── httpd │ │ │ │ ├── conf.d │ │ │ │ │ └── mime.conf │ │ │ │ ├── conf │ │ │ │ │ └── httpd.conf │ │ │ │ ├── includes.conf │ │ │ │ └── modules.conf │ │ │ │ ├── php-fpm.conf │ │ │ │ ├── php-fpm.d │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ └── zabbix │ │ │ │ ├── apache.conf │ │ │ │ ├── apache_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── httpd │ │ │ │ ├── conf.d │ │ │ │ │ └── mime.conf │ │ │ │ ├── conf │ │ │ │ │ └── httpd.conf │ │ │ │ ├── includes.conf │ │ │ │ └── modules.conf │ │ │ │ ├── php-fpm.conf │ │ │ │ ├── php-fpm.d │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ ├── yum.repos.d │ │ │ │ └── oracle-epel-ol9.repo │ │ │ │ └── zabbix │ │ │ │ ├── apache.conf │ │ │ │ ├── apache_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ └── etc │ │ │ ├── apache2 │ │ │ ├── apache2.conf │ │ │ ├── includes.conf │ │ │ └── modules.conf │ │ │ ├── php │ │ │ └── 8.3 │ │ │ │ └── fpm │ │ │ │ ├── php-fpm.conf │ │ │ │ └── pool.d │ │ │ │ └── zabbix.conf │ │ │ ├── supervisor │ │ │ ├── conf.d │ │ │ │ └── supervisord_zabbix.conf │ │ │ └── supervisord.conf │ │ │ └── zabbix │ │ │ ├── apache.conf │ │ │ ├── apache_envvars │ │ │ ├── apache_ssl.conf │ │ │ └── web │ │ │ ├── maintenance.inc.php │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh ├── web-nginx-mysql │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── nginx │ │ │ │ └── nginx.conf │ │ │ │ ├── php83 │ │ │ │ ├── php-fpm.conf │ │ │ │ └── php-fpm.d │ │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ └── zabbix │ │ │ │ ├── nginx.conf │ │ │ │ ├── nginx_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── nginx │ │ │ │ └── nginx.conf │ │ │ │ ├── php-fpm.conf │ │ │ │ ├── php-fpm.d │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ └── zabbix │ │ │ │ ├── nginx.conf │ │ │ │ ├── nginx_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── nginx │ │ │ │ └── nginx.conf │ │ │ │ ├── php-fpm.conf │ │ │ │ ├── php-fpm.d │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ ├── yum.repos.d │ │ │ │ └── oracle-epel-ol9.repo │ │ │ │ └── zabbix │ │ │ │ ├── nginx.conf │ │ │ │ ├── nginx_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.html │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── nginx │ │ │ │ └── nginx.conf │ │ │ │ ├── php-fpm.conf │ │ │ │ ├── php-fpm.d │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_web_nginx.conf │ │ │ │ └── supervisord.conf │ │ │ │ ├── yum.repo.d │ │ │ │ └── nginx.repo │ │ │ │ └── zabbix │ │ │ │ ├── nginx.conf │ │ │ │ ├── nginx_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ ├── docker-entrypoint.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ └── etc │ │ │ ├── nginx │ │ │ └── nginx.conf │ │ │ ├── php │ │ │ └── 8.3 │ │ │ │ └── fpm │ │ │ │ ├── php-fpm.conf │ │ │ │ └── pool.d │ │ │ │ └── zabbix.conf │ │ │ ├── supervisor │ │ │ ├── conf.d │ │ │ │ └── supervisord_zabbix.conf │ │ │ └── supervisord.conf │ │ │ └── zabbix │ │ │ ├── nginx.conf │ │ │ ├── nginx_ssl.conf │ │ │ └── web │ │ │ ├── maintenance.inc.php │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh ├── web-nginx-pgsql │ ├── README.md │ ├── alpine │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── nginx │ │ │ │ └── nginx.conf │ │ │ │ ├── php83 │ │ │ │ ├── php-fpm.conf │ │ │ │ └── php-fpm.d │ │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ └── zabbix │ │ │ │ ├── nginx.conf │ │ │ │ ├── nginx_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ ├── centos │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── nginx │ │ │ │ └── nginx.conf │ │ │ │ ├── php-fpm.conf │ │ │ │ ├── php-fpm.d │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ └── zabbix │ │ │ │ ├── nginx.conf │ │ │ │ ├── nginx_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ ├── ol │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── nginx │ │ │ │ └── nginx.conf │ │ │ │ ├── php-fpm.conf │ │ │ │ ├── php-fpm.d │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_zabbix.conf │ │ │ │ └── supervisord.conf │ │ │ │ ├── yum.repos.d │ │ │ │ └── oracle-epel-ol9.repo │ │ │ │ └── zabbix │ │ │ │ ├── nginx.conf │ │ │ │ ├── nginx_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh │ ├── rhel │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.html │ │ ├── build.sh │ │ ├── conf │ │ │ └── etc │ │ │ │ ├── nginx │ │ │ │ └── nginx.conf │ │ │ │ ├── php-fpm.conf │ │ │ │ ├── php-fpm.d │ │ │ │ └── zabbix.conf │ │ │ │ ├── supervisor │ │ │ │ ├── conf.d │ │ │ │ │ └── supervisord_web_nginx.conf │ │ │ │ └── supervisord.conf │ │ │ │ ├── yum.repo.d │ │ │ │ └── nginx.repo │ │ │ │ └── zabbix │ │ │ │ ├── nginx.conf │ │ │ │ ├── nginx_ssl.conf │ │ │ │ └── web │ │ │ │ ├── maintenance.inc.php │ │ │ │ └── zabbix.conf.php │ │ ├── docker-entrypoint.sh │ │ └── licenses │ │ │ └── AGPL-v3.0.txt │ └── ubuntu │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build.sh │ │ ├── conf │ │ └── etc │ │ │ ├── nginx │ │ │ └── nginx.conf │ │ │ ├── php │ │ │ └── 8.3 │ │ │ │ └── fpm │ │ │ │ ├── php-fpm.conf │ │ │ │ └── pool.d │ │ │ │ └── zabbix.conf │ │ │ ├── supervisor │ │ │ ├── conf.d │ │ │ │ └── supervisord_zabbix.conf │ │ │ └── supervisord.conf │ │ │ └── zabbix │ │ │ ├── nginx.conf │ │ │ ├── nginx_ssl.conf │ │ │ └── web │ │ │ ├── maintenance.inc.php │ │ │ └── zabbix.conf.php │ │ └── docker-entrypoint.sh └── web-service │ ├── README.md │ ├── alpine │ ├── .dockerignore │ ├── Dockerfile │ ├── README.md │ ├── build.sh │ └── docker-entrypoint.sh │ ├── centos │ ├── .dockerignore │ ├── Dockerfile │ ├── README.md │ ├── build.sh │ └── docker-entrypoint.sh │ ├── ol │ ├── .dockerignore │ ├── Dockerfile │ ├── README.md │ ├── build.sh │ ├── conf │ │ └── etc │ │ │ └── yum.repos.d │ │ │ └── oracle-epel-ol9.repo │ └── docker-entrypoint.sh │ ├── rhel │ ├── .dockerignore │ ├── Dockerfile │ ├── README.html │ ├── build.sh │ ├── docker-entrypoint.sh │ └── licenses │ │ └── AGPL-v3.0.txt │ └── ubuntu │ ├── .dockerignore │ ├── Dockerfile │ ├── README.md │ ├── build.sh │ ├── conf │ └── etc │ │ └── apt │ │ └── preferences.d │ │ └── chromium.pref │ └── docker-entrypoint.sh ├── LICENSE ├── README.md ├── SECURITY.md ├── build.json ├── build.sh ├── compose.yaml ├── compose_additional_components.yaml ├── compose_databases.yaml ├── compose_zabbix_components.yaml ├── config_templates ├── agent │ ├── zabbix_agentd.conf │ ├── zabbix_agentd_active_checks.conf │ ├── zabbix_agentd_aliases.conf │ ├── zabbix_agentd_item_keys.conf │ ├── zabbix_agentd_locations.conf │ ├── zabbix_agentd_logging.conf │ ├── zabbix_agentd_modules.conf │ ├── zabbix_agentd_network.conf │ ├── zabbix_agentd_passive_checks.conf │ ├── zabbix_agentd_security.conf │ ├── zabbix_agentd_timeouts.conf │ ├── zabbix_agentd_tls.conf │ └── zabbix_agentd_user_parameters.conf ├── agent2 │ ├── zabbix_agent2.conf │ ├── zabbix_agent2_active_checks.conf │ ├── zabbix_agent2_aliases.conf │ ├── zabbix_agent2_item_keys.conf │ ├── zabbix_agent2_locations.conf │ ├── zabbix_agent2_logging.conf │ ├── zabbix_agent2_network.conf │ ├── zabbix_agent2_passive_checks.conf │ ├── zabbix_agent2_timeouts.conf │ ├── zabbix_agent2_tls.conf │ └── zabbix_agent2_user_parameters.conf ├── proxy │ ├── zabbix_proxy.conf │ ├── zabbix_proxy_buffer.conf │ ├── zabbix_proxy_cache.conf │ ├── zabbix_proxy_db.conf │ ├── zabbix_proxy_db_tls.conf │ ├── zabbix_proxy_forks.conf │ ├── zabbix_proxy_housekeeper.conf │ ├── zabbix_proxy_identity.conf │ ├── zabbix_proxy_java_gateway.conf │ ├── zabbix_proxy_locations.conf │ ├── zabbix_proxy_logging.conf │ ├── zabbix_proxy_modules.conf │ ├── zabbix_proxy_network.conf │ ├── zabbix_proxy_security.conf │ ├── zabbix_proxy_server_communication.conf │ ├── zabbix_proxy_snmp_traps.conf │ ├── zabbix_proxy_ssl.conf │ ├── zabbix_proxy_timeouts.conf │ ├── zabbix_proxy_tls.conf │ ├── zabbix_proxy_vault.conf │ ├── zabbix_proxy_vmware.conf │ └── zabbix_proxy_webdriver.conf ├── server │ ├── zabbix_server.conf │ ├── zabbix_server_cache.conf │ ├── zabbix_server_db.conf │ ├── zabbix_server_db_tls.conf │ ├── zabbix_server_export.conf │ ├── zabbix_server_forks.conf │ ├── zabbix_server_ha.conf │ ├── zabbix_server_history_storage.conf │ ├── zabbix_server_housekeeper.conf │ ├── zabbix_server_java_gateway.conf │ ├── zabbix_server_locations.conf │ ├── zabbix_server_logging.conf │ ├── zabbix_server_modules.conf │ ├── zabbix_server_network.conf │ ├── zabbix_server_proxies.conf │ ├── zabbix_server_reports.conf │ ├── zabbix_server_security.conf │ ├── zabbix_server_service_manager.conf │ ├── zabbix_server_snmp_traps.conf │ ├── zabbix_server_ssl.conf │ ├── zabbix_server_timeouts.conf │ ├── zabbix_server_tls.conf │ ├── zabbix_server_vault.conf │ ├── zabbix_server_vmware.conf │ └── zabbix_server_webdriver.conf └── web_service │ └── zabbix_web_service.conf ├── docker-compose_v3_alpine_mysql_latest.yaml ├── docker-compose_v3_alpine_mysql_local.yaml ├── docker-compose_v3_alpine_pgsql_latest.yaml ├── docker-compose_v3_alpine_pgsql_local.yaml ├── docker-compose_v3_centos_mysql_latest.yaml ├── docker-compose_v3_centos_mysql_local.yaml ├── docker-compose_v3_centos_pgsql_latest.yaml ├── docker-compose_v3_centos_pgsql_local.yaml ├── docker-compose_v3_ol_mysql_latest.yaml ├── docker-compose_v3_ol_mysql_local.yaml ├── docker-compose_v3_ol_pgsql_latest.yaml ├── docker-compose_v3_ol_pgsql_local.yaml ├── docker-compose_v3_ubuntu_mysql_latest.yaml ├── docker-compose_v3_ubuntu_mysql_local.yaml ├── docker-compose_v3_ubuntu_pgsql_latest.yaml ├── docker-compose_v3_ubuntu_pgsql_local.yaml ├── env_vars ├── .MYSQL_PASSWORD ├── .MYSQL_ROOT_PASSWORD ├── .MYSQL_ROOT_USER ├── .MYSQL_USER ├── .POSTGRES_PASSWORD ├── .POSTGRES_USER ├── .env_agent ├── .env_db_mysql ├── .env_db_mysql_proxy ├── .env_db_pgsql ├── .env_java ├── .env_prx ├── .env_prx_mysql ├── .env_prx_sqlite3 ├── .env_snmptraps ├── .env_srv ├── .env_web ├── .env_web_service ├── chrome_dp.json └── mysql_init │ └── init_proxy_db.sql ├── kubernetes.yaml └── sources └── .gitkeep /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @dotneft 2 | -------------------------------------------------------------------------------- /.github/workflows/dependency-review.yml: -------------------------------------------------------------------------------- 1 | # Dependency Review Action 2 | # 3 | # This Action will scan dependency manifest files that change as part of a Pull Request, 4 | # surfacing known-vulnerable versions of the packages declared or updated in the PR. 5 | # Once installed, if the workflow run is marked as required, 6 | # PRs introducing known-vulnerable packages will be blocked from merging. 7 | # 8 | # Source repository: https://github.com/actions/dependency-review-action 9 | name: 'Dependency Review' 10 | on: [pull_request] 11 | 12 | permissions: 13 | contents: read 14 | pull-requests: write 15 | 16 | jobs: 17 | dependency-review: 18 | runs-on: ubuntu-latest 19 | steps: 20 | - name: Harden Runner 21 | uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0 22 | with: 23 | disable-sudo: true 24 | egress-policy: block 25 | allowed-endpoints: > 26 | api.github.com:443 27 | github.com:443 28 | 29 | - name: 'Checkout Repository' 30 | uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 31 | - name: 'Dependency Review' 32 | uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a # v4.3.3 33 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **.DS_Store 2 | zbx_env/ 3 | zbx_env*/ 4 | .*CERT_FILE 5 | .*KEY_FILE 6 | .*CA_FILE 7 | Dockerfiles/*/rhel/secrets/* 8 | sources/* -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | repos: 2 | - repo: https://github.com/gitleaks/gitleaks 3 | rev: v8.16.3 4 | hooks: 5 | - id: gitleaks 6 | - repo: https://github.com/jumanjihouse/pre-commit-hooks 7 | rev: 3.0.0 8 | hooks: 9 | - id: shellcheck 10 | - repo: https://github.com/pre-commit/pre-commit-hooks 11 | rev: v4.5.0 12 | hooks: 13 | - id: end-of-file-fixer 14 | exclude: | 15 | (?x)( 16 | ^env_vars/\.MYSQL | 17 | ^env_vars/\.POSTGRES 18 | ) 19 | - repo: https://github.com/pre-commit/pre-commit-hooks 20 | rev: v4.5.0 21 | hooks: 22 | - id: trailing-whitespace 23 | exclude: | 24 | (?x)( 25 | .*\.patch$ 26 | ) 27 | - id: check-yaml 28 | args: [--allow-multiple-documents] 29 | - id: check-symlinks 30 | # - id: pretty-format-json 31 | - id: check-added-large-files 32 | #- repo: https://github.com/adrienverge/yamllint.git 33 | # rev: v1.21.0 # or higher tag 34 | # hooks: 35 | # - id: yamllint 36 | # args: [--format, parsable, --strict] 37 | #- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt 38 | # rev: 0.2.3 39 | # hooks: 40 | # - id: yamlfmt 41 | # args: [--mapping, '2', --sequence, '1', --offset, '0', --colons, --width, '400'] 42 | -------------------------------------------------------------------------------- /Dockerfiles/agent/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/agent/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/agent/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/agent/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/agent/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/agent/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/agent/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/agent/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/agent/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/agent/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/agent/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/agent/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/agent/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/agent/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/agent/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/agent/windows/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/agent2/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/agent2/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/agent2/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/agent2/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/agent2/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/agent2/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/agent2/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/agent2/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/agent2/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/agent2/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/agent2/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/agent2/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/agent2/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/agent2/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/agent2/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/agent2/windows/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-base/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-base/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-base/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-base/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-base/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-base/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-base/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-base/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-base/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-base/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/build-base/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-base/rhel/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-base/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-base/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-base/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-base/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-base/windows/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/alpine/patches/chromedp_no_sandbox.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/go/cmd/zabbix_web_service/pdf_report_creator.go b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 2 | index afab41204d1..f1a9b859f34 100644 3 | --- a/src/go/cmd/zabbix_web_service/pdf_report_creator.go 4 | +++ b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 5 | @@ -100,7 +100,11 @@ func (h *handler) report(w http.ResponseWriter, r *http.Request) { 6 | return 7 | } 8 | 9 | - opts := chromedp.DefaultExecAllocatorOptions[:] 10 | + opts := append(chromedp.DefaultExecAllocatorOptions[:], 11 | + chromedp.DisableGPU, 12 | + chromedp.NoSandbox, 13 | + chromedp.Flag("disable-setuid-sandbox", true), 14 | + ) 15 | 16 | if options.IgnoreURLCertErrors == 1 { 17 | opts = append(opts, chromedp.Flag("ignore-certificate-errors", "1")) 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/centos/patches/chromedp_no_sandbox.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/go/cmd/zabbix_web_service/pdf_report_creator.go b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 2 | index afab41204d1..f1a9b859f34 100644 3 | --- a/src/go/cmd/zabbix_web_service/pdf_report_creator.go 4 | +++ b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 5 | @@ -100,7 +100,11 @@ func (h *handler) report(w http.ResponseWriter, r *http.Request) { 6 | return 7 | } 8 | 9 | - opts := chromedp.DefaultExecAllocatorOptions[:] 10 | + opts := append(chromedp.DefaultExecAllocatorOptions[:], 11 | + chromedp.DisableGPU, 12 | + chromedp.NoSandbox, 13 | + chromedp.Flag("disable-setuid-sandbox", true), 14 | + ) 15 | 16 | if options.IgnoreURLCertErrors == 1 { 17 | opts = append(opts, chromedp.Flag("ignore-certificate-errors", "1")) 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/ol/patches/chromedp_no_sandbox.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/go/cmd/zabbix_web_service/pdf_report_creator.go b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 2 | index afab41204d1..f1a9b859f34 100644 3 | --- a/src/go/cmd/zabbix_web_service/pdf_report_creator.go 4 | +++ b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 5 | @@ -100,7 +100,11 @@ func (h *handler) report(w http.ResponseWriter, r *http.Request) { 6 | return 7 | } 8 | 9 | - opts := chromedp.DefaultExecAllocatorOptions[:] 10 | + opts := append(chromedp.DefaultExecAllocatorOptions[:], 11 | + chromedp.DisableGPU, 12 | + chromedp.NoSandbox, 13 | + chromedp.Flag("disable-setuid-sandbox", true), 14 | + ) 15 | 16 | if options.IgnoreURLCertErrors == 1 { 17 | opts = append(opts, chromedp.Flag("ignore-certificate-errors", "1")) 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/rhel/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/rhel/patches/chromedp_no_sandbox.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/go/cmd/zabbix_web_service/pdf_report_creator.go b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 2 | index afab41204d1..f1a9b859f34 100644 3 | --- a/src/go/cmd/zabbix_web_service/pdf_report_creator.go 4 | +++ b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 5 | @@ -100,7 +100,11 @@ func (h *handler) report(w http.ResponseWriter, r *http.Request) { 6 | return 7 | } 8 | 9 | - opts := chromedp.DefaultExecAllocatorOptions[:] 10 | + opts := append(chromedp.DefaultExecAllocatorOptions[:], 11 | + chromedp.DisableGPU, 12 | + chromedp.NoSandbox, 13 | + chromedp.Flag("disable-setuid-sandbox", true), 14 | + ) 15 | 16 | if options.IgnoreURLCertErrors == 1 { 17 | opts = append(opts, chromedp.Flag("ignore-certificate-errors", "1")) 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/ubuntu/patches/chromedp_no_sandbox.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/go/cmd/zabbix_web_service/pdf_report_creator.go b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 2 | index afab41204d1..f1a9b859f34 100644 3 | --- a/src/go/cmd/zabbix_web_service/pdf_report_creator.go 4 | +++ b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 5 | @@ -100,7 +100,11 @@ func (h *handler) report(w http.ResponseWriter, r *http.Request) { 6 | return 7 | } 8 | 9 | - opts := chromedp.DefaultExecAllocatorOptions[:] 10 | + opts := append(chromedp.DefaultExecAllocatorOptions[:], 11 | + chromedp.DisableGPU, 12 | + chromedp.NoSandbox, 13 | + chromedp.Flag("disable-setuid-sandbox", true), 14 | + ) 15 | 16 | if options.IgnoreURLCertErrors == 1 { 17 | opts = append(opts, chromedp.Flag("ignore-certificate-errors", "1")) 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent/zabbix_agentd.conf: -------------------------------------------------------------------------------- 1 | # This is a configuration file for Zabbix agent service (Windows) 2 | # To get more information about Zabbix, visit https://www.zabbix.com 3 | 4 | ############ ADVANCED PARAMETERS ################# 5 | 6 | ### Option: Include 7 | # You may include individual files in the configuration file. 8 | # 9 | # Mandatory: no 10 | # Default: 11 | # Include= 12 | 13 | # Include=c:\zabbix\zabbix_agentd.userparams.conf 14 | # Include=c:\zabbix\zabbix_agentd.conf.d\ 15 | # Include=c:\zabbix\zabbix_agentd.conf.d\*.conf 16 | 17 | Include=C:\zabbix\conf\zabbix_agentd_active_checks.conf 18 | Include=C:\zabbix\conf\zabbix_agentd_aliases.conf 19 | Include=C:\zabbix\conf\zabbix_agentd_item_keys.conf 20 | Include=C:\zabbix\conf\zabbix_agentd_logging.conf 21 | Include=C:\zabbix\conf\zabbix_agentd_network.conf 22 | Include=C:\zabbix\conf\zabbix_agentd_passive_checks.conf 23 | Include=C:\zabbix\conf\zabbix_agentd_perf_counters.conf 24 | Include=C:\zabbix\conf\zabbix_agentd_timeouts.conf 25 | Include=C:\zabbix\conf\zabbix_agentd_tls.conf 26 | Include=C:\zabbix\conf\zabbix_agentd_user_parameters.conf 27 | 28 | Include=C:\zabbix\conf\zabbix_agentd.d\*.conf 29 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent/zabbix_agentd_aliases.conf: -------------------------------------------------------------------------------- 1 | ### Option: Alias 2 | # Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one. 3 | # Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed. 4 | # Different Alias keys may reference the same item key. 5 | # For example, to retrieve paging file usage in percents from the server: 6 | # Alias=pg_usage:perf_counter[\Paging File(_Total)\% Usage] 7 | # Now shorthand key pg_usage may be used to retrieve data. 8 | # Aliases can be used in HostMetadataItem but not in HostnameItem or PerfCounter parameters. 9 | # 10 | # Mandatory: no 11 | # Range: 12 | # Default: 13 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent/zabbix_agentd_item_keys.conf: -------------------------------------------------------------------------------- 1 | ### Option: AllowKey 2 | # Allow execution of item keys matching pattern. 3 | # Multiple keys matching rules may be defined in combination with DenyKey. 4 | # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments. 5 | # Parameters are processed one by one according their appearance order. 6 | # If no AllowKey or DenyKey rules defined, all keys are allowed. 7 | # 8 | # Mandatory: no 9 | 10 | ### Option: DenyKey 11 | # Deny execution of items keys matching pattern. 12 | # Multiple keys matching rules may be defined in combination with AllowKey. 13 | # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments. 14 | # Parameters are processed one by one according their appearance order. 15 | # If no AllowKey or DenyKey rules defined, all keys are allowed. 16 | # Unless another system.run[*] rule is specified DenyKey=system.run[*] is added by default. 17 | # 18 | # Mandatory: no 19 | # Default: 20 | # DenyKey=system.run[*] 21 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent/zabbix_agentd_logging.conf: -------------------------------------------------------------------------------- 1 | ### Option: LogType 2 | # Specifies where log messages are written to: 3 | # system - syslog 4 | # file - file specified with LogFile parameter 5 | # console - standard output 6 | # 7 | # Mandatory: no 8 | # Default: 9 | # LogType=file 10 | 11 | LogType=console 12 | 13 | ### Option: DebugLevel 14 | # Specifies debug level: 15 | # 0 - basic information about starting and stopping of Zabbix processes 16 | # 1 - critical information 17 | # 2 - error information 18 | # 3 - warnings 19 | # 4 - for debugging (produces lots of information) 20 | # 5 - extended debugging (produces even more information) 21 | # 22 | # Mandatory: no 23 | # Range: 0-5 24 | # Default: 25 | # DebugLevel=3 26 | 27 | DebugLevel=${ZBX_DEBUGLEVEL} 28 | 29 | ### Option: LogRemoteCommands 30 | # Enable logging of executed shell commands as warnings. 31 | # 0 - disabled 32 | # 1 - enabled 33 | # 34 | # Mandatory: no 35 | # Default: 36 | # LogRemoteCommands=0 37 | 38 | LogRemoteCommands=${ZBX_LOGREMOTECOMMANDS} 39 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent/zabbix_agentd_network.conf: -------------------------------------------------------------------------------- 1 | ### Option: ListenPort 2 | # Agent will listen on this port for connections from the server. 3 | # 4 | # Mandatory: no 5 | # Range: 1024-32767 6 | # Default: 7 | # ListenPort=10050 8 | 9 | ListenPort=${ZBX_LISTENPORT} 10 | 11 | ### Option: ListenIP 12 | # List of comma delimited IP addresses that the agent should listen on. 13 | # First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks. 14 | # 15 | # Mandatory: no 16 | # Default: 17 | # ListenIP=0.0.0.0 18 | 19 | ListenIP=${ZBX_LISTENIP} 20 | 21 | ### Option: SourceIP 22 | # Source IP address for outgoing connections. 23 | # 24 | # Mandatory: no 25 | # Default: 26 | # SourceIP= 27 | 28 | SourceIP=${ZBX_SOURCEIP} 29 | 30 | ####### For advanced users - TCP-related fine-tuning parameters ####### 31 | 32 | ## Option: ListenBacklog 33 | # The maximum number of pending connections in the queue. This parameter is passed to 34 | # listen() function as argument 'backlog' (see "man listen"). 35 | # 36 | # Mandatory: no 37 | # Range: 0 - INT_MAX (depends on system, too large values may be silently truncated to implementation-specified maximum) 38 | # Default: SOMAXCONN (hard-coded constant, depends on system) 39 | # ListenBacklog= 40 | 41 | ListenBacklog=${ZBX_LISTENBACKLOG} 42 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent/zabbix_agentd_passive_checks.conf: -------------------------------------------------------------------------------- 1 | ##### Passive checks related 2 | 3 | ### Option: Server 4 | # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies. 5 | # Incoming connections will be accepted only from the hosts listed here. 6 | # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally 7 | # and '::/0' will allow any IPv4 or IPv6 address. 8 | # '0.0.0.0/0' can be used to allow any IPv4 address. 9 | # Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com 10 | # 11 | # Mandatory: yes, if StartAgents is not explicitly set to 0 12 | # Default: 13 | # Server= 14 | 15 | Server=${ZBX_PASSIVESERVERS} 16 | 17 | ### Option: StartAgents 18 | # Number of pre-forked instances of zabbix_agentd that process passive checks. 19 | # If set to 0, disables passive checks and the agent will not listen on any TCP port. 20 | # 21 | # Mandatory: no 22 | # Range: 0-100 23 | # Default: 24 | # StartAgents=10 25 | 26 | StartAgents=${ZBX_STARTAGENTS} 27 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent/zabbix_agentd_perf_counters.conf: -------------------------------------------------------------------------------- 1 | ### Option: PerfCounter 2 | # Syntax: ,"", 3 | # Defines new parameter which is an average value for system performance counter for the specified time period (in seconds). 4 | # For example, if you wish to receive average number of processor interrupts per second for last minute, you can define new parameter "interrupts" as following: 5 | # PerfCounter = interrupts,"\Processor(0)\Interrupts/sec",60 6 | # Please note double quotes around performance counter path. 7 | # Samples for calculating average value will be taken every second. 8 | # You may run "typeperf -qx" to get list of all performance counters available in Windows. 9 | # 10 | # Mandatory: no 11 | # Range: 12 | # Default: 13 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent/zabbix_agentd_timeouts.conf: -------------------------------------------------------------------------------- 1 | ### Option: Timeout 2 | # Specifies how long to wait (in seconds) for establishing connection and exchanging data with Zabbix proxy or server. 3 | # 4 | # Mandatory: no 5 | # Range: 1-30 6 | # Default: 7 | # Timeout=3 8 | 9 | Timeout=${ZBX_TIMEOUT} 10 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent/zabbix_agentd_user_parameters.conf: -------------------------------------------------------------------------------- 1 | ####### USER-DEFINED MONITORED PARAMETERS ####### 2 | 3 | ### Option: UnsafeUserParameters 4 | # Allow all characters to be passed in arguments to user-defined parameters. 5 | # The following characters are not allowed: 6 | # \ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @ 7 | # Additionally, newline characters are not allowed. 8 | # 0 - do not allow 9 | # 1 - allow 10 | # 11 | # Mandatory: no 12 | # Range: 0-1 13 | # Default: 14 | # UnsafeUserParameters=0 15 | 16 | UnsafeUserParameters=${ZBX_UNSAFEUSERPARAMETERS} 17 | 18 | ### Option: UserParameter 19 | # User-defined parameter to monitor. There can be several user-defined parameters. 20 | # Format: UserParameter=, 21 | # See 'zabbix_agentd' directory for examples. 22 | # 23 | # Mandatory: no 24 | # Default: 25 | # UserParameter= 26 | 27 | ### Option: UserParameterDir 28 | # Directory to execute UserParameter commands from. Only one entry is allowed. 29 | # When executing UserParameter commands the agent will change the working directory to the one 30 | # specified in the UserParameterDir option. 31 | # This way UserParameter commands can be specified using the relative ./ prefix. 32 | # 33 | # Mandatory: no 34 | # Default: 35 | # UserParameterDir= 36 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent2/zabbix_agent2_aliases.conf: -------------------------------------------------------------------------------- 1 | ### Option: Alias 2 | # Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one. 3 | # Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed. 4 | # Different Alias keys may reference the same item key. 5 | # For example, to retrieve the ID of user 'zabbix': 6 | # Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1] 7 | # Now shorthand key zabbix.userid may be used to retrieve data. 8 | # Aliases can be used in HostMetadataItem but not in HostnameItem parameters. 9 | # 10 | # Mandatory: no 11 | # Range: 12 | # Default: 13 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent2/zabbix_agent2_item_keys.conf: -------------------------------------------------------------------------------- 1 | ### Option: AllowKey 2 | # Allow execution of item keys matching pattern. 3 | # Multiple keys matching rules may be defined in combination with DenyKey. 4 | # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments. 5 | # Parameters are processed one by one according their appearance order. 6 | # If no AllowKey or DenyKey rules defined, all keys are allowed. 7 | # 8 | # Mandatory: no 9 | 10 | ### Option: DenyKey 11 | # Deny execution of items keys matching pattern. 12 | # Multiple keys matching rules may be defined in combination with AllowKey. 13 | # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments. 14 | # Parameters are processed one by one according their appearance order. 15 | # If no AllowKey or DenyKey rules defined, all keys are allowed. 16 | # Unless another system.run[*] rule is specified DenyKey=system.run[*] is added by default. 17 | # 18 | # Mandatory: no 19 | # Default: 20 | # DenyKey=system.run[*] 21 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent2/zabbix_agent2_locations.conf: -------------------------------------------------------------------------------- 1 | ### Option:PluginSocket 2 | # Path to unix socket for external plugin communications. 3 | # 4 | # Mandatory: no 5 | # Default:\\.\pipe\agent.plugin.sock 6 | # PluginSocket= 7 | 8 | PluginSocket=\\.\pipe\agent.plugin.sock 9 | 10 | ### Option: ControlSocket 11 | # The control socket, used to send runtime commands with '-R' option. 12 | # 13 | # Mandatory: no 14 | # Default: 15 | # ControlSocket= 16 | 17 | ControlSocket=\\.\pipe\agent.sock 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent2/zabbix_agent2_logging.conf: -------------------------------------------------------------------------------- 1 | ### Option: LogType 2 | # Specifies where log messages are written to: 3 | # system - syslog 4 | # file - file specified with LogFile parameter 5 | # console - standard output 6 | # 7 | # Mandatory: no 8 | # Default: 9 | # LogType=file 10 | 11 | LogType=console 12 | 13 | ### Option: DebugLevel 14 | # Specifies debug level: 15 | # 0 - basic information about starting and stopping of Zabbix processes 16 | # 1 - critical information 17 | # 2 - error information 18 | # 3 - warnings 19 | # 4 - for debugging (produces lots of information) 20 | # 5 - extended debugging (produces even more information) 21 | # 22 | # Mandatory: no 23 | # Range: 0-5 24 | # Default: 25 | # DebugLevel=3 26 | 27 | DebugLevel=${ZBX_DEBUGLEVEL} 28 | 29 | ### Option: Plugins.SystemRun.LogRemoteCommands 30 | # Enable logging of executed shell commands as warnings. 31 | # 0 - disabled 32 | # 1 - enabled 33 | # 34 | # Mandatory: no 35 | # Default: 36 | # Plugins.SystemRun.LogRemoteCommands=0 37 | 38 | Plugins.SystemRun.LogRemoteCommands=${ZBX_LOGREMOTECOMMANDS} 39 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent2/zabbix_agent2_network.conf: -------------------------------------------------------------------------------- 1 | ### Option: ListenIP 2 | # List of comma delimited IP addresses that the agent should listen on. 3 | # First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks. 4 | # 5 | # Mandatory: no 6 | # Default: 7 | # ListenIP=0.0.0.0 8 | 9 | ListenIP=${ZBX_LISTENIP} 10 | 11 | ### Option: ListenPort 12 | # Agent will listen on this port for connections from the server. 13 | # 14 | # Mandatory: no 15 | # Range: 1024-32767 16 | # Default: 17 | # ListenPort=10050 18 | 19 | ListenPort=${ZBX_LISTENPORT} 20 | 21 | ### Option: SourceIP 22 | # Source IP address for outgoing connections. 23 | # 24 | # Mandatory: no 25 | # Default: 26 | # SourceIP= 27 | 28 | SourceIP=${ZBX_SOURCEIP} 29 | 30 | ### Option: StatusPort 31 | # Agent will listen on this port for HTTP status requests. 32 | # 33 | # Mandatory: no 34 | # Range: 1024-32767 35 | # Default: 36 | # StatusPort= 37 | 38 | StatusPort=${ZBX_STATUSPORT} 39 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent2/zabbix_agent2_passive_checks.conf: -------------------------------------------------------------------------------- 1 | ##### Passive checks related 2 | 3 | ### Option: Server 4 | # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies. 5 | # Incoming connections will be accepted only from the hosts listed here. 6 | # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally 7 | # and '::/0' will allow any IPv4 or IPv6 address. 8 | # '0.0.0.0/0' can be used to allow any IPv4 address. 9 | # Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com 10 | # 11 | # Mandatory: yes, if StartAgents is not explicitly set to 0 12 | # Default: 13 | # Server= 14 | 15 | Server=${ZBX_PASSIVESERVERS} 16 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent2/zabbix_agent2_timeouts.conf: -------------------------------------------------------------------------------- 1 | ### Option: Timeout 2 | # Specifies how long to wait (in seconds) for establishing connection and exchanging data with Zabbix proxy or server. 3 | # 4 | # Mandatory: no 5 | # Range: 1-30 6 | # Default: 7 | # Timeout=3 8 | 9 | Timeout=${ZBX_TIMEOUT} 10 | 11 | ### Option:PluginTimeout 12 | # Timeout for connections with external plugins. 13 | # 14 | # Mandatory: no 15 | # Range: 1-30 16 | # Default: 17 | # PluginTimeout= 18 | 19 | PluginTimeout=${ZBX_PLUGINTIMEOUT} 20 | -------------------------------------------------------------------------------- /Dockerfiles/build-mysql/windows/config_templates/agent2/zabbix_agent2_user_parameters.conf: -------------------------------------------------------------------------------- 1 | ####### USER-DEFINED MONITORED PARAMETERS ####### 2 | 3 | ### Option: UnsafeUserParameters 4 | # Allow all characters to be passed in arguments to user-defined parameters. 5 | # The following characters are not allowed: 6 | # \ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @ 7 | # Additionally, newline characters are not allowed. 8 | # 0 - do not allow 9 | # 1 - allow 10 | # 11 | # Mandatory: no 12 | # Range: 0-1 13 | # Default: 14 | # UnsafeUserParameters=0 15 | 16 | UnsafeUserParameters=${ZBX_UNSAFEUSERPARAMETERS} 17 | 18 | ### Option: UserParameter 19 | # User-defined parameter to monitor. There can be several user-defined parameters. 20 | # Format: UserParameter=, 21 | # See 'zabbix_agentd' directory for examples. 22 | # 23 | # Mandatory: no 24 | # Default: 25 | # UserParameter= 26 | 27 | ### Option: UserParameterDir 28 | # Directory to execute UserParameter commands from. Only one entry is allowed. 29 | # When executing UserParameter commands the agent will change the working directory to the one 30 | # specified in the UserParameterDir option. 31 | # This way UserParameter commands can be specified using the relative ./ prefix. 32 | # 33 | # Mandatory: no 34 | # Default: 35 | # UserParameterDir= 36 | 37 | UserParameterDir=${ZBX_USERPARAMETERDIR} 38 | -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/alpine/patches/chromedp_no_sandbox.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/go/cmd/zabbix_web_service/pdf_report_creator.go b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 2 | index afab41204d1..f1a9b859f34 100644 3 | --- a/src/go/cmd/zabbix_web_service/pdf_report_creator.go 4 | +++ b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 5 | @@ -100,7 +100,11 @@ func (h *handler) report(w http.ResponseWriter, r *http.Request) { 6 | return 7 | } 8 | 9 | - opts := chromedp.DefaultExecAllocatorOptions[:] 10 | + opts := append(chromedp.DefaultExecAllocatorOptions[:], 11 | + chromedp.DisableGPU, 12 | + chromedp.NoSandbox, 13 | + chromedp.Flag("disable-setuid-sandbox", true), 14 | + ) 15 | 16 | if options.IgnoreURLCertErrors == 1 { 17 | opts = append(opts, chromedp.Flag("ignore-certificate-errors", "1")) 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/centos/patches/chromedp_no_sandbox.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/go/cmd/zabbix_web_service/pdf_report_creator.go b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 2 | index afab41204d1..f1a9b859f34 100644 3 | --- a/src/go/cmd/zabbix_web_service/pdf_report_creator.go 4 | +++ b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 5 | @@ -100,7 +100,11 @@ func (h *handler) report(w http.ResponseWriter, r *http.Request) { 6 | return 7 | } 8 | 9 | - opts := chromedp.DefaultExecAllocatorOptions[:] 10 | + opts := append(chromedp.DefaultExecAllocatorOptions[:], 11 | + chromedp.DisableGPU, 12 | + chromedp.NoSandbox, 13 | + chromedp.Flag("disable-setuid-sandbox", true), 14 | + ) 15 | 16 | if options.IgnoreURLCertErrors == 1 { 17 | opts = append(opts, chromedp.Flag("ignore-certificate-errors", "1")) 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/ol/patches/chromedp_no_sandbox.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/go/cmd/zabbix_web_service/pdf_report_creator.go b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 2 | index afab41204d1..f1a9b859f34 100644 3 | --- a/src/go/cmd/zabbix_web_service/pdf_report_creator.go 4 | +++ b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 5 | @@ -100,7 +100,11 @@ func (h *handler) report(w http.ResponseWriter, r *http.Request) { 6 | return 7 | } 8 | 9 | - opts := chromedp.DefaultExecAllocatorOptions[:] 10 | + opts := append(chromedp.DefaultExecAllocatorOptions[:], 11 | + chromedp.DisableGPU, 12 | + chromedp.NoSandbox, 13 | + chromedp.Flag("disable-setuid-sandbox", true), 14 | + ) 15 | 16 | if options.IgnoreURLCertErrors == 1 { 17 | opts = append(opts, chromedp.Flag("ignore-certificate-errors", "1")) 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/rhel/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/rhel/patches/chromedp_no_sandbox.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/go/cmd/zabbix_web_service/pdf_report_creator.go b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 2 | index afab41204d1..f1a9b859f34 100644 3 | --- a/src/go/cmd/zabbix_web_service/pdf_report_creator.go 4 | +++ b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 5 | @@ -100,7 +100,11 @@ func (h *handler) report(w http.ResponseWriter, r *http.Request) { 6 | return 7 | } 8 | 9 | - opts := chromedp.DefaultExecAllocatorOptions[:] 10 | + opts := append(chromedp.DefaultExecAllocatorOptions[:], 11 | + chromedp.DisableGPU, 12 | + chromedp.NoSandbox, 13 | + chromedp.Flag("disable-setuid-sandbox", true), 14 | + ) 15 | 16 | if options.IgnoreURLCertErrors == 1 { 17 | opts = append(opts, chromedp.Flag("ignore-certificate-errors", "1")) 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-pgsql/ubuntu/patches/chromedp_no_sandbox.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/go/cmd/zabbix_web_service/pdf_report_creator.go b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 2 | index afab41204d1..f1a9b859f34 100644 3 | --- a/src/go/cmd/zabbix_web_service/pdf_report_creator.go 4 | +++ b/src/go/cmd/zabbix_web_service/pdf_report_creator.go 5 | @@ -100,7 +100,11 @@ func (h *handler) report(w http.ResponseWriter, r *http.Request) { 6 | return 7 | } 8 | 9 | - opts := chromedp.DefaultExecAllocatorOptions[:] 10 | + opts := append(chromedp.DefaultExecAllocatorOptions[:], 11 | + chromedp.DisableGPU, 12 | + chromedp.NoSandbox, 13 | + chromedp.Flag("disable-setuid-sandbox", true), 14 | + ) 15 | 16 | if options.IgnoreURLCertErrors == 1 { 17 | opts = append(opts, chromedp.Flag("ignore-certificate-errors", "1")) 18 | -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/alpine/patches/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zabbix/zabbix-docker/deac4f89d1364ef07a2c844970ad359b0ba964ad/Dockerfiles/build-sqlite3/alpine/patches/.gitkeep -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/centos/patches/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zabbix/zabbix-docker/deac4f89d1364ef07a2c844970ad359b0ba964ad/Dockerfiles/build-sqlite3/centos/patches/.gitkeep -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/ol/patches/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zabbix/zabbix-docker/deac4f89d1364ef07a2c844970ad359b0ba964ad/Dockerfiles/build-sqlite3/ol/patches/.gitkeep -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/rhel/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/rhel/patches/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zabbix/zabbix-docker/deac4f89d1364ef07a2c844970ad359b0ba964ad/Dockerfiles/build-sqlite3/rhel/patches/.gitkeep -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/build-sqlite3/ubuntu/patches/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zabbix/zabbix-docker/deac4f89d1364ef07a2c844970ad359b0ba964ad/Dockerfiles/build-sqlite3/ubuntu/patches/.gitkeep -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/alpine/conf/usr/sbin/zabbix_java_gateway: -------------------------------------------------------------------------------- 1 | 2 | JAVA=${JAVA:-"/usr/bin/java"} 3 | 4 | JAVA_OPTIONS="-server $JAVA_OPTIONS" 5 | JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=$ZABBIX_CONF_DIR/zabbix_java_gateway_logback.xml" 6 | 7 | cd /usr/sbin/zabbix_java 8 | 9 | CLASSPATH="lib" 10 | for jar in `find lib bin ext_lib -name "*.jar"`; do 11 | CLASSPATH="$CLASSPATH:$jar" 12 | done 13 | 14 | if [ -n "$ZBX_LISTEN_IP" ]; then 15 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenIP=$ZBX_LISTEN_IP" 16 | fi 17 | if [ -n "$ZBX_LISTEN_PORT" ]; then 18 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenPort=$ZBX_LISTEN_PORT" 19 | fi 20 | if [ -n "$ZBX_START_POLLERS" ]; then 21 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.startPollers=$ZBX_START_POLLERS" 22 | fi 23 | if [ -n "$ZBX_TIMEOUT" ]; then 24 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.timeout=$ZBX_TIMEOUT" 25 | fi 26 | if [ -n "$ZBX_PROPERTIES_FILE" ]; then 27 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.propertiesFile=$ZBX_PROPERTIES_FILE" 28 | fi 29 | 30 | tcp_timeout=${ZBX_TIMEOUT:=3}000 31 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dsun.rmi.transport.tcp.responseTimeout=$tcp_timeout" 32 | 33 | COMMAND_LINE="$JAVA $JAVA_OPTIONS -classpath $CLASSPATH $ZABBIX_OPTIONS com.zabbix.gateway.JavaGateway" 34 | 35 | exec $COMMAND_LINE 36 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/alpine/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o pipefail 4 | 5 | set +e 6 | 7 | # Script trace mode 8 | if [ "${DEBUG_MODE,,}" == "true" ]; then 9 | set -o xtrace 10 | fi 11 | 12 | prepare_java_gateway_config() { 13 | echo "** Preparing Zabbix Java Gateway log configuration file" 14 | 15 | ZBX_GATEWAY_CONFIG=$ZABBIX_CONF_DIR/zabbix_java_gateway_logback.xml 16 | 17 | : ${ZBX_DEBUGLEVEL:="info"} 18 | 19 | echo "Updating $ZBX_GATEWAY_CONFIG 'DebugLevel' parameter: '${ZBX_DEBUGLEVEL}'... updated" 20 | sed -i -e "/^.*/" "$ZBX_GATEWAY_CONFIG" 21 | } 22 | 23 | prepare_java_gateway() { 24 | echo "** Preparing Zabbix Java Gateway" 25 | 26 | prepare_java_gateway_config 27 | } 28 | 29 | ################################################# 30 | 31 | if [ "$1" == '/usr/sbin/zabbix_java_gateway' ]; then 32 | prepare_java_gateway 33 | fi 34 | 35 | exec "$@" 36 | 37 | 38 | ################################################# 39 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/centos/conf/usr/sbin/zabbix_java_gateway: -------------------------------------------------------------------------------- 1 | 2 | JAVA=${JAVA:-"/usr/bin/java"} 3 | 4 | JAVA_OPTIONS="-server $JAVA_OPTIONS" 5 | JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=$ZABBIX_CONF_DIR/zabbix_java_gateway_logback.xml" 6 | 7 | cd /usr/sbin/zabbix_java 8 | 9 | CLASSPATH="lib" 10 | for jar in `find lib bin ext_lib -name "*.jar"`; do 11 | CLASSPATH="$CLASSPATH:$jar" 12 | done 13 | 14 | if [ -n "$ZBX_LISTEN_IP" ]; then 15 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenIP=$ZBX_LISTEN_IP" 16 | fi 17 | if [ -n "$ZBX_LISTEN_PORT" ]; then 18 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenPort=$ZBX_LISTEN_PORT" 19 | fi 20 | if [ -n "$ZBX_START_POLLERS" ]; then 21 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.startPollers=$ZBX_START_POLLERS" 22 | fi 23 | if [ -n "$ZBX_TIMEOUT" ]; then 24 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.timeout=$ZBX_TIMEOUT" 25 | fi 26 | if [ -n "$ZBX_PROPERTIES_FILE" ]; then 27 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.propertiesFile=$ZBX_PROPERTIES_FILE" 28 | fi 29 | 30 | tcp_timeout=${ZBX_TIMEOUT:=3}000 31 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dsun.rmi.transport.tcp.responseTimeout=$tcp_timeout" 32 | 33 | COMMAND_LINE="$JAVA $JAVA_OPTIONS -classpath $CLASSPATH $ZABBIX_OPTIONS com.zabbix.gateway.JavaGateway" 34 | 35 | exec $COMMAND_LINE 36 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/centos/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o pipefail 4 | 5 | set +e 6 | 7 | # Script trace mode 8 | if [ "${DEBUG_MODE,,}" == "true" ]; then 9 | set -o xtrace 10 | fi 11 | 12 | prepare_java_gateway_config() { 13 | echo "** Preparing Zabbix Java Gateway log configuration file" 14 | 15 | ZBX_GATEWAY_CONFIG=$ZABBIX_CONF_DIR/zabbix_java_gateway_logback.xml 16 | 17 | : ${ZBX_DEBUGLEVEL:="info"} 18 | 19 | echo "Updating $ZBX_GATEWAY_CONFIG 'DebugLevel' parameter: '${ZBX_DEBUGLEVEL}'... updated" 20 | sed -i -e "/^.*/" "$ZBX_GATEWAY_CONFIG" 21 | } 22 | 23 | prepare_java_gateway() { 24 | echo "** Preparing Zabbix Java Gateway" 25 | 26 | prepare_java_gateway_config 27 | } 28 | 29 | ################################################# 30 | 31 | if [ "$1" == '/usr/sbin/zabbix_java_gateway' ]; then 32 | prepare_java_gateway 33 | fi 34 | 35 | exec "$@" 36 | 37 | 38 | ################################################# 39 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/ol/conf/usr/sbin/zabbix_java_gateway: -------------------------------------------------------------------------------- 1 | 2 | JAVA=${JAVA:-"/usr/bin/java"} 3 | 4 | JAVA_OPTIONS="-server $JAVA_OPTIONS" 5 | JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=$ZABBIX_CONF_DIR/zabbix_java_gateway_logback.xml" 6 | 7 | cd /usr/sbin/zabbix_java 8 | 9 | CLASSPATH="lib" 10 | for jar in `find lib bin ext_lib -name "*.jar"`; do 11 | CLASSPATH="$CLASSPATH:$jar" 12 | done 13 | 14 | if [ -n "$ZBX_LISTEN_IP" ]; then 15 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenIP=$ZBX_LISTEN_IP" 16 | fi 17 | if [ -n "$ZBX_LISTEN_PORT" ]; then 18 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenPort=$ZBX_LISTEN_PORT" 19 | fi 20 | if [ -n "$ZBX_START_POLLERS" ]; then 21 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.startPollers=$ZBX_START_POLLERS" 22 | fi 23 | if [ -n "$ZBX_TIMEOUT" ]; then 24 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.timeout=$ZBX_TIMEOUT" 25 | fi 26 | if [ -n "$ZBX_PROPERTIES_FILE" ]; then 27 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.propertiesFile=$ZBX_PROPERTIES_FILE" 28 | fi 29 | 30 | tcp_timeout=${ZBX_TIMEOUT:=3}000 31 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dsun.rmi.transport.tcp.responseTimeout=$tcp_timeout" 32 | 33 | COMMAND_LINE="$JAVA $JAVA_OPTIONS -classpath $CLASSPATH $ZABBIX_OPTIONS com.zabbix.gateway.JavaGateway" 34 | 35 | exec $COMMAND_LINE 36 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/ol/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o pipefail 4 | 5 | set +e 6 | 7 | # Script trace mode 8 | if [ "${DEBUG_MODE,,}" == "true" ]; then 9 | set -o xtrace 10 | fi 11 | 12 | prepare_java_gateway_config() { 13 | echo "** Preparing Zabbix Java Gateway log configuration file" 14 | 15 | ZBX_GATEWAY_CONFIG=$ZABBIX_CONF_DIR/zabbix_java_gateway_logback.xml 16 | 17 | : ${ZBX_DEBUGLEVEL:="info"} 18 | 19 | echo "Updating $ZBX_GATEWAY_CONFIG 'DebugLevel' parameter: '${ZBX_DEBUGLEVEL}'... updated" 20 | sed -i -e "/^.*/" "$ZBX_GATEWAY_CONFIG" 21 | } 22 | 23 | prepare_java_gateway() { 24 | echo "** Preparing Zabbix Java Gateway" 25 | 26 | prepare_java_gateway_config 27 | } 28 | 29 | ################################################# 30 | 31 | if [ "$1" == '/usr/sbin/zabbix_java_gateway' ]; then 32 | prepare_java_gateway 33 | fi 34 | 35 | exec "$@" 36 | 37 | 38 | ################################################# 39 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/rhel/conf/usr/sbin/zabbix_java_gateway: -------------------------------------------------------------------------------- 1 | 2 | JAVA=${JAVA:-"/usr/bin/java"} 3 | 4 | JAVA_OPTIONS="-server $JAVA_OPTIONS" 5 | JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=$ZABBIX_CONF_DIR/zabbix_java_gateway_logback.xml" 6 | 7 | cd /usr/sbin/zabbix_java 8 | 9 | CLASSPATH="lib" 10 | for jar in `find lib bin ext_lib -name "*.jar"`; do 11 | CLASSPATH="$CLASSPATH:$jar" 12 | done 13 | 14 | if [ -n "$ZBX_LISTEN_IP" ]; then 15 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenIP=$ZBX_LISTEN_IP" 16 | fi 17 | if [ -n "$ZBX_LISTEN_PORT" ]; then 18 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenPort=$ZBX_LISTEN_PORT" 19 | fi 20 | if [ -n "$ZBX_START_POLLERS" ]; then 21 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.startPollers=$ZBX_START_POLLERS" 22 | fi 23 | if [ -n "$ZBX_TIMEOUT" ]; then 24 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.timeout=$ZBX_TIMEOUT" 25 | fi 26 | if [ -n "$ZBX_PROPERTIES_FILE" ]; then 27 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.propertiesFile=$ZBX_PROPERTIES_FILE" 28 | fi 29 | 30 | tcp_timeout=${ZBX_TIMEOUT:=3}000 31 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dsun.rmi.transport.tcp.responseTimeout=$tcp_timeout" 32 | 33 | COMMAND_LINE="$JAVA $JAVA_OPTIONS -classpath $CLASSPATH $ZABBIX_OPTIONS com.zabbix.gateway.JavaGateway" 34 | 35 | exec $COMMAND_LINE 36 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/rhel/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o pipefail 4 | 5 | set +e 6 | 7 | # Script trace mode 8 | if [ "${DEBUG_MODE,,}" == "true" ]; then 9 | set -o xtrace 10 | fi 11 | 12 | prepare_java_gateway_config() { 13 | echo "** Preparing Zabbix Java Gateway log configuration file" 14 | 15 | ZBX_GATEWAY_CONFIG=$ZABBIX_CONF_DIR/zabbix_java_gateway_logback.xml 16 | 17 | : ${ZBX_DEBUGLEVEL:="info"} 18 | 19 | echo "Updating $ZBX_GATEWAY_CONFIG 'DebugLevel' parameter: '${ZBX_DEBUGLEVEL}'... updated" 20 | sed -i -e "/^.*/" "$ZBX_GATEWAY_CONFIG" 21 | } 22 | 23 | prepare_java_gateway() { 24 | echo "** Preparing Zabbix Java Gateway" 25 | 26 | prepare_java_gateway_config 27 | } 28 | 29 | ################################################# 30 | 31 | if [ "$1" == '/usr/sbin/zabbix_java_gateway' ]; then 32 | prepare_java_gateway 33 | fi 34 | 35 | exec "$@" 36 | 37 | 38 | ################################################# 39 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/ubuntu/conf/usr/sbin/zabbix_java_gateway: -------------------------------------------------------------------------------- 1 | 2 | JAVA=${JAVA:-"/usr/bin/java"} 3 | 4 | JAVA_OPTIONS="-server $JAVA_OPTIONS" 5 | JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=$ZABBIX_CONF_DIR/zabbix_java_gateway_logback.xml" 6 | 7 | cd /usr/sbin/zabbix_java 8 | 9 | CLASSPATH="lib" 10 | for jar in `find lib bin ext_lib -name "*.jar"`; do 11 | CLASSPATH="$CLASSPATH:$jar" 12 | done 13 | 14 | if [ -n "$ZBX_LISTEN_IP" ]; then 15 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenIP=$ZBX_LISTEN_IP" 16 | fi 17 | if [ -n "$ZBX_LISTEN_PORT" ]; then 18 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenPort=$ZBX_LISTEN_PORT" 19 | fi 20 | if [ -n "$ZBX_START_POLLERS" ]; then 21 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.startPollers=$ZBX_START_POLLERS" 22 | fi 23 | if [ -n "$ZBX_TIMEOUT" ]; then 24 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.timeout=$ZBX_TIMEOUT" 25 | fi 26 | if [ -n "$ZBX_PROPERTIES_FILE" ]; then 27 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.propertiesFile=$ZBX_PROPERTIES_FILE" 28 | fi 29 | 30 | tcp_timeout=${ZBX_TIMEOUT:=3}000 31 | ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dsun.rmi.transport.tcp.responseTimeout=$tcp_timeout" 32 | 33 | COMMAND_LINE="$JAVA $JAVA_OPTIONS -classpath $CLASSPATH $ZABBIX_OPTIONS com.zabbix.gateway.JavaGateway" 34 | 35 | exec $COMMAND_LINE 36 | -------------------------------------------------------------------------------- /Dockerfiles/java-gateway/ubuntu/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o pipefail 4 | 5 | set +e 6 | 7 | # Script trace mode 8 | if [ "${DEBUG_MODE,,}" == "true" ]; then 9 | set -o xtrace 10 | fi 11 | 12 | prepare_java_gateway_config() { 13 | echo "** Preparing Zabbix Java Gateway log configuration file" 14 | 15 | ZBX_GATEWAY_CONFIG=$ZABBIX_CONF_DIR/zabbix_java_gateway_logback.xml 16 | 17 | : ${ZBX_DEBUGLEVEL:="info"} 18 | 19 | echo "Updating $ZBX_GATEWAY_CONFIG 'DebugLevel' parameter: '${ZBX_DEBUGLEVEL}'... updated" 20 | sed -i -e "/^.*/" "$ZBX_GATEWAY_CONFIG" 21 | } 22 | 23 | prepare_java_gateway() { 24 | echo "** Preparing Zabbix Java Gateway" 25 | 26 | prepare_java_gateway_config 27 | } 28 | 29 | ################################################# 30 | 31 | if [ "$1" == '/usr/sbin/zabbix_java_gateway' ]; then 32 | prepare_java_gateway 33 | fi 34 | 35 | exec "$@" 36 | 37 | 38 | ################################################# 39 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/proxy-mysql/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/proxy-sqlite3/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/server-mysql/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/server-pgsql/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/alpine/conf/etc/logrotate.d/zabbix_snmptraps: -------------------------------------------------------------------------------- 1 | # https://support.zabbix.com/browse/ZBX-9858 2 | /var/lib/zabbix/snmptraps/snmptraps.log { 3 | missingok 4 | daily 5 | rotate 0 6 | minsize 50M 7 | notifempty 8 | su zabbix zabbix 9 | } 10 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/alpine/conf/etc/snmp/snmptrapd.conf: -------------------------------------------------------------------------------- 1 | # A list of listening addresses, on which to receive incoming SNMP notifications 2 | snmpTrapdAddr udp:1162 3 | snmpTrapdAddr udp6:1162 4 | 5 | # Do not fork from the calling shell 6 | doNotFork yes 7 | # File in which to store the process ID of the notification receiver 8 | pidFile /tmp/snmptrapd.pid 9 | # Disables support for the NOTIFICATION-LOG-MIB 10 | #doNotRetainNotificationLogs yes 11 | 12 | authCommunity log,execute,net public 13 | disableAuthorization yes 14 | ignoreAuthFailure yes 15 | 16 | # Specify the format used for trap handle location 17 | #format execute %B\n%b\n%V\n%v\n 18 | 19 | # o - Log messages to the standard output stream. 20 | # logOption o 21 | 22 | # S - Display the name of the MIB, as well as the object name (This is the default OID output format) 23 | # T - If values are printed as Hex strings, display a printable version as well 24 | # t - Display TimeTicks values as raw numbers 25 | # e - Removes the symbolic labels from enumeration values 26 | # 27 | outputOption STte 28 | 29 | # Invokes the specified program (with the given arguments) whenever a notification 30 | # is received that matches the OID token 31 | traphandle default /bin/bash /usr/sbin/zabbix_trap_handler.sh 32 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/centos/conf/etc/logrotate.d/zabbix_snmptraps: -------------------------------------------------------------------------------- 1 | # https://support.zabbix.com/browse/ZBX-9858 2 | /var/lib/zabbix/snmptraps/snmptraps.log { 3 | missingok 4 | daily 5 | rotate 0 6 | minsize 50M 7 | notifempty 8 | su zabbix zabbix 9 | } 10 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/centos/conf/etc/snmp/snmptrapd.conf: -------------------------------------------------------------------------------- 1 | # A list of listening addresses, on which to receive incoming SNMP notifications 2 | snmpTrapdAddr udp:1162 3 | snmpTrapdAddr udp6:1162 4 | 5 | # Do not fork from the calling shell 6 | doNotFork yes 7 | # File in which to store the process ID of the notification receiver 8 | pidFile /tmp/snmptrapd.pid 9 | # Disables support for the NOTIFICATION-LOG-MIB 10 | #doNotRetainNotificationLogs yes 11 | 12 | authCommunity log,execute,net public 13 | disableAuthorization yes 14 | ignoreAuthFailure yes 15 | 16 | # Specify the format used for trap handle location 17 | #format execute %B\n%b\n%V\n%v\n 18 | 19 | # o - Log messages to the standard output stream. 20 | # logOption o 21 | 22 | # S - Display the name of the MIB, as well as the object name (This is the default OID output format) 23 | # T - If values are printed as Hex strings, display a printable version as well 24 | # t - Display TimeTicks values as raw numbers 25 | # e - Removes the symbolic labels from enumeration values 26 | # 27 | outputOption STte 28 | 29 | # Invokes the specified program (with the given arguments) whenever a notification 30 | # is received that matches the OID token 31 | traphandle default /bin/bash /usr/sbin/zabbix_trap_handler.sh 32 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/ol/conf/etc/logrotate.d/zabbix_snmptraps: -------------------------------------------------------------------------------- 1 | # https://support.zabbix.com/browse/ZBX-9858 2 | /var/lib/zabbix/snmptraps/snmptraps.log { 3 | missingok 4 | daily 5 | rotate 0 6 | minsize 50M 7 | notifempty 8 | su zabbix zabbix 9 | } 10 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/ol/conf/etc/snmp/snmptrapd.conf: -------------------------------------------------------------------------------- 1 | # A list of listening addresses, on which to receive incoming SNMP notifications 2 | snmpTrapdAddr udp:1162 3 | snmpTrapdAddr udp6:1162 4 | 5 | # Do not fork from the calling shell 6 | doNotFork yes 7 | # File in which to store the process ID of the notification receiver 8 | pidFile /tmp/snmptrapd.pid 9 | # Disables support for the NOTIFICATION-LOG-MIB 10 | #doNotRetainNotificationLogs yes 11 | 12 | authCommunity log,execute,net public 13 | disableAuthorization yes 14 | ignoreAuthFailure yes 15 | 16 | # Specify the format used for trap handle location 17 | #format execute %B\n%b\n%V\n%v\n 18 | 19 | # o - Log messages to the standard output stream. 20 | # logOption o 21 | 22 | # S - Display the name of the MIB, as well as the object name (This is the default OID output format) 23 | # T - If values are printed as Hex strings, display a printable version as well 24 | # t - Display TimeTicks values as raw numbers 25 | # e - Removes the symbolic labels from enumeration values 26 | # 27 | outputOption STte 28 | 29 | # Invokes the specified program (with the given arguments) whenever a notification 30 | # is received that matches the OID token 31 | traphandle default /bin/bash /usr/sbin/zabbix_trap_handler.sh 32 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/rhel/conf/etc/logrotate.d/zabbix_snmptraps: -------------------------------------------------------------------------------- 1 | # https://support.zabbix.com/browse/ZBX-9858 2 | /var/lib/zabbix/snmptraps/snmptraps.log { 3 | missingok 4 | daily 5 | rotate 0 6 | minsize 50M 7 | notifempty 8 | su zabbix zabbix 9 | } 10 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/rhel/conf/etc/snmp/snmptrapd.conf: -------------------------------------------------------------------------------- 1 | # A list of listening addresses, on which to receive incoming SNMP notifications 2 | snmpTrapdAddr udp:1162 3 | snmpTrapdAddr udp6:1162 4 | 5 | # Do not fork from the calling shell 6 | doNotFork yes 7 | # File in which to store the process ID of the notification receiver 8 | pidFile /tmp/snmptrapd.pid 9 | # Disables support for the NOTIFICATION-LOG-MIB 10 | #doNotRetainNotificationLogs yes 11 | 12 | authCommunity log,execute,net public 13 | disableAuthorization yes 14 | ignoreAuthFailure yes 15 | 16 | # Specify the format used for trap handle location 17 | #format execute %B\n%b\n%V\n%v\n 18 | 19 | # o - Log messages to the standard output stream. 20 | # logOption o 21 | 22 | # S - Display the name of the MIB, as well as the object name (This is the default OID output format) 23 | # T - If values are printed as Hex strings, display a printable version as well 24 | # t - Display TimeTicks values as raw numbers 25 | # e - Removes the symbolic labels from enumeration values 26 | # 27 | outputOption STte 28 | 29 | # Invokes the specified program (with the given arguments) whenever a notification 30 | # is received that matches the OID token 31 | traphandle default /bin/bash /usr/sbin/zabbix_trap_handler.sh 32 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/ubuntu/conf/etc/logrotate.d/zabbix_snmptraps: -------------------------------------------------------------------------------- 1 | # https://support.zabbix.com/browse/ZBX-9858 2 | /var/lib/zabbix/snmptraps/snmptraps.log { 3 | missingok 4 | daily 5 | rotate 0 6 | minsize 50M 7 | notifempty 8 | su zabbix zabbix 9 | } 10 | -------------------------------------------------------------------------------- /Dockerfiles/snmptraps/ubuntu/conf/etc/snmp/snmptrapd.conf: -------------------------------------------------------------------------------- 1 | # A list of listening addresses, on which to receive incoming SNMP notifications 2 | snmpTrapdAddr udp:1162 3 | snmpTrapdAddr udp6:1162 4 | 5 | # Do not fork from the calling shell 6 | doNotFork yes 7 | # File in which to store the process ID of the notification receiver 8 | pidFile /tmp/snmptrapd.pid 9 | # Disables support for the NOTIFICATION-LOG-MIB 10 | #doNotRetainNotificationLogs yes 11 | 12 | authCommunity log,execute,net public 13 | disableAuthorization yes 14 | ignoreAuthFailure yes 15 | 16 | # Specify the format used for trap handle location 17 | #format execute %B\n%b\n%V\n%v\n 18 | 19 | # o - Log messages to the standard output stream. 20 | # logOption o 21 | 22 | # S - Display the name of the MIB, as well as the object name (This is the default OID output format) 23 | # T - If values are printed as Hex strings, display a printable version as well 24 | # t - Display TimeTicks values as raw numbers 25 | # e - Removes the symbolic labels from enumeration values 26 | # 27 | outputOption STte 28 | 29 | # Invokes the specified program (with the given arguments) whenever a notification 30 | # is received that matches the OID token 31 | traphandle default /bin/bash /usr/sbin/zabbix_trap_handler.sh 32 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/alpine/conf/etc/apache2/conf.d/mime.conf: -------------------------------------------------------------------------------- 1 | 2 | TypesConfig /etc/apache2/mime.types 3 | AddType application/x-compress .Z 4 | AddType application/x-gzip .gz .tgz 5 | 6 | 7 | MIMEMagicFile /etc/apache2/magic 8 | 9 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/alpine/conf/etc/apache2/includes.conf: -------------------------------------------------------------------------------- 1 | IncludeOptional /etc/apache2/modules.conf 2 | 3 | IncludeOptional /etc/apache2/conf.d/*.conf 4 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/alpine/conf/etc/apache2/modules.conf: -------------------------------------------------------------------------------- 1 | LoadModule logio_module modules/mod_logio.so 2 | LoadModule unixd_module modules/mod_unixd.so 3 | LoadModule log_config_module modules/mod_log_config.so 4 | LoadModule auth_basic_module modules/mod_auth_basic.so 5 | LoadModule authz_core_module modules/mod_authz_core.so 6 | LoadModule authz_host_module modules/mod_authz_host.so 7 | LoadModule dir_module modules/mod_dir.so 8 | LoadModule mime_module modules/mod_mime.so 9 | LoadModule mpm_event_module modules/mod_mpm_event.so 10 | LoadModule reqtimeout_module modules/mod_reqtimeout.so 11 | LoadModule setenvif_module modules/mod_setenvif.so 12 | LoadModule status_module modules/mod_status.so 13 | 14 | LoadModule proxy_module modules/mod_proxy.so 15 | LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so 16 | LoadModule expires_module modules/mod_expires.so 17 | LoadModule headers_module modules/mod_headers.so 18 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/alpine/conf/etc/php83/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php83/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/alpine/conf/etc/php83/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | 38 | ; Set the socket equal to DB_SERVER_SOCKET set by user 39 | php_value[mysqli.default_socket] = ${DB_SERVER_SOCKET} 40 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/alpine/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:httpd] 5 | command = /usr/sbin/%(program_name)s -D FOREGROUND 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm84] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/php84/php-fpm.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/centos/conf/etc/httpd/conf.d/mime.conf: -------------------------------------------------------------------------------- 1 | 2 | TypesConfig /etc/mime.types 3 | 4 | AddType application/x-compress .Z 5 | AddType application/x-gzip .gz .tgz 6 | 7 | 8 | MIMEMagicFile conf/magic 9 | 10 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/centos/conf/etc/httpd/includes.conf: -------------------------------------------------------------------------------- 1 | IncludeOptional /etc/httpd/modules.conf 2 | 3 | IncludeOptional /etc/httpd/conf.d/*.conf 4 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/centos/conf/etc/httpd/modules.conf: -------------------------------------------------------------------------------- 1 | LoadModule logio_module modules/mod_logio.so 2 | LoadModule unixd_module modules/mod_unixd.so 3 | LoadModule log_config_module modules/mod_log_config.so 4 | LoadModule auth_basic_module modules/mod_auth_basic.so 5 | LoadModule authz_core_module modules/mod_authz_core.so 6 | LoadModule authz_host_module modules/mod_authz_host.so 7 | LoadModule dir_module modules/mod_dir.so 8 | LoadModule mime_module modules/mod_mime.so 9 | LoadModule mpm_event_module modules/mod_mpm_event.so 10 | LoadModule reqtimeout_module modules/mod_reqtimeout.so 11 | LoadModule setenvif_module modules/mod_setenvif.so 12 | LoadModule status_module modules/mod_status.so 13 | 14 | LoadModule proxy_module modules/mod_proxy.so 15 | LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so 16 | LoadModule expires_module modules/mod_expires.so 17 | LoadModule headers_module modules/mod_headers.so 18 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/centos/conf/etc/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | 9 | daemonize = no 10 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/centos/conf/etc/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | 38 | ; Set the socket equal to DB_SERVER_SOCKET set by user 39 | php_value[mysqli.default_socket] = ${DB_SERVER_SOCKET} 40 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/centos/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:httpd] 5 | command = /usr/sbin/%(program_name)s -D FOREGROUND 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/%(program_name)s.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/conf/etc/httpd/conf.d/mime.conf: -------------------------------------------------------------------------------- 1 | 2 | TypesConfig /etc/mime.types 3 | 4 | AddType application/x-compress .Z 5 | AddType application/x-gzip .gz .tgz 6 | 7 | 8 | MIMEMagicFile conf/magic 9 | 10 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/conf/etc/httpd/includes.conf: -------------------------------------------------------------------------------- 1 | IncludeOptional /etc/httpd/modules.conf 2 | 3 | IncludeOptional /etc/httpd/conf.d/*.conf 4 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/conf/etc/httpd/modules.conf: -------------------------------------------------------------------------------- 1 | LoadModule logio_module modules/mod_logio.so 2 | LoadModule unixd_module modules/mod_unixd.so 3 | LoadModule log_config_module modules/mod_log_config.so 4 | LoadModule auth_basic_module modules/mod_auth_basic.so 5 | LoadModule authz_core_module modules/mod_authz_core.so 6 | LoadModule authz_host_module modules/mod_authz_host.so 7 | LoadModule dir_module modules/mod_dir.so 8 | LoadModule mime_module modules/mod_mime.so 9 | LoadModule mpm_event_module modules/mod_mpm_event.so 10 | LoadModule reqtimeout_module modules/mod_reqtimeout.so 11 | LoadModule setenvif_module modules/mod_setenvif.so 12 | LoadModule status_module modules/mod_status.so 13 | 14 | LoadModule proxy_module modules/mod_proxy.so 15 | LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so 16 | LoadModule expires_module modules/mod_expires.so 17 | LoadModule headers_module modules/mod_headers.so 18 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/conf/etc/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | 9 | daemonize = no 10 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/conf/etc/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | 38 | ; Set the socket equal to DB_SERVER_SOCKET set by user 39 | php_value[mysqli.default_socket] = ${DB_SERVER_SOCKET} 40 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:httpd] 5 | command = /usr/sbin/%(program_name)s -D FOREGROUND 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/%(program_name)s.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-mysql/ol/conf/etc/zabbix/web/maintenance.inc.php: -------------------------------------------------------------------------------- 1 | 2 | TypesConfig /etc/apache2/mime.types 3 | AddType application/x-compress .Z 4 | AddType application/x-gzip .gz .tgz 5 | 6 | 7 | MIMEMagicFile /etc/apache2/magic 8 | 9 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/alpine/conf/etc/apache2/includes.conf: -------------------------------------------------------------------------------- 1 | IncludeOptional /etc/apache2/modules.conf 2 | 3 | IncludeOptional /etc/apache2/conf.d/*.conf 4 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/alpine/conf/etc/apache2/modules.conf: -------------------------------------------------------------------------------- 1 | LoadModule logio_module modules/mod_logio.so 2 | LoadModule unixd_module modules/mod_unixd.so 3 | LoadModule log_config_module modules/mod_log_config.so 4 | LoadModule auth_basic_module modules/mod_auth_basic.so 5 | LoadModule authz_core_module modules/mod_authz_core.so 6 | LoadModule authz_host_module modules/mod_authz_host.so 7 | LoadModule dir_module modules/mod_dir.so 8 | LoadModule mime_module modules/mod_mime.so 9 | LoadModule mpm_event_module modules/mod_mpm_event.so 10 | LoadModule reqtimeout_module modules/mod_reqtimeout.so 11 | LoadModule setenvif_module modules/mod_setenvif.so 12 | LoadModule status_module modules/mod_status.so 13 | 14 | LoadModule proxy_module modules/mod_proxy.so 15 | LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so 16 | LoadModule expires_module modules/mod_expires.so 17 | LoadModule headers_module modules/mod_headers.so 18 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/alpine/conf/etc/php83/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php83/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/alpine/conf/etc/php83/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/alpine/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:httpd] 5 | command = /usr/sbin/%(program_name)s -D FOREGROUND 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm84] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/php84/php-fpm.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/centos/conf/etc/httpd/conf.d/mime.conf: -------------------------------------------------------------------------------- 1 | 2 | TypesConfig /etc/mime.types 3 | 4 | AddType application/x-compress .Z 5 | AddType application/x-gzip .gz .tgz 6 | 7 | 8 | MIMEMagicFile conf/magic 9 | 10 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/centos/conf/etc/httpd/includes.conf: -------------------------------------------------------------------------------- 1 | IncludeOptional /etc/httpd/modules.conf 2 | 3 | IncludeOptional /etc/httpd/conf.d/*.conf 4 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/centos/conf/etc/httpd/modules.conf: -------------------------------------------------------------------------------- 1 | LoadModule logio_module modules/mod_logio.so 2 | LoadModule unixd_module modules/mod_unixd.so 3 | LoadModule log_config_module modules/mod_log_config.so 4 | LoadModule auth_basic_module modules/mod_auth_basic.so 5 | LoadModule authz_core_module modules/mod_authz_core.so 6 | LoadModule authz_host_module modules/mod_authz_host.so 7 | LoadModule dir_module modules/mod_dir.so 8 | LoadModule mime_module modules/mod_mime.so 9 | LoadModule mpm_event_module modules/mod_mpm_event.so 10 | LoadModule reqtimeout_module modules/mod_reqtimeout.so 11 | LoadModule setenvif_module modules/mod_setenvif.so 12 | LoadModule status_module modules/mod_status.so 13 | 14 | LoadModule proxy_module modules/mod_proxy.so 15 | LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so 16 | LoadModule expires_module modules/mod_expires.so 17 | LoadModule headers_module modules/mod_headers.so 18 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/centos/conf/etc/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | 9 | daemonize = no 10 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/centos/conf/etc/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/centos/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:httpd] 5 | command = /usr/sbin/%(program_name)s -D FOREGROUND 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/%(program_name)s.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ol/conf/etc/httpd/conf.d/mime.conf: -------------------------------------------------------------------------------- 1 | 2 | TypesConfig /etc/mime.types 3 | 4 | AddType application/x-compress .Z 5 | AddType application/x-gzip .gz .tgz 6 | 7 | 8 | MIMEMagicFile conf/magic 9 | 10 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ol/conf/etc/httpd/includes.conf: -------------------------------------------------------------------------------- 1 | IncludeOptional /etc/httpd/modules.conf 2 | 3 | IncludeOptional /etc/httpd/conf.d/*.conf 4 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ol/conf/etc/httpd/modules.conf: -------------------------------------------------------------------------------- 1 | LoadModule logio_module modules/mod_logio.so 2 | LoadModule unixd_module modules/mod_unixd.so 3 | LoadModule log_config_module modules/mod_log_config.so 4 | LoadModule auth_basic_module modules/mod_auth_basic.so 5 | LoadModule authz_core_module modules/mod_authz_core.so 6 | LoadModule authz_host_module modules/mod_authz_host.so 7 | LoadModule dir_module modules/mod_dir.so 8 | LoadModule mime_module modules/mod_mime.so 9 | LoadModule mpm_event_module modules/mod_mpm_event.so 10 | LoadModule reqtimeout_module modules/mod_reqtimeout.so 11 | LoadModule setenvif_module modules/mod_setenvif.so 12 | LoadModule status_module modules/mod_status.so 13 | 14 | LoadModule proxy_module modules/mod_proxy.so 15 | LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so 16 | LoadModule expires_module modules/mod_expires.so 17 | LoadModule headers_module modules/mod_headers.so 18 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ol/conf/etc/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | 9 | daemonize = no 10 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ol/conf/etc/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ol/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:httpd] 5 | command = /usr/sbin/%(program_name)s -D FOREGROUND 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/%(program_name)s.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ubuntu/conf/etc/apache2/includes.conf: -------------------------------------------------------------------------------- 1 | IncludeOptional /etc/apache2/modules.conf 2 | 3 | IncludeOptional /etc/apache2/mods-enabled/mime.conf 4 | 5 | IncludeOptional /etc/apache2/sites-enabled/*.conf 6 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ubuntu/conf/etc/apache2/modules.conf: -------------------------------------------------------------------------------- 1 | LoadModule auth_basic_module /usr/lib/apache2/modules/mod_auth_basic.so 2 | LoadModule authz_core_module /usr/lib/apache2/modules/mod_authz_core.so 3 | LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so 4 | LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so 5 | LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so 6 | LoadModule mpm_event_module /usr/lib/apache2/modules/mod_mpm_event.so 7 | LoadModule reqtimeout_module /usr/lib/apache2/modules/mod_reqtimeout.so 8 | LoadModule setenvif_module /usr/lib/apache2/modules/mod_setenvif.so 9 | LoadModule status_module /usr/lib/apache2/modules/mod_status.so 10 | 11 | LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so 12 | LoadModule proxy_fcgi_module /usr/lib/apache2/modules/mod_proxy_fcgi.so 13 | LoadModule expires_module /usr/lib/apache2/modules/mod_expires.so 14 | LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so 15 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ubuntu/conf/etc/php/8.3/fpm/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php/8.3/fpm/pool.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ubuntu/conf/etc/php/8.3/fpm/pool.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ubuntu/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:apache2] 5 | command = /usr/sbin/%(program_name)s -D FOREGROUND 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm8.3] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/php/8.3/fpm/php-fpm.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-apache-pgsql/ubuntu/conf/etc/zabbix/apache_envvars: -------------------------------------------------------------------------------- 1 | export APACHE_RUN_USER=$(id -n -u) 2 | export APACHE_RUN_GROUP=www-data 3 | export APACHE_PID_FILE=/tmp/apache2.pid 4 | export APACHE_RUN_DIR=/tmp/apache2 5 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/alpine/conf/etc/php83/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php83/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/alpine/conf/etc/php83/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | 38 | ; Set the socket equal to DB_SERVER_SOCKET set by user 39 | php_value[mysqli.default_socket] = ${DB_SERVER_SOCKET} 40 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/alpine/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:nginx] 5 | command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm84] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/php84/php-fpm.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/centos/conf/etc/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/centos/conf/etc/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | 38 | ; Set the socket equal to DB_SERVER_SOCKET set by user 39 | php_value[mysqli.default_socket] = ${DB_SERVER_SOCKET} 40 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/centos/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:nginx] 5 | command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/%(program_name)s.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ol/conf/etc/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ol/conf/etc/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | 38 | ; Set the socket equal to DB_SERVER_SOCKET set by user 39 | php_value[mysqli.default_socket] = ${DB_SERVER_SOCKET} 40 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ol/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:nginx] 5 | command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/%(program_name)s.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/rhel/conf/etc/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/rhel/conf/etc/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | 38 | ; Set the socket equal to DB_SERVER_SOCKET set by user 39 | php_value[mysqli.default_socket] = ${DB_SERVER_SOCKET} 40 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/rhel/conf/etc/supervisor/conf.d/supervisord_web_nginx.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:nginx] 5 | command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/%(program_name)s.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/rhel/conf/etc/yum.repo.d/nginx.repo: -------------------------------------------------------------------------------- 1 | [nginx-stable] 2 | name=nginx stable repo 3 | baseurl=https://nginx.org/packages/rhel/$releasever/$basearch/ 4 | gpgcheck=1 5 | enabled=0 6 | gpgkey=https://nginx.org/keys/nginx_signing.key 7 | module_hotfixes=true 8 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ubuntu/conf/etc/php/8.3/fpm/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php/8.3/fpm/pool.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ubuntu/conf/etc/php/8.3/fpm/pool.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | 38 | ; Set the socket equal to DB_SERVER_SOCKET set by user 39 | php_value[mysqli.default_socket] = ${DB_SERVER_SOCKET} 40 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-mysql/ubuntu/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:nginx] 5 | command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm8.3] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/php/8.3/fpm/php-fpm.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/alpine/conf/etc/php83/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php83/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/alpine/conf/etc/php83/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/alpine/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:nginx] 5 | command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm84] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/php84/php-fpm.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/centos/conf/etc/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/centos/conf/etc/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/centos/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:nginx] 5 | command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/%(program_name)s.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ol/conf/etc/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ol/conf/etc/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ol/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:nginx] 5 | command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/%(program_name)s.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/rhel/conf/etc/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php-fpm.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/rhel/conf/etc/php-fpm.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/rhel/conf/etc/supervisor/conf.d/supervisord_web_nginx.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:nginx] 5 | command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/%(program_name)s.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/rhel/conf/etc/yum.repo.d/nginx.repo: -------------------------------------------------------------------------------- 1 | [nginx-stable] 2 | name=nginx stable repo 3 | baseurl=https://nginx.org/packages/rhel/$releasever/$basearch/ 4 | gpgcheck=1 5 | enabled=0 6 | gpgkey=https://nginx.org/keys/nginx_signing.key 7 | module_hotfixes=true 8 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ubuntu/conf/etc/php/8.3/fpm/php-fpm.conf: -------------------------------------------------------------------------------- 1 | include=/etc/php/8.3/fpm/pool.d/*.conf 2 | 3 | [global] 4 | 5 | pid = /tmp/php-fpm.pid 6 | 7 | error_log = /dev/fd/2 8 | log_level = notice 9 | 10 | daemonize = no 11 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ubuntu/conf/etc/php/8.3/fpm/pool.d/zabbix.conf: -------------------------------------------------------------------------------- 1 | [zabbix] 2 | 3 | ; https://www.php.net/manual/en/security.hiding.php 4 | php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO} 5 | 6 | listen = /tmp/php-fpm.sock 7 | 8 | clear_env = no 9 | 10 | pm = ${PHP_FPM_PM} 11 | pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN} 12 | pm.start_servers = ${PHP_FPM_PM_START_SERVERS} 13 | pm.min_spare_servers = ${PHP_FPM_PM_MIN_SPARE_SERVERS} 14 | pm.max_spare_servers = ${PHP_FPM_PM_MAX_SPARE_SERVERS} 15 | pm.max_requests = ${PHP_FPM_PM_MAX_REQUESTS} 16 | 17 | slowlog = /dev/fd/1 18 | 19 | php_admin_value[error_log] = /dev/fd/2 20 | php_admin_flag[log_errors] = on 21 | catch_workers_output = yes 22 | 23 | php_value[session.save_handler] = files 24 | php_value[session.save_path] = /var/lib/php/session 25 | 26 | php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME} 27 | php_value[memory_limit] = ${ZBX_MEMORYLIMIT} 28 | php_value[post_max_size] = ${ZBX_POSTMAXSIZE} 29 | php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE} 30 | php_value[max_input_time] = ${ZBX_MAXINPUTTIME} 31 | php_value[max_input_vars] = 10000 32 | php_value[date.timezone] = ${PHP_TZ} 33 | 34 | ; PHP-FPM monitoring 35 | pm.status_path = /status 36 | ping.path = /ping 37 | -------------------------------------------------------------------------------- /Dockerfiles/web-nginx-pgsql/ubuntu/conf/etc/supervisor/conf.d/supervisord_zabbix.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon = true 3 | 4 | [program:nginx] 5 | command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf 6 | auto_start = true 7 | autorestart = true 8 | 9 | startsecs=2 10 | startretries=3 11 | stopsignal=TERM 12 | stopwaitsecs=2 13 | 14 | redirect_stderr=true 15 | stdout_logfile = /dev/stdout 16 | stdout_logfile_maxbytes = 0 17 | 18 | [program:php-fpm8.3] 19 | command = /usr/sbin/%(program_name)s -F -y /etc/php/8.3/fpm/php-fpm.conf 20 | auto_start = true 21 | autorestart = true 22 | 23 | startsecs=2 24 | startretries=3 25 | stopsignal=TERM 26 | stopwaitsecs=2 27 | 28 | redirect_stderr=true 29 | stdout_logfile = /dev/stdout 30 | stdout_logfile_maxbytes = 0 31 | -------------------------------------------------------------------------------- /Dockerfiles/web-service/alpine/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-service/alpine/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-service/alpine/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-service/centos/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-service/centos/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-service/centos/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-service/ol/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-service/ol/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-service/ol/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-service/ol/conf/etc/yum.repos.d/oracle-epel-ol9.repo: -------------------------------------------------------------------------------- 1 | [ol9_developer_EPEL] 2 | name=Oracle Linux $releasever EPEL Packages for Development ($basearch) 3 | baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/ 4 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 5 | gpgcheck=1 6 | enabled=0 7 | -------------------------------------------------------------------------------- /Dockerfiles/web-service/rhel/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-service/rhel/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-service/ubuntu/.dockerignore: -------------------------------------------------------------------------------- 1 | build.sh 2 | -------------------------------------------------------------------------------- /Dockerfiles/web-service/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /Dockerfiles/web-service/ubuntu/build.sh: -------------------------------------------------------------------------------- 1 | ../../../build.sh -------------------------------------------------------------------------------- /Dockerfiles/web-service/ubuntu/conf/etc/apt/preferences.d/chromium.pref: -------------------------------------------------------------------------------- 1 | # Note: 2 blank lines are required between entries 2 | Package: * 3 | Pin: release a=focal 4 | Pin-Priority: 500 5 | 6 | Package: * 7 | Pin: origin "ftp.debian.org" 8 | Pin-Priority: 300 9 | 10 | # Pattern includes 'chromium', 'chromium-browser' and similarly 11 | # named dependencies: 12 | Package: chromium* 13 | Pin: origin "ftp.debian.org" 14 | Pin-Priority: 700 15 | -------------------------------------------------------------------------------- /compose.yaml: -------------------------------------------------------------------------------- 1 | docker-compose_v3_alpine_mysql_latest.yaml -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd.conf: -------------------------------------------------------------------------------- 1 | # This is a configuration file for Zabbix agent daemon (Unix) 2 | # To get more information about Zabbix, visit https://www.zabbix.com 3 | 4 | ### Option: Include 5 | # You may include individual files or all files in a directory in the configuration file. 6 | # Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time. 7 | # 8 | # Mandatory: no 9 | # Default: 10 | # Include= 11 | 12 | # Include=/usr/local/etc/zabbix_agentd.userparams.conf 13 | # Include=/usr/local/etc/zabbix_agentd.conf.d/ 14 | # Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf 15 | 16 | Include=/etc/zabbix/zabbix_agentd_active_checks.conf 17 | Include=/etc/zabbix/zabbix_agentd_aliases.conf 18 | Include=/etc/zabbix/zabbix_agentd_locations.conf 19 | Include=/etc/zabbix/zabbix_agentd_logging.conf 20 | Include=/etc/zabbix/zabbix_agentd_modules.conf 21 | Include=/etc/zabbix/zabbix_agentd_network.conf 22 | Include=/etc/zabbix/zabbix_agentd_passive_checks.conf 23 | Include=/etc/zabbix/zabbix_agentd_security.conf 24 | Include=/etc/zabbix/zabbix_agentd_timeouts.conf 25 | Include=/etc/zabbix/zabbix_agentd_tls.conf 26 | Include=/etc/zabbix/zabbix_agentd_user_parameters.conf 27 | 28 | Include=/etc/zabbix/zabbix_agentd.d/*.conf 29 | -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd_aliases.conf: -------------------------------------------------------------------------------- 1 | ### Option: Alias 2 | # Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one. 3 | # Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed. 4 | # Different Alias keys may reference the same item key. 5 | # For example, to retrieve the ID of user 'zabbix': 6 | # Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1] 7 | # Now shorthand key zabbix.userid may be used to retrieve data. 8 | # Aliases can be used in HostMetadataItem but not in HostnameItem parameters. 9 | # 10 | # Mandatory: no 11 | # Range: 12 | # Default: 13 | -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd_item_keys.conf: -------------------------------------------------------------------------------- 1 | ### Option: AllowKey 2 | # Allow execution of item keys matching pattern. 3 | # Multiple keys matching rules may be defined in combination with DenyKey. 4 | # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments. 5 | # Parameters are processed one by one according their appearance order. 6 | # If no AllowKey or DenyKey rules defined, all keys are allowed. 7 | # 8 | # Mandatory: no 9 | 10 | ### Option: DenyKey 11 | # Deny execution of items keys matching pattern. 12 | # Multiple keys matching rules may be defined in combination with AllowKey. 13 | # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments. 14 | # Parameters are processed one by one according their appearance order. 15 | # If no AllowKey or DenyKey rules defined, all keys are allowed. 16 | # Unless another system.run[*] rule is specified DenyKey=system.run[*] is added by default. 17 | # 18 | # Mandatory: no 19 | # Default: 20 | # DenyKey=system.run[*] 21 | -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd_locations.conf: -------------------------------------------------------------------------------- 1 | ### Option: PidFile 2 | # Name of PID file. 3 | # 4 | # Mandatory: no 5 | # Default: 6 | # PidFile=/tmp/zabbix_agentd.pid 7 | 8 | PidFile=/tmp/zabbix_agentd.pid 9 | -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd_logging.conf: -------------------------------------------------------------------------------- 1 | ### Option: LogType 2 | # Specifies where log messages are written to: 3 | # system - syslog 4 | # file - file specified with LogFile parameter 5 | # console - standard output 6 | # 7 | # Mandatory: no 8 | # Default: 9 | # LogType=file 10 | 11 | LogType=console 12 | 13 | ### Option: DebugLevel 14 | # Specifies debug level: 15 | # 0 - basic information about starting and stopping of Zabbix processes 16 | # 1 - critical information 17 | # 2 - error information 18 | # 3 - warnings 19 | # 4 - for debugging (produces lots of information) 20 | # 5 - extended debugging (produces even more information) 21 | # 22 | # Mandatory: no 23 | # Range: 0-5 24 | # Default: 25 | # DebugLevel=3 26 | 27 | DebugLevel=${ZBX_DEBUGLEVEL} 28 | 29 | ### Option: LogRemoteCommands 30 | # Enable logging of executed shell commands as warnings. 31 | # 0 - disabled 32 | # 1 - enabled 33 | # 34 | # Mandatory: no 35 | # Default: 36 | # LogRemoteCommands=0 37 | 38 | LogRemoteCommands=${ZBX_LOGREMOTECOMMANDS} 39 | -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd_modules.conf: -------------------------------------------------------------------------------- 1 | ####### LOADABLE MODULES ####### 2 | 3 | ### Option: LoadModulePath 4 | # Full path to location of agent modules. 5 | # Default depends on compilation options. 6 | # To see the default path run command "zabbix_agentd --help". 7 | # 8 | # Mandatory: no 9 | # Default: 10 | # LoadModulePath=${libdir}/modules 11 | 12 | LoadModulePath=${ZBX_LOADMODULEPATH} 13 | 14 | ### Option: LoadModule 15 | # Module to load at agent startup. Modules are used to extend functionality of the agent. 16 | # Formats: 17 | # LoadModule= 18 | # LoadModule= 19 | # LoadModule= 20 | # Either the module must be located in directory specified by LoadModulePath or the path must precede the module name. 21 | # If the preceding path is absolute (starts with '/') then LoadModulePath is ignored. 22 | # It is allowed to include multiple LoadModule parameters. 23 | # 24 | # Mandatory: no 25 | # Default: 26 | # LoadModule= 27 | -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd_network.conf: -------------------------------------------------------------------------------- 1 | ### Option: ListenPort 2 | # Agent will listen on this port for connections from the server. 3 | # 4 | # Mandatory: no 5 | # Range: 1024-32767 6 | # Default: 7 | # ListenPort=10050 8 | 9 | ListenPort=${ZBX_LISTENPORT} 10 | 11 | ### Option: ListenIP 12 | # List of comma delimited IP addresses that the agent should listen on. 13 | # First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks. 14 | # 15 | # Mandatory: no 16 | # Default: 17 | # ListenIP=0.0.0.0 18 | 19 | ListenIP=${ZBX_LISTENIP} 20 | 21 | ### Option: SourceIP 22 | # Source IP address for outgoing connections. 23 | # 24 | # Mandatory: no 25 | # Default: 26 | # SourceIP= 27 | 28 | SourceIP=${ZBX_SOURCEIP} 29 | 30 | ####### For advanced users - TCP-related fine-tuning parameters ####### 31 | 32 | ## Option: ListenBacklog 33 | # The maximum number of pending connections in the queue. This parameter is passed to 34 | # listen() function as argument 'backlog' (see "man listen"). 35 | # 36 | # Mandatory: no 37 | # Range: 0 - INT_MAX (depends on system, too large values may be silently truncated to implementation-specified maximum) 38 | # Default: SOMAXCONN (hard-coded constant, depends on system) 39 | # ListenBacklog= 40 | 41 | ListenBacklog=${ZBX_LISTENBACKLOG} 42 | -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd_passive_checks.conf: -------------------------------------------------------------------------------- 1 | ##### Passive checks related 2 | 3 | ### Option: Server 4 | # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies. 5 | # Incoming connections will be accepted only from the hosts listed here. 6 | # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally 7 | # and '::/0' will allow any IPv4 or IPv6 address. 8 | # '0.0.0.0/0' can be used to allow any IPv4 address. 9 | # Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com 10 | # 11 | # Mandatory: yes, if StartAgents is not explicitly set to 0 12 | # Default: 13 | # Server= 14 | 15 | Server=${ZBX_PASSIVESERVERS} 16 | 17 | ### Option: StartAgents 18 | # Number of pre-forked instances of zabbix_agentd that process passive checks. 19 | # If set to 0, disables passive checks and the agent will not listen on any TCP port. 20 | # 21 | # Mandatory: no 22 | # Range: 0-100 23 | # Default: 24 | # StartAgents=10 25 | 26 | StartAgents=${ZBX_STARTAGENTS} 27 | -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd_security.conf: -------------------------------------------------------------------------------- 1 | ### Option: AllowRoot 2 | # Allow the agent to run as 'root'. If disabled and the agent is started by 'root', the agent 3 | # will try to switch to the user specified by the User configuration option instead. 4 | # Has no effect if started under a regular user. 5 | # 0 - do not allow 6 | # 1 - allow 7 | # 8 | # Mandatory: no 9 | # Default: 10 | # AllowRoot=0 11 | 12 | AllowRoot=${ZBX_ALLOWROOT} 13 | 14 | ### Option: User 15 | # Drop privileges to a specific, existing user on the system. 16 | # Only has effect if run as 'root' and AllowRoot is disabled. 17 | # 18 | # Mandatory: no 19 | # Default: 20 | # User=zabbix 21 | 22 | User=${ZBX_USER} 23 | -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd_timeouts.conf: -------------------------------------------------------------------------------- 1 | ### Option: Timeout 2 | # Specifies how long to wait (in seconds) for establishing connection and exchanging data with Zabbix proxy or server. 3 | # 4 | # Mandatory: no 5 | # Range: 1-30 6 | # Default: 7 | # Timeout=3 8 | 9 | Timeout=${ZBX_TIMEOUT} 10 | -------------------------------------------------------------------------------- /config_templates/agent/zabbix_agentd_user_parameters.conf: -------------------------------------------------------------------------------- 1 | ####### USER-DEFINED MONITORED PARAMETERS ####### 2 | 3 | ### Option: UnsafeUserParameters 4 | # Allow all characters to be passed in arguments to user-defined parameters. 5 | # The following characters are not allowed: 6 | # \ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @ 7 | # Additionally, newline characters are not allowed. 8 | # 0 - do not allow 9 | # 1 - allow 10 | # 11 | # Mandatory: no 12 | # Range: 0-1 13 | # Default: 14 | # UnsafeUserParameters=0 15 | 16 | UnsafeUserParameters=${ZBX_UNSAFEUSERPARAMETERS} 17 | 18 | ### Option: UserParameter 19 | # User-defined parameter to monitor. There can be several user-defined parameters. 20 | # Format: UserParameter=, 21 | # See 'zabbix_agentd' directory for examples. 22 | # 23 | # Mandatory: no 24 | # Default: 25 | # UserParameter= 26 | 27 | ### Option: UserParameterDir 28 | # Directory to execute UserParameter commands from. Only one entry is allowed. 29 | # When executing UserParameter commands the agent will change the working directory to the one 30 | # specified in the UserParameterDir option. 31 | # This way UserParameter commands can be specified using the relative ./ prefix. 32 | # 33 | # Mandatory: no 34 | # Default: 35 | # UserParameterDir= 36 | 37 | UserParameterDir=${ZBX_USERPARAMETERDIR} 38 | -------------------------------------------------------------------------------- /config_templates/agent2/zabbix_agent2_aliases.conf: -------------------------------------------------------------------------------- 1 | ### Option: Alias 2 | # Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one. 3 | # Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed. 4 | # Different Alias keys may reference the same item key. 5 | # For example, to retrieve the ID of user 'zabbix': 6 | # Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1] 7 | # Now shorthand key zabbix.userid may be used to retrieve data. 8 | # Aliases can be used in HostMetadataItem but not in HostnameItem parameters. 9 | # 10 | # Mandatory: no 11 | # Range: 12 | # Default: 13 | -------------------------------------------------------------------------------- /config_templates/agent2/zabbix_agent2_item_keys.conf: -------------------------------------------------------------------------------- 1 | ### Option: AllowKey 2 | # Allow execution of item keys matching pattern. 3 | # Multiple keys matching rules may be defined in combination with DenyKey. 4 | # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments. 5 | # Parameters are processed one by one according their appearance order. 6 | # If no AllowKey or DenyKey rules defined, all keys are allowed. 7 | # 8 | # Mandatory: no 9 | 10 | ### Option: DenyKey 11 | # Deny execution of items keys matching pattern. 12 | # Multiple keys matching rules may be defined in combination with AllowKey. 13 | # Key pattern is wildcard expression, which support "*" character to match any number of any characters in certain position. It might be used in both key name and key arguments. 14 | # Parameters are processed one by one according their appearance order. 15 | # If no AllowKey or DenyKey rules defined, all keys are allowed. 16 | # Unless another system.run[*] rule is specified DenyKey=system.run[*] is added by default. 17 | # 18 | # Mandatory: no 19 | # Default: 20 | # DenyKey=system.run[*] 21 | -------------------------------------------------------------------------------- /config_templates/agent2/zabbix_agent2_locations.conf: -------------------------------------------------------------------------------- 1 | ### Option: PidFile 2 | # Name of PID file. 3 | # 4 | # Mandatory: no 5 | # Default: 6 | # PidFile=/tmp/zabbix_agent2.pid 7 | 8 | PidFile=/tmp/zabbix_agent2.pid 9 | 10 | ### Option:PluginSocket 11 | # Path to unix socket for external plugin communications. 12 | # 13 | # Mandatory: no 14 | # Default:/tmp/agent.plugin.sock 15 | # PluginSocket= 16 | 17 | PluginSocket=/tmp/agent.plugin.sock 18 | 19 | ### Option: ControlSocket 20 | # The control socket, used to send runtime commands with '-R' option. 21 | # 22 | # Mandatory: no 23 | # Default: 24 | # ControlSocket= 25 | 26 | ControlSocket=/tmp/agent.sock 27 | -------------------------------------------------------------------------------- /config_templates/agent2/zabbix_agent2_logging.conf: -------------------------------------------------------------------------------- 1 | ### Option: LogType 2 | # Specifies where log messages are written to: 3 | # system - syslog 4 | # file - file specified with LogFile parameter 5 | # console - standard output 6 | # 7 | # Mandatory: no 8 | # Default: 9 | # LogType=file 10 | 11 | LogType=console 12 | 13 | ### Option: DebugLevel 14 | # Specifies debug level: 15 | # 0 - basic information about starting and stopping of Zabbix processes 16 | # 1 - critical information 17 | # 2 - error information 18 | # 3 - warnings 19 | # 4 - for debugging (produces lots of information) 20 | # 5 - extended debugging (produces even more information) 21 | # 22 | # Mandatory: no 23 | # Range: 0-5 24 | # Default: 25 | # DebugLevel=3 26 | 27 | DebugLevel=${ZBX_DEBUGLEVEL} 28 | 29 | ### Option: Plugins.SystemRun.LogRemoteCommands 30 | # Enable logging of executed shell commands as warnings. 31 | # 0 - disabled 32 | # 1 - enabled 33 | # 34 | # Mandatory: no 35 | # Default: 36 | # Plugins.SystemRun.LogRemoteCommands=0 37 | 38 | Plugins.SystemRun.LogRemoteCommands=${ZBX_LOGREMOTECOMMANDS} 39 | -------------------------------------------------------------------------------- /config_templates/agent2/zabbix_agent2_network.conf: -------------------------------------------------------------------------------- 1 | ### Option: ListenIP 2 | # List of comma delimited IP addresses that the agent should listen on. 3 | # First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks. 4 | # 5 | # Mandatory: no 6 | # Default: 7 | # ListenIP=0.0.0.0 8 | 9 | ListenIP=${ZBX_LISTENIP} 10 | 11 | ### Option: ListenPort 12 | # Agent will listen on this port for connections from the server. 13 | # 14 | # Mandatory: no 15 | # Range: 1024-32767 16 | # Default: 17 | # ListenPort=10050 18 | 19 | ListenPort=${ZBX_LISTENPORT} 20 | 21 | ### Option: SourceIP 22 | # Source IP address for outgoing connections. 23 | # 24 | # Mandatory: no 25 | # Default: 26 | # SourceIP= 27 | 28 | SourceIP=${ZBX_SOURCEIP} 29 | 30 | ### Option: StatusPort 31 | # Agent will listen on this port for HTTP status requests. 32 | # 33 | # Mandatory: no 34 | # Range: 1024-32767 35 | # Default: 36 | # StatusPort= 37 | 38 | StatusPort=${ZBX_STATUSPORT} 39 | -------------------------------------------------------------------------------- /config_templates/agent2/zabbix_agent2_passive_checks.conf: -------------------------------------------------------------------------------- 1 | ##### Passive checks related 2 | 3 | ### Option: Server 4 | # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies. 5 | # Incoming connections will be accepted only from the hosts listed here. 6 | # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally 7 | # and '::/0' will allow any IPv4 or IPv6 address. 8 | # '0.0.0.0/0' can be used to allow any IPv4 address. 9 | # Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com 10 | # 11 | # Mandatory: yes 12 | # Default: 13 | # Server= 14 | 15 | Server=${ZBX_PASSIVESERVERS} 16 | -------------------------------------------------------------------------------- /config_templates/agent2/zabbix_agent2_timeouts.conf: -------------------------------------------------------------------------------- 1 | ### Option: Timeout 2 | # Specifies how long to wait (in seconds) for establishing connection and exchanging data with Zabbix proxy or server. 3 | # 4 | # Mandatory: no 5 | # Range: 1-30 6 | # Default: 7 | # Timeout=3 8 | 9 | Timeout=${ZBX_TIMEOUT} 10 | 11 | ### Option:PluginTimeout 12 | # Timeout for connections with external plugins. 13 | # 14 | # Mandatory: no 15 | # Range: 1-30 16 | # Default: 17 | # PluginTimeout= 18 | 19 | PluginTimeout=${ZBX_PLUGINTIMEOUT} 20 | -------------------------------------------------------------------------------- /config_templates/agent2/zabbix_agent2_user_parameters.conf: -------------------------------------------------------------------------------- 1 | ####### USER-DEFINED MONITORED PARAMETERS ####### 2 | 3 | ### Option: UnsafeUserParameters 4 | # Allow all characters to be passed in arguments to user-defined parameters. 5 | # The following characters are not allowed: 6 | # \ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @ 7 | # Additionally, newline characters are not allowed. 8 | # 0 - do not allow 9 | # 1 - allow 10 | # 11 | # Mandatory: no 12 | # Range: 0-1 13 | # Default: 14 | # UnsafeUserParameters=0 15 | 16 | UnsafeUserParameters=${ZBX_UNSAFEUSERPARAMETERS} 17 | 18 | ### Option: UserParameter 19 | # User-defined parameter to monitor. There can be several user-defined parameters. 20 | # Format: UserParameter=, 21 | # See 'zabbix_agentd' directory for examples. 22 | # 23 | # Mandatory: no 24 | # Default: 25 | # UserParameter= 26 | 27 | ### Option: UserParameterDir 28 | # Directory to execute UserParameter commands from. Only one entry is allowed. 29 | # When executing UserParameter commands the agent will change the working directory to the one 30 | # specified in the UserParameterDir option. 31 | # This way UserParameter commands can be specified using the relative ./ prefix. 32 | # 33 | # Mandatory: no 34 | # Default: 35 | # UserParameterDir= 36 | 37 | UserParameterDir=${ZBX_USERPARAMETERDIR} 38 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_cache.conf: -------------------------------------------------------------------------------- 1 | ### Option: CacheSize 2 | # Size of configuration cache, in bytes. 3 | # Shared memory size, for storing hosts and items data. 4 | # 5 | # Mandatory: no 6 | # Range: 128K-64G 7 | # Default: 8 | # CacheSize=8M 9 | 10 | CacheSize=${ZBX_CACHESIZE} 11 | 12 | ### Option: HistoryCacheSize 13 | # Size of history cache, in bytes. 14 | # Shared memory size for storing history data. 15 | # 16 | # Mandatory: no 17 | # Range: 128K-2G 18 | # Default: 19 | # HistoryCacheSize=16M 20 | 21 | HistoryCacheSize=${ZBX_HISTORYCACHESIZE} 22 | 23 | ### Option: HistoryIndexCacheSize 24 | # Size of history index cache, in bytes. 25 | # Shared memory size for indexing history cache. 26 | # 27 | # Mandatory: no 28 | # Range: 128K-2G 29 | # Default: 30 | # HistoryIndexCacheSize=4M 31 | 32 | HistoryIndexCacheSize=${ZBX_HISTORYINDEXCACHESIZE} 33 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_housekeeper.conf: -------------------------------------------------------------------------------- 1 | ### Option: HousekeepingFrequency 2 | # How often Zabbix will perform housekeeping procedure (in hours). 3 | # Housekeeping is removing outdated information from the database. 4 | # To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency 5 | # hours of outdated information are deleted in one housekeeping cycle. 6 | # To lower load on proxy startup housekeeping is postponed for 30 minutes after proxy start. 7 | # With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option. 8 | # In this case the period of outdated information deleted in one housekeeping cycle is 4 times the 9 | # period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days. 10 | # 11 | # Mandatory: no 12 | # Range: 0-24 13 | # Default: 14 | # HousekeepingFrequency=1 15 | 16 | HousekeepingFrequency=${ZBX_HOUSEKEEPINGFREQUENCY} 17 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_identity.conf: -------------------------------------------------------------------------------- 1 | ### Option: Hostname 2 | # Unique, case sensitive Proxy name. Make sure the Proxy name is known to the server! 3 | # Value is acquired from HostnameItem if undefined. 4 | # 5 | # Mandatory: no 6 | # Default: 7 | # Hostname= 8 | 9 | Hostname=${ZBX_HOSTNAME} 10 | 11 | ### Option: HostnameItem 12 | # Item used for generating Hostname if it is undefined. 13 | # Ignored if Hostname is defined. 14 | # 15 | # Mandatory: no 16 | # Default: 17 | # HostnameItem=system.hostname 18 | 19 | HostnameItem=${ZBX_HOSTNAMEITEM} 20 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_java_gateway.conf: -------------------------------------------------------------------------------- 1 | ### Option: JavaGateway 2 | # IP address (or hostname) of Zabbix Java gateway. 3 | # Only required if Java pollers are started. 4 | # 5 | # Mandatory: no 6 | # Default: 7 | # JavaGateway= 8 | 9 | JavaGateway=${ZBX_JAVAGATEWAY} 10 | 11 | ### Option: JavaGatewayPort 12 | # Port that Zabbix Java gateway listens on. 13 | # 14 | # Mandatory: no 15 | # Range: 1024-32767 16 | # Default: 17 | # JavaGatewayPort=10052 18 | 19 | JavaGatewayPort=${ZBX_JAVAGATEWAYPORT} 20 | 21 | ### Option: StartJavaPollers 22 | # Number of pre-forked instances of Java pollers. 23 | # 24 | # Mandatory: no 25 | # Range: 0-1000 26 | # Default: 27 | # StartJavaPollers=0 28 | 29 | StartJavaPollers=${ZBX_STARTJAVAPOLLERS} 30 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_logging.conf: -------------------------------------------------------------------------------- 1 | ### Option: LogType 2 | # Specifies where log messages are written to: 3 | # system - syslog 4 | # file - file specified with LogFile parameter 5 | # console - standard output 6 | # 7 | # Mandatory: no 8 | # Default: 9 | # LogType=file 10 | 11 | LogType=console 12 | 13 | ### Option: DebugLevel 14 | # Specifies debug level: 15 | # 0 - basic information about starting and stopping of Zabbix processes 16 | # 1 - critical information 17 | # 2 - error information 18 | # 3 - warnings 19 | # 4 - for debugging (produces lots of information) 20 | # 5 - extended debugging (produces even more information) 21 | # 22 | # Mandatory: no 23 | # Range: 0-5 24 | # Default: 25 | # DebugLevel=3 26 | 27 | DebugLevel=${ZBX_DEBUGLEVEL} 28 | 29 | ### Option: LogSlowQueries 30 | # How long a database query may take before being logged (in milliseconds). 31 | # Only works if DebugLevel set to 3 or 4. 32 | # 0 - don't log slow queries. 33 | # 34 | # Mandatory: no 35 | # Range: 1-3600000 36 | # Default: 37 | # LogSlowQueries=0 38 | 39 | LogSlowQueries=${ZBX_LOGSLOWQUERIES} 40 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_modules.conf: -------------------------------------------------------------------------------- 1 | ####### LOADABLE MODULES ####### 2 | 3 | ### Option: LoadModulePath 4 | # Full path to location of proxy modules. 5 | # Default depends on compilation options. 6 | # To see the default path run command "zabbix_proxy --help". 7 | # 8 | # Mandatory: no 9 | # Default: 10 | # LoadModulePath=${libdir}/modules 11 | 12 | LoadModulePath=${ZBX_LOADMODULEPATH} 13 | 14 | ### Option: LoadModule 15 | # Module to load at proxy startup. Modules are used to extend functionality of the proxy. 16 | # Formats: 17 | # LoadModule= 18 | # LoadModule= 19 | # LoadModule= 20 | # Either the module must be located in directory specified by LoadModulePath or the path must precede the module name. 21 | # If the preceding path is absolute (starts with '/') then LoadModulePath is ignored. 22 | # It is allowed to include multiple LoadModule parameters. 23 | # 24 | # Mandatory: no 25 | # Default: 26 | # LoadModule= 27 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_network.conf: -------------------------------------------------------------------------------- 1 | ### Option: ListenPort 2 | # Listen port for trapper. 3 | # 4 | # Mandatory: no 5 | # Range: 1024-32767 6 | # Default: 7 | # ListenPort=10051 8 | 9 | ListenPort=${ZBX_LISTENPORT} 10 | 11 | ### Option: SourceIP 12 | # Source IP address for outgoing connections. 13 | # 14 | # Mandatory: no 15 | # Default: 16 | # SourceIP= 17 | 18 | SourceIP=${ZBX_SOURCEIP} 19 | 20 | ### Option: ListenIP 21 | # List of comma delimited IP addresses that the trapper should listen on. 22 | # Trapper will listen on all network interfaces if this parameter is missing. 23 | # 24 | # Mandatory: no 25 | # Default: 26 | # ListenIP=0.0.0.0 27 | 28 | ListenIP=${ZBX_LISTENIP} 29 | 30 | ####### For advanced users - TCP-related fine-tuning parameters ####### 31 | 32 | ## Option: ListenBacklog 33 | # The maximum number of pending connections in the queue. This parameter is passed to 34 | # listen() function as argument 'backlog' (see "man listen"). 35 | # 36 | # Mandatory: no 37 | # Range: 0 - INT_MAX (depends on system, too large values may be silently truncated to implementation-specified maximum) 38 | # Default: SOMAXCONN (hard-coded constant, depends on system) 39 | # ListenBacklog= 40 | 41 | ListenBacklog=${ZBX_LISTENBACKLOG} 42 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_snmp_traps.conf: -------------------------------------------------------------------------------- 1 | ### Option: SNMPTrapperFile 2 | # Temporary file used for passing data from SNMP trap daemon to the proxy. 3 | # Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file. 4 | # 5 | # Mandatory: no 6 | # Default: 7 | # SNMPTrapperFile=/tmp/zabbix_traps.tmp 8 | 9 | SNMPTrapperFile=${ZBX_SNMPTRAPPERFILE} 10 | 11 | ### Option: StartSNMPTrapper 12 | # If 1, SNMP trapper process is started. 13 | # 14 | # Mandatory: no 15 | # Range: 0-1 16 | # Default: 17 | # StartSNMPTrapper=0 18 | 19 | StartSNMPTrapper=${ZBX_STARTSNMPTRAPPER} 20 | 21 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_ssl.conf: -------------------------------------------------------------------------------- 1 | ### Option: SSLCertLocation 2 | # Location of SSL client certificates. 3 | # This parameter is used in web monitoring and for communication with Vault. 4 | # Default depends on compilation options. 5 | # To see the default path run command "zabbix_proxy --help". 6 | # 7 | # Mandatory: no 8 | # Default: 9 | # SSLCertLocation=${datadir}/zabbix/ssl/certs 10 | 11 | SSLCertLocation=${ZBX_SSLCERTLOCATION} 12 | 13 | ### Option: SSLKeyLocation 14 | # Location of private keys for SSL client certificates. 15 | # This parameter is used in web monitoring and for communication with Vault. 16 | # Default depends on compilation options. 17 | # To see the default path run command "zabbix_proxy --help". 18 | # 19 | # Mandatory: no 20 | # Default: 21 | # SSLKeyLocation=${datadir}/zabbix/ssl/keys 22 | 23 | SSLKeyLocation=${ZBX_SSLKEYLOCATION} 24 | 25 | ### Option: SSLCALocation 26 | # Location of certificate authority (CA) files for SSL server certificate verification. 27 | # If not set, system-wide directory will be used. 28 | # This parameter is used in web monitoring, HTTP agent items and for communication with Vault. 29 | # 30 | # Mandatory: no 31 | # Default: 32 | # SSLCALocation= 33 | 34 | SSLCALocation=${ZBX_SSLCALOCATION} 35 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_vmware.conf: -------------------------------------------------------------------------------- 1 | ### Option: StartVMwareCollectors 2 | # Number of pre-forked vmware collector instances. 3 | # 4 | # Mandatory: no 5 | # Range: 0-250 6 | # Default: 7 | # StartVMwareCollectors=0 8 | 9 | StartVMwareCollectors=${ZBX_STARTVMWARECOLLECTORS} 10 | 11 | ### Option: VMwareFrequency 12 | # How often Zabbix will connect to VMware service to obtain a new data. 13 | # 14 | # Mandatory: no 15 | # Range: 10-86400 16 | # Default: 17 | # VMwareFrequency=60 18 | 19 | VMwareFrequency=${ZBX_VMWAREFREQUENCY} 20 | 21 | ### Option: VMwarePerfFrequency 22 | # How often Zabbix will connect to VMware service to obtain performance data. 23 | # 24 | # Mandatory: no 25 | # Range: 10-86400 26 | # Default: 27 | # VMwarePerfFrequency=60 28 | 29 | VMwarePerfFrequency=${ZBX_VMWAREPERFFREQUENCY} 30 | 31 | ### Option: VMwareCacheSize 32 | # Size of VMware cache, in bytes. 33 | # Shared memory size for storing VMware data. 34 | # Only used if VMware collectors are started. 35 | # 36 | # Mandatory: no 37 | # Range: 256K-2G 38 | # Default: 39 | # VMwareCacheSize=8M 40 | 41 | VMwareCacheSize=${ZBX_VMWARECACHESIZE} 42 | 43 | ### Option: VMwareTimeout 44 | # Specifies how many seconds vmware collector waits for response from VMware service. 45 | # 46 | # Mandatory: no 47 | # Range: 1-300 48 | # Default: 49 | # VMwareTimeout=10 50 | 51 | VMwareTimeout=${ZBX_VMWARETIMEOUT} 52 | -------------------------------------------------------------------------------- /config_templates/proxy/zabbix_proxy_webdriver.conf: -------------------------------------------------------------------------------- 1 | ####### Browser monitoring ####### 2 | 3 | ### Option: WebDriverURL 4 | # WebDriver interface HTTP[S] URL. For example http://localhost:4444 used with Selenium WebDriver standalone server. 5 | # 6 | # Mandatory: no 7 | # Default: 8 | # WebDriverURL= 9 | 10 | WebDriverURL=${ZBX_WEBDRIVERURL} 11 | 12 | ### Option: StartBrowserPollers 13 | # Number of pre-forked instances of browser item pollers. 14 | # 15 | # Mandatory: no 16 | # Range: 0-1000 17 | # Default: 18 | # StartBrowserPollers=1 19 | 20 | StartBrowserPollers=${ZBX_STARTBROWSERPOLLERS} 21 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_export.conf: -------------------------------------------------------------------------------- 1 | ### Option: ExportDir 2 | # Directory for real time export of events, history and trends in newline delimited JSON format. 3 | # If set, enables real time export. 4 | # 5 | # Mandatory: no 6 | # Default: 7 | # ExportDir= 8 | 9 | ExportDir=${ZBX_EXPORTDIR} 10 | 11 | ### Option: ExportFileSize 12 | # Maximum size per export file in bytes. 13 | # Only used for rotation if ExportDir is set. 14 | # 15 | # Mandatory: no 16 | # Range: 1M-1G 17 | # Default: 18 | # ExportFileSize=1G 19 | 20 | ExportFileSize=${ZBX_EXPORTFILESIZE} 21 | 22 | ### Option: ExportType 23 | # List of comma delimited types of real time export - allows to control export entities by their 24 | # type (events, history, trends) individually. 25 | # Valid only if ExportDir is set. 26 | # 27 | # Mandatory: no 28 | # Default: 29 | # ExportType=events,history,trends 30 | 31 | ExportType=${ZBX_EXPORTTYPE} 32 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_ha.conf: -------------------------------------------------------------------------------- 1 | ####### High availability cluster parameters ####### 2 | 3 | ## Option: HANodeName 4 | # The high availability cluster node name. 5 | # When empty, server is working in standalone mode; a node with empty name is registered with address for the frontend to connect to. 6 | # 7 | # Mandatory: no 8 | # Default: 9 | # HANodeName= 10 | 11 | HANodeName=${ZBX_HANODENAME} 12 | 13 | ## Option: NodeAddress 14 | # IP or hostname with optional port to specify how frontend should connect to the server. 15 | # Format:
[:] 16 | # 17 | # If IP or hostname is not set, then ListenIP value will be used. In case ListenIP is not set, localhost will be used. 18 | # If port is not set, then ListenPort value will be used. In case ListenPort is not set, 10051 will be used. 19 | # This option can be overridden by address specified in frontend configuration. 20 | # 21 | # Mandatory: no 22 | # Default: 23 | # NodeAddress=localhost:10051 24 | 25 | NodeAddress=${ZBX_NODEADDRESS} 26 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_history_storage.conf: -------------------------------------------------------------------------------- 1 | ### Option: HistoryStorageURL 2 | # History storage HTTP[S] URL. 3 | # 4 | # Mandatory: no 5 | # Default: 6 | # HistoryStorageURL= 7 | 8 | HistoryStorageURL=${ZBX_HISTORYSTORAGEURL} 9 | 10 | ### Option: HistoryStorageTypes 11 | # Comma separated list of value types to be sent to the history storage. 12 | # 13 | # Mandatory: no 14 | # Default: 15 | # HistoryStorageTypes=uint,dbl,str,log,text 16 | 17 | HistoryStorageTypes=${ZBX_HISTORYSTORAGETYPES} 18 | 19 | ### Option: HistoryStorageDateIndex 20 | # Enable preprocessing of history values in history storage to store values in different indices based on date. 21 | # 0 - disable 22 | # 1 - enable 23 | # 24 | # Mandatory: no 25 | # Default: 26 | # HistoryStorageDateIndex=0 27 | 28 | HistoryStorageDateIndex=${ZBX_HISTORYSTORAGEDATEINDEX} 29 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_java_gateway.conf: -------------------------------------------------------------------------------- 1 | ### Option: JavaGateway 2 | # IP address (or hostname) of Zabbix Java gateway. 3 | # Only required if Java pollers are started. 4 | # 5 | # Mandatory: no 6 | # Default: 7 | # JavaGateway= 8 | 9 | JavaGateway=${ZBX_JAVAGATEWAY} 10 | 11 | ### Option: JavaGatewayPort 12 | # Port that Zabbix Java gateway listens on. 13 | # 14 | # Mandatory: no 15 | # Range: 1024-32767 16 | # Default: 17 | # JavaGatewayPort=10052 18 | 19 | JavaGatewayPort=${ZBX_JAVAGATEWAYPORT} 20 | 21 | ### Option: StartJavaPollers 22 | # Number of pre-forked instances of Java pollers. 23 | # 24 | # Mandatory: no 25 | # Range: 0-1000 26 | # Default: 27 | # StartJavaPollers=0 28 | 29 | StartJavaPollers=${ZBX_STARTJAVAPOLLERS} 30 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_logging.conf: -------------------------------------------------------------------------------- 1 | ### Option: LogType 2 | # Specifies where log messages are written to: 3 | # system - syslog 4 | # file - file specified with LogFile parameter 5 | # console - standard output 6 | # 7 | # Mandatory: no 8 | # Default: 9 | # LogType=file 10 | 11 | LogType=console 12 | 13 | ### Option: DebugLevel 14 | # Specifies debug level: 15 | # 0 - basic information about starting and stopping of Zabbix processes 16 | # 1 - critical information 17 | # 2 - error information 18 | # 3 - warnings 19 | # 4 - for debugging (produces lots of information) 20 | # 5 - extended debugging (produces even more information) 21 | # 22 | # Mandatory: no 23 | # Range: 0-5 24 | # Default: 25 | # DebugLevel=3 26 | 27 | DebugLevel=${ZBX_DEBUGLEVEL} 28 | 29 | ### Option: LogSlowQueries 30 | # How long a database query may take before being logged (in milliseconds). 31 | # Only works if DebugLevel set to 3, 4 or 5. 32 | # 0 - don't log slow queries. 33 | # 34 | # Mandatory: no 35 | # Range: 1-3600000 36 | # Default: 37 | # LogSlowQueries=0 38 | 39 | LogSlowQueries=${ZBX_LOGSLOWQUERIES} 40 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_modules.conf: -------------------------------------------------------------------------------- 1 | ####### LOADABLE MODULES ####### 2 | 3 | ### Option: LoadModulePath 4 | # Full path to location of server modules. 5 | # Default depends on compilation options. 6 | # To see the default path run command "zabbix_server --help". 7 | # 8 | # Mandatory: no 9 | # Default: 10 | # LoadModulePath=${libdir}/modules 11 | 12 | LoadModulePath=${ZBX_LOADMODULEPATH} 13 | 14 | ### Option: LoadModule 15 | # Module to load at server startup. Modules are used to extend functionality of the server. 16 | # Formats: 17 | # LoadModule= 18 | # LoadModule= 19 | # LoadModule= 20 | # Either the module must be located in directory specified by LoadModulePath or the path must precede the module name. 21 | # If the preceding path is absolute (starts with '/') then LoadModulePath is ignored. 22 | # It is allowed to include multiple LoadModule parameters. 23 | # 24 | # Mandatory: no 25 | # Default: 26 | # LoadModule= 27 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_network.conf: -------------------------------------------------------------------------------- 1 | ### Option: ListenPort 2 | # Listen port for trapper. 3 | # 4 | # Mandatory: no 5 | # Range: 1024-32767 6 | # Default: 7 | # ListenPort=10051 8 | 9 | ListenPort=${ZBX_LISTENPORT} 10 | 11 | ### Option: SourceIP 12 | # Source IP address for outgoing connections. 13 | # 14 | # Mandatory: no 15 | # Default: 16 | # SourceIP= 17 | 18 | SourceIP=${ZBX_SOURCEIP} 19 | 20 | ### Option: ListenIP 21 | # List of comma delimited IP addresses that the trapper should listen on. 22 | # Trapper will listen on all network interfaces if this parameter is missing. 23 | # 24 | # Mandatory: no 25 | # Default: 26 | # ListenIP=0.0.0.0 27 | 28 | ListenIP=${ZBX_LISTENIP} 29 | 30 | ####### For advanced users - TCP-related fine-tuning parameters ####### 31 | 32 | ## Option: ListenBacklog 33 | # The maximum number of pending connections in the queue. This parameter is passed to 34 | # listen() function as argument 'backlog' (see "man listen"). 35 | # 36 | # Mandatory: no 37 | # Range: 0 - INT_MAX (depends on system, too large values may be silently truncated to implementation-specified maximum) 38 | # Default: SOMAXCONN (hard-coded constant, depends on system) 39 | # ListenBacklog= 40 | 41 | ListenBacklog=${ZBX_LISTENBACKLOG} 42 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_proxies.conf: -------------------------------------------------------------------------------- 1 | ### Option: StartProxyPollers 2 | # Number of pre-forked instances of pollers for passive proxies. 3 | # 4 | # Mandatory: no 5 | # Range: 0-250 6 | # Default: 7 | # StartProxyPollers=1 8 | 9 | StartProxyPollers=${ZBX_STARTPROXYPOLLERS} 10 | 11 | ### Option: ProxyConfigFrequency 12 | # How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds. 13 | # This parameter is used only for proxies in the passive mode. 14 | # 15 | # Mandatory: no 16 | # Range: 1-3600*24*7 17 | # Default: 18 | # ProxyConfigFrequency=10 19 | 20 | ProxyConfigFrequency=${ZBX_PROXYCONFIGFREQUENCY} 21 | 22 | ### Option: ProxyDataFrequency 23 | # How often Zabbix Server requests history data from a Zabbix Proxy in seconds. 24 | # This parameter is used only for proxies in the passive mode. 25 | # 26 | # Mandatory: no 27 | # Range: 1-3600 28 | # Default: 29 | # ProxyDataFrequency=1 30 | 31 | ProxyDataFrequency=${ZBX_PROXYDATAFREQUENCY} 32 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_reports.conf: -------------------------------------------------------------------------------- 1 | ### Option: StartReportWriters 2 | # Number of pre-forked report writer instances. 3 | # 4 | # Mandatory: no 5 | # Range: 0-100 6 | # Default: 7 | # StartReportWriters=0 8 | 9 | StartReportWriters=${ZBX_STARTREPORTWRITERS} 10 | 11 | ### Option: WebServiceURL 12 | # URL to Zabbix web service, used to perform web related tasks. 13 | # Example: http://localhost:10053/report 14 | # 15 | # Mandatory: no 16 | # Default: 17 | # WebServiceURL= 18 | 19 | WebServiceURL=${ZBX_WEBSERVICEURL} 20 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_service_manager.conf: -------------------------------------------------------------------------------- 1 | ### Option: ServiceManagerSyncFrequency 2 | # How often Zabbix will synchronize configuration of a service manager (in seconds). 3 | # 4 | # Mandatory: no 5 | # Range: 1-3600 6 | # Default: 7 | # ServiceManagerSyncFrequency=60 8 | 9 | ServiceManagerSyncFrequency=${ZBX_SERVICEMANAGERSYNCFREQUENCY} 10 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_snmp_traps.conf: -------------------------------------------------------------------------------- 1 | ### Option: SNMPTrapperFile 2 | # Temporary file used for passing data from SNMP trap daemon to the server. 3 | # Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file. 4 | # 5 | # Mandatory: no 6 | # Default: 7 | # SNMPTrapperFile=/tmp/zabbix_traps.tmp 8 | 9 | SNMPTrapperFile=${ZBX_SNMPTRAPPERFILE} 10 | 11 | ### Option: StartSNMPTrapper 12 | # If 1, SNMP trapper process is started. 13 | # 14 | # Mandatory: no 15 | # Range: 0-1 16 | # Default: 17 | # StartSNMPTrapper=0 18 | 19 | StartSNMPTrapper=${ZBX_STARTSNMPTRAPPER} 20 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_ssl.conf: -------------------------------------------------------------------------------- 1 | ### Option: SSLCertLocation 2 | # Location of SSL client certificates. 3 | # This parameter is used in web monitoring and for communication with Vault. 4 | # Default depends on compilation options. 5 | # To see the default path run command "zabbix_server --help". 6 | # 7 | # Mandatory: no 8 | # Default: 9 | # SSLCertLocation=${datadir}/zabbix/ssl/certs 10 | 11 | SSLCertLocation=${ZBX_SSLCERTLOCATION} 12 | 13 | ### Option: SSLKeyLocation 14 | # Location of private keys for SSL client certificates. 15 | # This parameter is used in web monitoring and for communication with Vault. 16 | # Default depends on compilation options. 17 | # To see the default path run command "zabbix_server --help". 18 | # 19 | # Mandatory: no 20 | # Default: 21 | # SSLKeyLocation=${datadir}/zabbix/ssl/keys 22 | 23 | SSLKeyLocation=${ZBX_SSLKEYLOCATION} 24 | 25 | ### Option: SSLCALocation 26 | # Override the location of certificate authority (CA) files for SSL server certificate verification. 27 | # If not set, system-wide directory will be used. 28 | # This parameter is used in web monitoring, SMTP authentication, HTTP agent items and for communication with Vault. 29 | # 30 | # Mandatory: no 31 | # Default: 32 | # SSLCALocation= 33 | 34 | SSLCALocation=${ZBX_SSLCALOCATION} 35 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_vmware.conf: -------------------------------------------------------------------------------- 1 | ### Option: StartVMwareCollectors 2 | # Number of pre-forked vmware collector instances. 3 | # 4 | # Mandatory: no 5 | # Range: 0-250 6 | # Default: 7 | # StartVMwareCollectors=0 8 | 9 | StartVMwareCollectors=${ZBX_STARTVMWARECOLLECTORS} 10 | 11 | ### Option: VMwareFrequency 12 | # How often Zabbix will connect to VMware service to obtain a new data. 13 | # 14 | # Mandatory: no 15 | # Range: 10-86400 16 | # Default: 17 | # VMwareFrequency=60 18 | 19 | VMwareFrequency=${ZBX_VMWAREFREQUENCY} 20 | 21 | ### Option: VMwarePerfFrequency 22 | # How often Zabbix will connect to VMware service to obtain performance data. 23 | # 24 | # Mandatory: no 25 | # Range: 10-86400 26 | # Default: 27 | # VMwarePerfFrequency=60 28 | 29 | VMwarePerfFrequency=${ZBX_VMWAREPERFFREQUENCY} 30 | 31 | ### Option: VMwareCacheSize 32 | # Size of VMware cache, in bytes. 33 | # Shared memory size for storing VMware data. 34 | # Only used if VMware collectors are started. 35 | # 36 | # Mandatory: no 37 | # Range: 256K-2G 38 | # Default: 39 | # VMwareCacheSize=8M 40 | 41 | VMwareCacheSize=${ZBX_VMWARECACHESIZE} 42 | 43 | ### Option: VMwareTimeout 44 | # Specifies how many seconds vmware collector waits for response from VMware service. 45 | # 46 | # Mandatory: no 47 | # Range: 1-300 48 | # Default: 49 | # VMwareTimeout=10 50 | 51 | VMwareTimeout=${ZBX_VMWARETIMEOUT} 52 | -------------------------------------------------------------------------------- /config_templates/server/zabbix_server_webdriver.conf: -------------------------------------------------------------------------------- 1 | ####### Browser monitoring ####### 2 | 3 | ### Option: WebDriverURL 4 | # WebDriver interface HTTP[S] URL. For example http://localhost:4444 used with Selenium WebDriver standalone server. 5 | # 6 | # Mandatory: no 7 | # Default: 8 | # WebDriverURL= 9 | 10 | WebDriverURL=${ZBX_WEBDRIVERURL} 11 | 12 | ### Option: StartBrowserPollers 13 | # Number of pre-forked instances of browser item pollers. 14 | # 15 | # Mandatory: no 16 | # Range: 0-1000 17 | # Default: 18 | # StartBrowserPollers=1 19 | 20 | StartBrowserPollers=${ZBX_STARTBROWSERPOLLERS} 21 | -------------------------------------------------------------------------------- /env_vars/.MYSQL_PASSWORD: -------------------------------------------------------------------------------- 1 | zabbix -------------------------------------------------------------------------------- /env_vars/.MYSQL_ROOT_PASSWORD: -------------------------------------------------------------------------------- 1 | root_pwd -------------------------------------------------------------------------------- /env_vars/.MYSQL_ROOT_USER: -------------------------------------------------------------------------------- 1 | root -------------------------------------------------------------------------------- /env_vars/.MYSQL_USER: -------------------------------------------------------------------------------- 1 | zabbix -------------------------------------------------------------------------------- /env_vars/.POSTGRES_PASSWORD: -------------------------------------------------------------------------------- 1 | zabbix -------------------------------------------------------------------------------- /env_vars/.POSTGRES_USER: -------------------------------------------------------------------------------- 1 | zabbix -------------------------------------------------------------------------------- /env_vars/.env_agent: -------------------------------------------------------------------------------- 1 | # ZBX_SOURCEIP= 2 | # ZBX_DEBUGLEVEL=3 3 | # ZBX_ENABLEREMOTECOMMANDS=0 # Deprecated since 5.0.0 4 | # ZBX_LOGREMOTECOMMANDS=0 5 | # ZBX_FORCEACTIVECHECKSONSTART=0 # Available since 6.0.2 6 | # ZBX_HEARTBEAT_FREQUENCY=60 # Available since 6.2 7 | # ZBX_HOSTINTERFACE= # Available since 4.4.0 8 | # ZBX_HOSTINTERFACEITEM= # Available since 4.4.0 9 | # ZBX_SERVER_HOST=zabbix-server 10 | # ZBX_PASSIVE_ALLOW=true 11 | # ZBX_PASSIVESERVERS= 12 | # ZBX_ACTIVE_ALLOW=true 13 | # ZBX_ACTIVESERVERS= 14 | # ZBX_LISTENIP= 15 | # ZBX_LISTENPORT=10050 16 | # ZBX_LISTENBACKLOG= 17 | # ZBX_STARTAGENTS=10 18 | # ZBX_HOSTNAME= 19 | # ZBX_HOSTNAMEITEM=system.hostname 20 | # ZBX_METADATA= 21 | # ZBX_METADATAITEM= 22 | # ZBX_REFRESHACTIVECHECKS=5 23 | # ZBX_BUFFERSEND=5 24 | # ZBX_BUFFERSIZE=100 25 | # ZBX_MAXLINESPERSECOND=20 26 | # ZBX_ALIAS="" 27 | # ZBX_TIMEOUT=3 28 | # ZBX_UNSAFEUSERPARAMETERS=0 29 | # ZBX_LOADMODULE="dummy1.so,dummy2.so,dummy10.so" 30 | # ZBX_TLSCONNECT=unencrypted 31 | # ZBX_TLSACCEPT=unencrypted 32 | # ZBX_TLSCAFILE= 33 | # ZBX_TLSCA= 34 | # ZBX_TLSCRLFILE= 35 | # ZBX_TLSCRL= 36 | # ZBX_TLSSERVERCERTISSUER= 37 | # ZBX_TLSSERVERCERTSUBJECT= 38 | # ZBX_TLSCERTFILE= 39 | # ZBX_TLSCERT= 40 | # ZBX_TLSKEYFILE= 41 | # ZBX_TLSKEY= 42 | # ZBX_TLSPSKIDENTITY= 43 | # ZBX_TLSPSKFILE= 44 | # ZBX_TLSPSK= 45 | # ZBX_DENYKEY=system.run[*] 46 | # ZBX_ALLOWKEY= 47 | -------------------------------------------------------------------------------- /env_vars/.env_db_mysql: -------------------------------------------------------------------------------- 1 | # DB_SERVER_HOST=mysql-server 2 | # DB_SERVER_PORT=3306 3 | # DB_SERVER_SOCKET=/var/run/mysqld/mysqld.sock 4 | # MYSQL_USER=zabbix 5 | MYSQL_USER_FILE=/run/secrets/MYSQL_USER 6 | # MYSQL_PASSWORD=zabbix 7 | MYSQL_PASSWORD_FILE=/run/secrets/MYSQL_PASSWORD 8 | # MYSQL_ROOT_PASSWORD= 9 | # MYSQL_ROOT_PASSWORD_FILE=/run/secrets/MYSQL_ROOT_PASSWORD 10 | # MYSQL_ALLOW_EMPTY_PASSWORD=false 11 | # MYSQL_DATABASE=zabbix 12 | MYSQL_DATABASE=zabbix 13 | -------------------------------------------------------------------------------- /env_vars/.env_db_mysql_proxy: -------------------------------------------------------------------------------- 1 | # DB_SERVER_HOST=mysql-server 2 | # DB_SERVER_PORT=3306 3 | # DB_SERVER_SOCKET=/var/run/mysqld/mysqld.sock 4 | # MYSQL_USER=zabbix 5 | MYSQL_USER=zabbix 6 | # MYSQL_USER_FILE=/run/secrets/MYSQL_USER 7 | # MYSQL_PASSWORD=zabbix 8 | MYSQL_PASSWORD=zabbix 9 | # MYSQL_PASSWORD_FILE=/run/secrets/MYSQL_PASSWORD 10 | # MYSQL_ROOT_PASSWORD= 11 | # MYSQL_ROOT_PASSWORD_FILE=/run/secrets/MYSQL_ROOT_PASSWORD 12 | # MYSQL_ALLOW_EMPTY_PASSWORD=false 13 | # MYSQL_DATABASE=zabbix_proxy 14 | MYSQL_DATABASE=zabbix_proxy 15 | -------------------------------------------------------------------------------- /env_vars/.env_db_pgsql: -------------------------------------------------------------------------------- 1 | # DB_SERVER_HOST=postgres-server 2 | # DB_SERVER_PORT=5432 3 | # POSTGRES_USER=zabbix 4 | POSTGRES_USER_FILE=/run/secrets/POSTGRES_USER 5 | # POSTGRES_PASSWORD=zabbix 6 | POSTGRES_PASSWORD_FILE=/run/secrets/POSTGRES_PASSWORD 7 | # POSTGRES_DB=zabbix 8 | POSTGRES_DB=zabbix 9 | # DB_SERVER_SCHEMA=public 10 | # ENABLE_TIMESCALEDB=true 11 | # POSTGRES_USE_IMPLICIT_SEARCH_PATH=false 12 | -------------------------------------------------------------------------------- /env_vars/.env_java: -------------------------------------------------------------------------------- 1 | # ZBX_LISTEN_IP= 2 | # ZBX_LISTEN_PORT=10052 3 | # ZBX_START_POLLERS=5 4 | # ZBX_TIMEOUT=3 5 | # Possible values: trace, debug, info, want, error, all, off 6 | # ZBX_DEBUGLEVEL=info 7 | -------------------------------------------------------------------------------- /env_vars/.env_prx_mysql: -------------------------------------------------------------------------------- 1 | # ZBX_HOSTNAME=zabbix-proxy-mysql 2 | # ZBX_DBTLSCONNECT=require # Available since 5.0.0 3 | # ZBX_DBTLSCAFILE=/run/secrets/root-ca.pem # Available since 5.0.0 4 | # ZBX_DBTLSCERTFILE=/run/secrets/client-cert.pem # Available since 5.0.0 5 | # ZBX_DBTLSKEYFILE=/run/secrets/client-key.pem # Available since 5.0.0 6 | # ZBX_DBTLSCIPHER= # Available since 5.0.0 7 | # ZBX_DBTLSCIPHER13= # Available since 5.0.0 8 | # ZBX_ALLOWUNSUPPORTEDDBVERSIONS=0 # Available since 6.0.0 9 | -------------------------------------------------------------------------------- /env_vars/.env_prx_sqlite3: -------------------------------------------------------------------------------- 1 | # ZBX_HOSTNAME=zabbix-proxy-sqlite3 2 | -------------------------------------------------------------------------------- /env_vars/.env_snmptraps: -------------------------------------------------------------------------------- 1 | ZBX_SNMP_TRAP_DATE_FORMAT=+%Y-%m-%dT%T%z 2 | ZBX_SNMP_TRAP_FORMAT=\n 3 | # To use DNS instead of sender IP override container's command: /usr/sbin/snmptrapd -C -c /etc/snmp/snmptrapd.conf -Lo -A 4 | # Need to remove "-n" command argument 5 | ZBX_SNMP_TRAP_USE_DNS=false 6 | -------------------------------------------------------------------------------- /env_vars/.env_web_service: -------------------------------------------------------------------------------- 1 | # ZBX_DEBUGLEVEL=3 2 | ZBX_ALLOWEDIP=zabbix-server 3 | # ZBX_LISTENPORT=10053 4 | # ZBX_LISTENIP= 5 | # ZBX_TIMEOUT=3 6 | # ZBX_TLSACCEPT=unencrypted 7 | # ZBX_TLSCAFILE= 8 | # ZBX_TLSCA= 9 | # ZBX_TLSCERTFILE= 10 | # ZBX_TLSCERT= 11 | # ZBX_TLSKEYFILE= 12 | # ZBX_TLSKEY= 13 | # ZBX_IGNOREURLCERTERRORS=0 14 | -------------------------------------------------------------------------------- /env_vars/mysql_init/init_proxy_db.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE IF NOT EXISTS `zabbix_proxy`; 2 | GRANT ALL ON `zabbix_proxy`.* TO 'zabbix'@'%'; 3 | -------------------------------------------------------------------------------- /sources/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zabbix/zabbix-docker/deac4f89d1364ef07a2c844970ad359b0ba964ad/sources/.gitkeep --------------------------------------------------------------------------------