From 1a3bd3067acba0aa56d14b9724c316b8670c3c38 Mon Sep 17 00:00:00 2001 From: saranf Date: Wed, 8 Jul 2026 21:31:49 +0900 Subject: [PATCH] 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. --- Dockerfiles/proxy-mysql/README.md | 4 ---- Dockerfiles/proxy-sqlite3/README.md | 4 ---- Dockerfiles/server-mysql/README.md | 4 ---- Dockerfiles/server-pgsql/README.md | 4 ---- env_vars/.env_prx | 1 - env_vars/.env_srv | 1 - kubernetes.yaml | 6 ------ 7 files changed, 24 deletions(-) diff --git a/Dockerfiles/proxy-mysql/README.md b/Dockerfiles/proxy-mysql/README.md index 21f63c4b..96334d0c 100644 --- a/Dockerfiles/proxy-mysql/README.md +++ b/Dockerfiles/proxy-mysql/README.md @@ -156,10 +156,6 @@ The variable is used to specify debug level. By default, value is ``3``. It is ` The variable is used to specify timeout for processing checks. By default, value is ``4``. -### `ZBX_JAVAGATEWAY_ENABLE` - -The variable enable communication with Zabbix Java Gateway to collect Java related checks. By default, value is `false`. - ### Other variables Additionally the image allows to specify many other environment variables listed below: diff --git a/Dockerfiles/proxy-sqlite3/README.md b/Dockerfiles/proxy-sqlite3/README.md index 064b3d59..09ac9636 100644 --- a/Dockerfiles/proxy-sqlite3/README.md +++ b/Dockerfiles/proxy-sqlite3/README.md @@ -120,10 +120,6 @@ The variable is used to specify debug level. By default, value is ``3``. It is ` The variable is used to specify timeout for processing checks. By default, value is ``4``. -### `ZBX_JAVAGATEWAY_ENABLE` - -The variable enable communication with Zabbix Java Gateway to collect Java related checks. By default, value is `false`. - ### Other variables Additionally the image allows to specify many other environment variables listed below: diff --git a/Dockerfiles/server-mysql/README.md b/Dockerfiles/server-mysql/README.md index 386928f0..5e310b8c 100644 --- a/Dockerfiles/server-mysql/README.md +++ b/Dockerfiles/server-mysql/README.md @@ -124,10 +124,6 @@ The variable is used to specify debug level. By default, value is ``3``. It is ` The variable is used to specify timeout for processing checks. By default, value is ``4``. -### `ZBX_JAVAGATEWAY_ENABLE` - -The variable enable communication with Zabbix Java Gateway to collect Java related checks. By default, value is `false`. - ### Other variables Additionally the image allows to specify many other environment variables listed below: diff --git a/Dockerfiles/server-pgsql/README.md b/Dockerfiles/server-pgsql/README.md index 8672598e..730839f6 100644 --- a/Dockerfiles/server-pgsql/README.md +++ b/Dockerfiles/server-pgsql/README.md @@ -125,10 +125,6 @@ The variable is used to specify debug level. By default, value is ``3``. It is ` The variable is used to specify timeout for processing checks. By default, value is ``4``. -### ``ZBX_JAVAGATEWAY_ENABLE`` - -The variable enable communication with Zabbix Java Gateway to collect Java related checks. By default, value is `false`. - ### Other variables Additionally the image allows to specify many other environment variables listed below: diff --git a/env_vars/.env_prx b/env_vars/.env_prx index 656de783..49d8f0af 100644 --- a/env_vars/.env_prx +++ b/env_vars/.env_prx @@ -30,7 +30,6 @@ # ZBX_STARTHTTPPOLLERS=1 # ZBX_STARTSNMPPOLLERS=1 # Available since 7.0.0 # ZBX_STARTHISTORYPOLLERS=5 # Available since 5.4.0 till 6.0.0 -# ZBX_JAVAGATEWAY_ENABLE=false # ZBX_JAVAGATEWAY=zabbix-java-gateway # ZBX_JAVAGATEWAYPORT=10052 # ZBX_STARTJAVAPOLLERS=0 diff --git a/env_vars/.env_srv b/env_vars/.env_srv index 9ed7e3d5..d5989def 100644 --- a/env_vars/.env_srv +++ b/env_vars/.env_srv @@ -36,7 +36,6 @@ ZBX_NODEADDRESS=zabbix-server:10051 # Available since 6.0.0 # ZBX_STARTESCALATORS=1 # ZBX_STARTALERTERS=3 # Available since 3.4.0 # ZBX_STARTLLDPROCESSORS=2 -ZBX_JAVAGATEWAY_ENABLE=true ZBX_JAVAGATEWAY=zabbix-java-gateway # ZBX_JAVAGATEWAYPORT=10052 ZBX_STARTJAVAPOLLERS=5 diff --git a/kubernetes.yaml b/kubernetes.yaml index 4a0d606f..ae1eca0f 100644 --- a/kubernetes.yaml +++ b/kubernetes.yaml @@ -503,8 +503,6 @@ spec: value: "" - name: ZBX_STARTALERTERS value: "" - - name: ZBX_JAVAGATEWAY_ENABLE - value: "true" - name: ZBX_JAVAGATEWAY value: "zabbix-java-gateway" - name: ZBX_JAVAGATEWAYPORT @@ -702,8 +700,6 @@ spec: value: "" - name: ZBX_STARTHTTPPOLLERS value: "" - - name: ZBX_JAVAGATEWAY_ENABLE - value: "true" - name: ZBX_JAVAGATEWAY value: "zabbix-java-gateway" - name: ZBX_JAVAGATEWAYPORT @@ -896,8 +892,6 @@ spec: value: "" - name: ZBX_STARTHTTPPOLLERS value: "" - - name: ZBX_JAVAGATEWAY_ENABLE - value: "true" - name: ZBX_JAVAGATEWAY value: "zabbix-java-gateway" - name: ZBX_JAVAGATEWAYPORT