7 Zabbix Java gateway

If you use startup.sh and shutdown.sh scripts for starting Zabbix Java gateway, then you can specify the necessary configuration parameters in the settings.sh file. The startup and shutdown scripts source the settings file and take care of converting shell variables (listed in the first column) to Java properties (listed in the second column).

If you start Zabbix Java gateway manually by running java directly, then you specify the corresponding Java properties on the command line.

VariablePropertyMandatoryRangeDefaultDescription
LISTEN_IPzabbix.listenIPno0.0.0.0IP address to listen on.
LISTEN_PORTzabbix.listenPortno1024-3276710052Port to listen on.
PID_FILEzabbix.pidFileno/tmp/zabbix_java.pidName of PID file. If omitted, Zabbix Java Gateway is started as a console application.
PROPERTIES_FILEzabbix.propertiesFilenoName of properties file. Can be used to set additional properties using a key-value format in such a way that they are not visible on a command line or to overwrite existing ones.
For example: “javax.net.ssl.trustStorePassword=<password>”
Supported since Zabbix 5.2.3.
START_POLLERSzabbix.startPollersno1-10005Number of worker threads to start.
TIMEOUTzabbix.timeoutno1-303How long to wait for network operations.

Port 10052 is not IANA registered.