Hi All,
recently I have installed a zabbix server in my network and have deployed 5 agents as a trial on different flavors of Operating Systems and I am getting proper results from the installed agent from all the hosts. I also wanted to monitor few tomcat and some other java applications running on different hosts using jmx from the zabbix server.
My java applications and tomcat sessions are not running on the same zabbix server host but on different different hosts.
While configuring jmx I have configured in the tomcat as below:
JAVA_OPTS=" -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.rmi.port=12345 -Djava.rmi.server.hostname=x.x.x.x -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
As per different documents i got online, I have installed the zabbix java gateway on the host where zabbix server is installed.
Now I have my doubt here is, what should be my zabbix java gateway configuration and zabbix server configuration so that the tomcat instances running on multiple hosts can be monitored.
also while adding the hosts configuration on web front end for jmx interfaces, do I have to add zabbix java gateway IP (installed on host running zabbix server) or the tomcat host where jmx is configured with the port 12345 or the java gateway port 10052.
Can someone help me?
Thanks in advance.
recently I have installed a zabbix server in my network and have deployed 5 agents as a trial on different flavors of Operating Systems and I am getting proper results from the installed agent from all the hosts. I also wanted to monitor few tomcat and some other java applications running on different hosts using jmx from the zabbix server.
My java applications and tomcat sessions are not running on the same zabbix server host but on different different hosts.
While configuring jmx I have configured in the tomcat as below:
JAVA_OPTS=" -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.rmi.port=12345 -Djava.rmi.server.hostname=x.x.x.x -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
As per different documents i got online, I have installed the zabbix java gateway on the host where zabbix server is installed.
Now I have my doubt here is, what should be my zabbix java gateway configuration and zabbix server configuration so that the tomcat instances running on multiple hosts can be monitored.
also while adding the hosts configuration on web front end for jmx interfaces, do I have to add zabbix java gateway IP (installed on host running zabbix server) or the tomcat host where jmx is configured with the port 12345 or the java gateway port 10052.
Can someone help me?
Thanks in advance.
Comment