Commit graph

36 commits

Author SHA1 Message Date
Alexey Pustovalov 29e5fe8f9f Added missing ZBX_SERVER for Java Gateway 2026-07-24 22:39:53 +09:00
Alexey Pustovalov 9f0b64527e Using wildcards to search jar files instead of scan directory 2026-07-24 21:27:15 +09:00
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
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 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 894791882a Using direct stdout / stderr for Nginx 2026-07-14 01:43:38 +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
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
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 e308b79a78 Prepare SQLite3 DB file before proxy start 2026-06-11 16:04:35 +09:00
Alexey Pustovalov e477491ffe Moved increment to proper place 2026-06-11 15:57:22 +09:00
Alexey Pustovalov 4812a8f22e Allow to use empty db schema 2026-06-09 15:42:24 +09:00
Alexey Pustovalov 7babf33296 Redesign web config file 2026-06-04 20:04:58 +09:00
Alexey Pustovalov 616a100621 Merge pull request #1911 from zabbix/fix/vault_prefix
Fix/vault prefix
2026-06-03 16:55:33 +09:00
Alexey Pustovalov a2355d82ae Fixed SNMP traps handler 2026-05-15 19:07:16 +09:00
Alexey Pustovalov 522389441d Fixed DB SSL mode on web images 2026-05-05 11:33:10 +09:00
Alexey Pustovalov 439b15bfed Fixed PHP config env variable 2026-05-04 20:05:56 +09:00
Alexey Pustovalov b2e6d3fac0 Fix web-server user 2026-04-30 18:24:12 +09:00
Alexey Pustovalov 20d84d2249 Removed uneccessary configuration parameters from agent2 2026-04-19 22:49:23 +09:00
Alexey Pustovalov 8efb06636e Fixed log records for PostgreSQL web images 2026-04-18 22:52:23 +09:00
Alexey Pustovalov d8b4c6074b Cleaning code 2026-04-18 15:40:31 +09:00
Alexey Pustovalov 4c4082f050 Fixed adding new params at the end of config 2026-04-15 01:25:15 +09:00
Alexey Pustovalov f90d815c0e Fixed SSL on Nginx images 2026-04-14 17:26:05 +09:00
Alexey Pustovalov b8fed86d78 Prepare to remove supervisord 2026-04-13 21:28:21 +09:00
Alexey Pustovalov 7d9a907e6d Fixed node connect in web images 2026-04-12 21:19:23 +09:00
Alexey Pustovalov 2c84d7af91 Fixed psql arguments array 2026-04-10 01:36:45 +09:00
Alexey Pustovalov aa3b0a363c Fixed multiple issues with variables check 2026-04-08 13:24:28 +09:00
Alexey Pustovalov e26bab0bee Fixed default variables for mysql related images 2026-04-08 11:13:11 +09:00
Alexey Pustovalov 10a77cd525 Fixed default variables for Web images 2026-04-08 01:59:23 +09:00
Alexey Pustovalov 128fb7b3a9 Updated docker entrypoint structure. Using libraries for common functions 2026-04-04 22:00:46 +09:00
Alexey Pustovalov 932f81a92a Updated docker entrypoint structure. Using libraries for common functions 2026-04-03 21:16:40 +09:00