Skip to content

Commit 1a3bd30

Browse files
committed
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.
1 parent 46eadea commit 1a3bd30

7 files changed

Lines changed: 0 additions & 24 deletions

File tree

Dockerfiles/proxy-mysql/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,6 @@ The variable is used to specify debug level. By default, value is ``3``. It is `
156156

157157
The variable is used to specify timeout for processing checks. By default, value is ``4``.
158158

159-
### `ZBX_JAVAGATEWAY_ENABLE`
160-
161-
The variable enable communication with Zabbix Java Gateway to collect Java related checks. By default, value is `false`.
162-
163159
### Other variables
164160

165161
Additionally the image allows to specify many other environment variables listed below:

Dockerfiles/proxy-sqlite3/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,6 @@ The variable is used to specify debug level. By default, value is ``3``. It is `
120120

121121
The variable is used to specify timeout for processing checks. By default, value is ``4``.
122122

123-
### `ZBX_JAVAGATEWAY_ENABLE`
124-
125-
The variable enable communication with Zabbix Java Gateway to collect Java related checks. By default, value is `false`.
126-
127123
### Other variables
128124

129125
Additionally the image allows to specify many other environment variables listed below:

Dockerfiles/server-mysql/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ The variable is used to specify debug level. By default, value is ``3``. It is `
124124

125125
The variable is used to specify timeout for processing checks. By default, value is ``4``.
126126

127-
### `ZBX_JAVAGATEWAY_ENABLE`
128-
129-
The variable enable communication with Zabbix Java Gateway to collect Java related checks. By default, value is `false`.
130-
131127
### Other variables
132128

133129
Additionally the image allows to specify many other environment variables listed below:

Dockerfiles/server-pgsql/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ The variable is used to specify debug level. By default, value is ``3``. It is `
125125

126126
The variable is used to specify timeout for processing checks. By default, value is ``4``.
127127

128-
### ``ZBX_JAVAGATEWAY_ENABLE``
129-
130-
The variable enable communication with Zabbix Java Gateway to collect Java related checks. By default, value is `false`.
131-
132128
### Other variables
133129

134130
Additionally the image allows to specify many other environment variables listed below:

env_vars/.env_prx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
# ZBX_STARTHTTPPOLLERS=1
3131
# ZBX_STARTSNMPPOLLERS=1 # Available since 7.0.0
3232
# ZBX_STARTHISTORYPOLLERS=5 # Available since 5.4.0 till 6.0.0
33-
# ZBX_JAVAGATEWAY_ENABLE=false
3433
# ZBX_JAVAGATEWAY=zabbix-java-gateway
3534
# ZBX_JAVAGATEWAYPORT=10052
3635
# ZBX_STARTJAVAPOLLERS=0

env_vars/.env_srv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ ZBX_NODEADDRESS=zabbix-server:10051 # Available since 6.0.0
3636
# ZBX_STARTESCALATORS=1
3737
# ZBX_STARTALERTERS=3 # Available since 3.4.0
3838
# ZBX_STARTLLDPROCESSORS=2
39-
ZBX_JAVAGATEWAY_ENABLE=true
4039
ZBX_JAVAGATEWAY=zabbix-java-gateway
4140
# ZBX_JAVAGATEWAYPORT=10052
4241
ZBX_STARTJAVAPOLLERS=5

kubernetes.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,6 @@ spec:
503503
value: ""
504504
- name: ZBX_STARTALERTERS
505505
value: ""
506-
- name: ZBX_JAVAGATEWAY_ENABLE
507-
value: "true"
508506
- name: ZBX_JAVAGATEWAY
509507
value: "zabbix-java-gateway"
510508
- name: ZBX_JAVAGATEWAYPORT
@@ -702,8 +700,6 @@ spec:
702700
value: ""
703701
- name: ZBX_STARTHTTPPOLLERS
704702
value: ""
705-
- name: ZBX_JAVAGATEWAY_ENABLE
706-
value: "true"
707703
- name: ZBX_JAVAGATEWAY
708704
value: "zabbix-java-gateway"
709705
- name: ZBX_JAVAGATEWAYPORT
@@ -896,8 +892,6 @@ spec:
896892
value: ""
897893
- name: ZBX_STARTHTTPPOLLERS
898894
value: ""
899-
- name: ZBX_JAVAGATEWAY_ENABLE
900-
value: "true"
901895
- name: ZBX_JAVAGATEWAY
902896
value: "zabbix-java-gateway"
903897
- name: ZBX_JAVAGATEWAYPORT

0 commit comments

Comments
 (0)