I have multiple instance of Tomcat on a single host running on different port. I have enabled JMX on each tomcat instance with 2 different port (9999 and 9998).
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.rmi.port=9999
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=10.1.2.3
and
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9998
-Dcom.sun.management.jmxremote.rmi.port=9998
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=10.1.2.3
I would like to monitor both jvm via zabbix. I'm using a Generic JVM template.
I'm able to add a single JMX Interface via Configuration> Host> Create New Host > JMX Interface : 10.1.2.3:9999.
I can view the Metrics/Graphs on Zabbix UI.
Is it possible to another JMX entry (10.1.2.3:9998) under the same host ? Or do i need to create another host entry for port 9998 ?
we have 15 hosts with each having 10 tomcat instances, hence would like to know what is the best way to do it ? Do i need to create 150 Host entries in Zabbix?
Note: i'm using a older version of Zabbix (2.0.4) on Ubuntu 14. Tomcat version 9.0 running on Windows Server.Thanks !!
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.rmi.port=9999
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=10.1.2.3
and
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9998
-Dcom.sun.management.jmxremote.rmi.port=9998
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=10.1.2.3
I would like to monitor both jvm via zabbix. I'm using a Generic JVM template.
I'm able to add a single JMX Interface via Configuration> Host> Create New Host > JMX Interface : 10.1.2.3:9999.
I can view the Metrics/Graphs on Zabbix UI.
Is it possible to another JMX entry (10.1.2.3:9998) under the same host ? Or do i need to create another host entry for port 9998 ?
we have 15 hosts with each having 10 tomcat instances, hence would like to know what is the best way to do it ? Do i need to create 150 Host entries in Zabbix?
Note: i'm using a older version of Zabbix (2.0.4) on Ubuntu 14. Tomcat version 9.0 running on Windows Server.Thanks !!
Comment