Ad Widget

Collapse

Cannot open received JSON error in JMX Items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nmz
    Member
    • Jan 2016
    • 69

    #1

    Cannot open received JSON error in JMX Items

    I have setup Zabbix server, agent and JMX in same host. Otherwise I installed tomcat in the same host. I was started tomcat with these option

    Code:
    -Djava.rmi.server.hostname=192.168.3.14 \
    -Dcom.sun.management.jmxremote \
    -Dcom.sun.management.jmxremote.port=10056 \
    -Dcom.sun.management.jmxremote.authenticate=false \
    -Dcom.sun.management.jmxremote.ssl=false
    Plus I already setup Javagateway with above IP and port in zabbix server config file. Otherwise I also setup with same IP and port zabbix java gateway config file. But I got error as Cannot open received JSON. What am I still missing to monitor JMX items?

    Please check it out log

    3256:20160502:142356.770 getting Java values failed: Cannot open received JSON
    3256:20160502:142356.770 query [txnlev:1] [update hosts set jmx_disable_until=1462175696,jmx_error='Cannot open received JSON' where hostid=10105]
    3256:20160502:142456.845 getting Java values failed: Cannot open received JSON
    3256:20160502:142456.845 query [txnlev:1] [update hosts set jmx_disable_until=1462175756,jmx_error='Cannot open received JSON' where hostid=10105]
    3256:20160502:142556.939 getting Java values failed: Cannot open received JSON
    3256:20160502:142556.939 query [txnlev:1] [update hosts set jmx_disable_until=1462175816,jmx_error='Cannot open received JSON' where hostid=10105]
    3256:20160502:142656.991 getting Java values failed: Cannot open received JSON
    3256:20160502:142656.991 query [txnlev:1] [update hosts set jmx_disable_until=1462175876,jmx_error='Cannot open received JSON' where hostid=10105]
    3256:20160502:142756.098 getting Java values failed: Cannot open received JSON
    3256:20160502:142756.098 query [txnlev:1] [update hosts set jmx_disable_until=1462175936,jmx_error='Cannot open received JSON' where hostid=10105]
    3256:20160502:142856.525 getting Java values failed: Cannot open received JSON
    3256:20160502:142856.526 query [txnlev:1] [update hosts set jmx_disable_until=1462175996,jmx_error='Cannot open received JSON' where hostid=10105]
    3256:20160502:142956.598 getting Java values failed: Cannot open received JSON
    3256:20160502:142956.598 query [txnlev:1] [update hosts set jmx_disable_until=1462176056,jmx_error='Cannot open received JSON' where hostid=10105]
    3256:20160502:143056.676 getting Java values failed: Cannot open received JSON
    3256:20160502:143056.676 query [txnlev:1] [update hosts set jmx_disable_until=1462176116,jmx_error='Cannot open received JSON' where hostid=10105]
    3256:20160502:143156.748 getting Java values failed: Cannot open received JSON
    3256:20160502:143156.748 query [txnlev:1] [update hosts set jmx_disable_until=1462176176,jmx_error='Cannot open received JSON' where hostid=10105]
    Last edited by nmz; 02-05-2016, 10:09.
  • Dziki_Jam
    Junior Member
    • Jan 2017
    • 6

    #2
    Maybe it will be useful for someone

    I had such error when I was trying to monitor application that was running on Java 1.8 by Zabbix Java gateway that was using Java 1.7. Seems like versions should match.

    Comment

    Working...