Hi
I have been trying to install zabbix to monitor my java application. I applied the JMX template to my host that is been set up as linux os( I am running ubuntu 12.04 server). But on the JMX part in the GUI, i see the message as
"Cannot open received JSON".
And on the logs - this is what i see
17793:20140814:085514.795 JSON before sending [{
"request":"java gateway jmx",
"conn":"192.168.56.101",
"port":10052,
"keys":["jmx[\"Catalina:type=Server\",serverInfo]"]}]
17793:20140814:085514.795 JSON back [ZBX_NOTSUPPORTED]
Any idea would be really helpful. I do not have any idea as where to start.
I am running the server and the agent in a single machine.
My JVM is a tomcat7
JAVA_OPTS="-Djava.rmi.server.hostname=192.168.56.101 -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=10052 -Dcom.sun.ma
nagement.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false "
zabbix_server.conf
LogFile=/var/log/zabbix-server/zabbix_server.log
DebugLevel=4
PidFile=/var/run/zabbix/zabbix_server.pid
DBName=zabbix
DBUser=zabbix
DBPassword=root
JavaGateway=192.168.56.101
JavaGatewayPort=10050
StartJavaPollers=5
AlertScriptsPath=/etc/zabbix/alert.d/
FpingLocation=/usr/bin/fping
Fping6Location=/usr/bin/fping6
zabbix_agentd.conf
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix-agent/zabbix_agentd.log
LogFileSize=0
DebugLevel=4
Server=192.168.56.101
ServerActive=192.168.56.101
Hostname=prabhu-12x1
Include=/etc/zabbix/zabbix_agentd.conf.d/
-Prabhu
I have been trying to install zabbix to monitor my java application. I applied the JMX template to my host that is been set up as linux os( I am running ubuntu 12.04 server). But on the JMX part in the GUI, i see the message as
"Cannot open received JSON".
And on the logs - this is what i see
17793:20140814:085514.795 JSON before sending [{
"request":"java gateway jmx",
"conn":"192.168.56.101",
"port":10052,
"keys":["jmx[\"Catalina:type=Server\",serverInfo]"]}]
17793:20140814:085514.795 JSON back [ZBX_NOTSUPPORTED]
Any idea would be really helpful. I do not have any idea as where to start.
I am running the server and the agent in a single machine.
My JVM is a tomcat7
JAVA_OPTS="-Djava.rmi.server.hostname=192.168.56.101 -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=10052 -Dcom.sun.ma
nagement.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false "
zabbix_server.conf
LogFile=/var/log/zabbix-server/zabbix_server.log
DebugLevel=4
PidFile=/var/run/zabbix/zabbix_server.pid
DBName=zabbix
DBUser=zabbix
DBPassword=root
JavaGateway=192.168.56.101
JavaGatewayPort=10050
StartJavaPollers=5
AlertScriptsPath=/etc/zabbix/alert.d/
FpingLocation=/usr/bin/fping
Fping6Location=/usr/bin/fping6
zabbix_agentd.conf
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix-agent/zabbix_agentd.log
LogFileSize=0
DebugLevel=4
Server=192.168.56.101
ServerActive=192.168.56.101
Hostname=prabhu-12x1
Include=/etc/zabbix/zabbix_agentd.conf.d/
-Prabhu