Hello everyone!
I found problems to monitor tomcat installed in ubuntu.
I have zabbix-server installed in an ubuntu server and I want to monitor tomcat server installed in the same host using JMX.
-I've installed java gateway in my zabbix-server machine.
-I've confiured java gateway file located in : /etc/zabbix/zabbix_java_gateway.conf
LISTEN_IP="127.0.0.1"
LISTEN_PORT=10052
START_POLLERS=5
-I've configured zabbix_server.config , and added:
JavaGateway=127.0.0.1
JavaGatewayPort=10052
StartJavaPollers=5
-I added these lines in tomcat.conf(/etc/tomcat/tomcat.conf) file:
JAVA_OPTS="Dcom.sun.management.jmxremoteDcom.sun.m anagement.jmxremote.port=12345 -Dcom.sun.management.jmxremote.authenticate=false Dcom.sun.management.jmxremote.ssl=false"
- In the zabbix web frontend that what I did:
IP : 127.0.0.1 ; Port : 10052
That's all what I did I don't know where I went wrong
I work with zabbix for my internship; so I'm new at zabbix.
Thank you
I found problems to monitor tomcat installed in ubuntu.
I have zabbix-server installed in an ubuntu server and I want to monitor tomcat server installed in the same host using JMX.
-I've installed java gateway in my zabbix-server machine.
-I've confiured java gateway file located in : /etc/zabbix/zabbix_java_gateway.conf
LISTEN_IP="127.0.0.1"
LISTEN_PORT=10052
START_POLLERS=5
-I've configured zabbix_server.config , and added:
JavaGateway=127.0.0.1
JavaGatewayPort=10052
StartJavaPollers=5
-I added these lines in tomcat.conf(/etc/tomcat/tomcat.conf) file:
JAVA_OPTS="Dcom.sun.management.jmxremoteDcom.sun.m anagement.jmxremote.port=12345 -Dcom.sun.management.jmxremote.authenticate=false Dcom.sun.management.jmxremote.ssl=false"
- In the zabbix web frontend that what I did:
IP : 127.0.0.1 ; Port : 10052
That's all what I did I don't know where I went wrong
I work with zabbix for my internship; so I'm new at zabbix.
Thank you
Comment