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
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]
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
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]
Comment