Commit graph

2265 commits

Author SHA1 Message Date
Alexey Pustovalov 1c41fa6d97 Fix Java Gateway build. Use read only mode for Java Gateway 2026-07-24 21:20:20 +09:00
Alexey Pustovalov de2f409ea1 Removed PID from snmptraps image. Possible to use readonly filesystem 2026-07-24 18:59:43 +09:00
Alexey Pustovalov d0c5869b9d Fixed Java Gateway variable. ZBX_JAVA_OPTS is currently supported for additional arguments 2026-07-24 18:44:10 +09:00
Alexey Pustovalov 135acb8b4e Fixed missing PerfCounters configuration file 2026-07-23 17:49:35 +09:00
Alexey Pustovalov 45a27f1a2e
Merge pull request #1951 from saranf/fix/windows-agent-userparameterdir
Enable UserParameterDir on Windows agent config
2026-07-22 02:01:27 +09:00
saranf 026dd685b0 Enable UserParameterDir on Windows agent config
The Windows agent config template was missing the active
UserParameterDir=${ZBX_USERPARAMETERDIR} line. The Windows agent Dockerfile
sets ZBX_USERPARAMETERDIR and creates the C:\zabbix\user_scripts directory,
but because the option is never written to the config, user parameter scripts
placed there are not loaded by the agent.

The Linux agent, Linux agent2, and Windows agent2 templates all set this
option; only the Windows agent template was missing it. Add it to match.
2026-07-21 23:34:09 +09:00
Alexey Pustovalov 999249248e Using proper way to define Debian repository for Ubuntu based web-service 2026-07-17 18:48:52 +09:00
Alexey Pustovalov 7061e5e18b Fixed tzdata on RHEL 2026-07-17 17:32:59 +09:00
Alexey Pustovalov fd986f33d8 Fixed chromium repo pin 2026-07-17 17:22:24 +09:00
Alexey Pustovalov 5e9bd1d014 Removed orphaned code on CentOS. Timezone data already available on CentOS 10 2026-07-17 17:22:11 +09:00
Alexey Pustovalov 6a2999f61d Removed orphaned / deprecated steps in Ubuntu based containers 2026-07-17 17:20:31 +09:00
Alexey Pustovalov 27239c4155 Soring packages by system tools, lib dependencies, apps, additional tools 2026-07-17 01:26:07 +09:00
Alexey Pustovalov 3dc19d2ad0 Updating PostgreSQL to 18 version on OL 2026-07-15 22:48:17 +09:00
Alexey Pustovalov cfdc5b9519 Using go entrypoint for Windows agents 2026-07-15 18:17:22 +09:00
Alexey Pustovalov 0866f929e2 Using go entrypoint for Windows agents 2026-07-15 17:51:41 +09:00
Alexey Pustovalov 9e7e5e633f Implemented possibility to build from custom branch 2026-07-14 01:44:33 +09:00
Alexey Pustovalov 894791882a Using direct stdout / stderr for Nginx 2026-07-14 01:43:38 +09:00
Alexey Pustovalov 0f8c1c3048 Fixed variable descriptions 2026-07-11 22:22:05 +09:00
Alexey Pustovalov c342362002 Fixed variable descriptions 2026-07-11 21:25:41 +09:00
Alexey Pustovalov 2f2fb7d7ed Fixed variable descriptions 2026-07-11 16:37:56 +09:00
Alexey Pustovalov edb91be023 Fixed variable descriptions 2026-07-11 14:45:57 +09:00
Alexey Pustovalov 31cf0a9887 Fixed variable descriptions 2026-07-11 14:45:29 +09:00
Alexey Pustovalov 68e583ec61 Merge changes with Zabbix trunk 2026-07-11 01:48:26 +09:00
Alexey Pustovalov bedfac9654 Fixed ZBX_HEARTBEAT_FREQUENCY variable name 2026-07-10 20:43:23 +09:00
Alexey Pustovalov f449d5d0ec Updated PostgreSQL 17 to 18 on Alpine 2026-07-10 19:45:55 +09:00
Alexey Pustovalov a8cef221f7
Merge pull request #1946 from saranf/fix/agent-alias-include-path
Fix wrong agent config include path in README (zabbix_agent.d -> zabbix_agentd.d)
2026-07-10 16:26:34 +09:00
saranf 04defdf8b0 Fix wrong agent config include path in README (zabbix_agent.d -> zabbix_agentd.d)
The "Known issues" note about ZBX_ALIAS tells users to drop extra Alias
config files into /etc/zabbix/zabbix_agent.d, but no agent includes that
directory.

zabbix_agentd.conf includes /etc/zabbix/zabbix_agentd.d/*.conf, and
zabbix_agent2.conf includes /etc/zabbix/zabbix_agentd.d/*.conf as well
(plus /etc/zabbix/zabbix_agent2.d/*.conf). The correct shared directory is
zabbix_agentd.d (note the "d"), which is also created in the image and
documented as a volume earlier in the same README. Files placed under
zabbix_agent.d are silently ignored, so user-provided aliases never load.

Fix the path to zabbix_agentd.d in the agent and agent2 READMEs.
2026-07-10 12:52:54 +09:00
Alexey Pustovalov b0027ed381 Using PostgreSQL 18 on RHEL, CentOS 2026-07-09 21:37:51 +09:00
Alexey Pustovalov bb14d85aef Using PostgreSQL 18 on CentOS 2026-07-09 21:37:45 +09:00
Alexey Pustovalov c45c7520cb Using PostgreSQL 18 on RHEL 2026-07-09 21:37:39 +09:00
Alexey Pustovalov a513eebed2 Unified libraries compilation flags on Windows 2026-07-09 19:08:36 +09:00
Alexey Pustovalov c1c8ac01c8 Updated libraries flags for Windows agent 2026-07-09 16:43:03 +09:00
Continuous Integration 0d01a127e9 Zabbix v7.4.12 release 2026-07-09 08:36:32 +03:00
Alexey Pustovalov 6848a2cb31
Merge pull request #1945 from saranf/fix/remove-obsolete-javagateway-enable
Remove obsolete ZBX_JAVAGATEWAY_ENABLE variable
2026-07-08 22:08:49 +09:00
saranf 1a3bd3067a Remove obsolete ZBX_JAVAGATEWAY_ENABLE variable
ZBX_JAVAGATEWAY_ENABLE is no longer handled by any entrypoint since the
images were migrated to native Zabbix environment variables. The Java
gateway is now configured directly via ZBX_JAVAGATEWAY (JavaGateway) and
ZBX_STARTJAVAPOLLERS (StartJavaPollers).

The obsolete variable was still documented in the server/proxy READMEs and
shipped in the example env files and kubernetes.yaml, where it does nothing.
Worse, the README described it as the way to enable the Java gateway, so a
user setting only ZBX_JAVAGATEWAY_ENABLE=true would get no Java checks.

Remove all remaining references (READMEs, env_vars/.env_srv, env_vars/.env_prx,
kubernetes.yaml). The native ZBX_JAVAGATEWAY / ZBX_STARTJAVAPOLLERS variables
are kept, so existing setups keep working.
2026-07-08 21:37:21 +09:00
Alexey Pustovalov c0a8630b24 Fixed RHEL based server pgsql 2026-07-08 14:46:52 +09:00
Alexey Pustovalov ddf7ca0aec
Merge pull request #1942 from saranf/fix/web-allow-http-auth-env-name
Fix ZBX_ALLOW_HTTP_AUTH being ignored in web frontend config
2026-07-07 11:43:34 +09:00
saranf 694162e2a7 Fix ZBX_ALLOW_HTTP_AUTH being ignored in web frontend config
The web config redesign changed the HTTP-auth lookup from
getenv('ZBX_ALLOW_HTTP_AUTH') to env_bool('ALLOW_HTTP_AUTH', true),
dropping the ZBX_ prefix. The entrypoint (php.sh) still sets and exports
ZBX_ALLOW_HTTP_AUTH, and every web image README documents ZBX_ALLOW_HTTP_AUTH,
so the frontend now reads a variable that is never set and always falls back
to the default (true).

As a result, setting ZBX_ALLOW_HTTP_AUTH=false no longer disables HTTP
authentication in the frontend. Restore the documented variable name.
2026-07-06 20:34:24 +09:00
Alexey Pustovalov 46eadea74a Added bcrypt.lib library for Windows agent 2026-07-06 17:40:24 +09:00
Alexey Pustovalov 156c69d41b Updated libraries and environment for Windows agents 2026-07-06 16:41:19 +09:00
Alexey Pustovalov f09c63d87d Updated libraries and environment for Windows agents 2026-07-06 16:41:17 +09:00
Alexey Pustovalov 3db9335a0f Make snmptraps and other named volumes definition explicit for parser compatibility 2026-07-02 17:07:40 +09:00
Alexey Pustovalov 2e4ec3ed1d
Merge pull request #1940 from paskal/fix-web-db-port-empty-string
Fix web frontend crash on socket setups without DB_SERVER_PORT
2026-07-02 13:46:40 +09:00
Dmitry Verkhoturov cc028ed792
Fix web frontend crash on socket setups without DB_SERVER_PORT
env_string('DB_SERVER_PORT') returns '' when the variable is unset, and that
empty string is passed to mysqli::real_connect()'s ?int $port argument in
MysqlDbBackend::connect(), throwing a fatal TypeError under PHP 8 that breaks
every frontend page (HTTP 500) on socket / no-port setups. Regressed in the
web config redesign, which replaced getenv() (returns false -> int 0) with
env_string() (returns '').

Add an env_int() helper that maps both unset and empty to the default and
returns an int, and use it for the DB port.
2026-07-01 17:56:31 +00:00
Alexey Pustovalov acfd59eac4
Merge pull request #1938 from zabbix/dependabot/github_actions/github-actions-7f78b38a4f
Bump the github-actions group across 1 directory with 4 updates
2026-06-26 15:36:13 +09:00
dependabot[bot] 9c088301bf
Bump the github-actions group across 1 directory with 4 updates
Bumps the github-actions group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python), [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) and [SonarSource/sonarqube-scan-action](https://github.com/sonarsource/sonarqube-scan-action).


Updates `actions/checkout` from 6.0.1 to 7.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e8c483db8...9c091bb21b)

Updates `actions/setup-python` from 6.0.0 to 6.3.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](e797f83bcb...ece7cb06ca)

Updates `github/codeql-action/upload-sarif` from 4.36.0 to 4.36.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](7211b7c807...8aad20d150)

Updates `SonarSource/sonarqube-scan-action` from 8.1.0 to 8.2.0
- [Release notes](https://github.com/sonarsource/sonarqube-scan-action/releases)
- [Commits](7006c4492b...713881670b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.36.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: SonarSource/sonarqube-scan-action
  dependency-version: 8.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-26 06:04:35 +00:00
Alexey Pustovalov 03fbcba0ab Using hash for Python libraries 2026-06-26 12:30:32 +09:00
Alexey Pustovalov c5da820807 Fixed version of Dockerfile 2026-06-21 10:54:00 +09:00
Alexey Pustovalov d2cda8436c Fixed TMDB sql files location 2026-06-19 16:35:55 +09:00
Alexey Pustovalov ffafc1609c Updated OpenJDK version to 21 2026-06-19 16:21:57 +09:00