Overview

    Configuring and running Java gateway

    Java gateway configuration may be tuned in the file:

    For more details, see Zabbix Java gateway configuration .

    To start Zabbix Java gateway:

    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 . If the host on which JMX application is running is monitored by Zabbix proxy, then you specify the connection parameters in the proxy configuration file instead.

    1. JavaGateway=192.168.3.14
    2. JavaGatewayPort=10052

    By default, server does not start any processes related to JMX monitoring. If you wish to use it, however, you have to specify the number of pre-forked instances of Java pollers. You do this in the same way you specify regular pollers and trappers.

    Do not forget to restart server or proxy, once you are done with configuring them.

    Debugging Java gateway

    1. /var/log/zabbix/zabbix_java_gateway.log

    If you like to increase the logging, edit the file:

    and change to “debug” or even “trace” (for deep troubleshooting):

    1. [...]
    2. <root level="info">
    3. </root>
    4. </configuration>

    JMX monitoring

    See page for more details.