2 Setup from RHEL packages
Overview
Configuring and running Java gateway
Configuration parameters of Zabbix Java gateway may be tuned in the file:
For more details, see Zabbix Java gateway configuration parameters.
To start Zabbix Java gateway:
RHEL 7 and later:
# systemctl enable zabbix-java-gateway
RHEL prior to 7:
Configuring server for use with Java gateway
With Java gateway up and running, you have to tell Zabbix server where to find Zabbix Java gateway. This is done by specifying JavaGateway and JavaGatewayPort parameters in the server configuration file. If the host on which JMX application is running is monitored by Zabbix proxy, then you specify the connection parameters in the instead.
JavaGateway=192.168.3.14
JavaGatewayPort=10052
Do not forget to restart server or proxy, once you are done with configuring them.
Debugging Java gateway
Zabbix Java gateway log file is:
If you like to increase the logging, edit the file:
/etc/zabbix/zabbix_java_gateway_logback.xml
<root level="info">
<appender-ref ref="FILE" />
</root>
JMX monitoring
See JMX monitoring page for more details.