Ad Widget

Collapse

Zabbix JavaGateway in docker malfunction

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • geostant
    Member
    • Feb 2015
    • 32

    #1

    Zabbix JavaGateway in docker malfunction

    I'm running zabbix in docker,
    I'm running 4 containers:

    1. mysql:5.6
    2. zabbix-server-mysql:3.4.1
    3. zabbix-web-nginx-mysql:3.4.1
    4. zabbix-java-gateway:3.0.12

    I've enabled zabbix java gateway in my zabbix server
    and setup my application to except remote jmx connection - with jconsole I can connect without any issues.

    I've set my host inside zabbix for jmx monitoring and used the premade template for jmx (generic).

    Inside the zabbix java gateway logs I can see the following error:

    DEBUG c.z.gateway.BinaryProtocolSpeaker - received the following data in request: {"request":"java gateway jmx","jmx_endpoint":"service:jmx:rmi:///jndi/rmi://192.168.1.10:12345/jmxrmi","keys":["jmx[\"java.lang:type=Threading\",ThreadCount]"]}
    WARN com.zabbix.gateway.SocketProcessor - error processing request com.zabbix.gateway.ZabbixException: org.json.JSONException: No value for conn

    I've no clue what to do and any help will be highly appreciated.


    Thanks !
  • geostant
    Member
    • Feb 2015
    • 32

    #2
    I've upgrade my java gateway docker instance to 3.4.3 and that solved my issue.

    Comment

    Working...