Steps to ensure correct operation of templates that collect metrics by JMX:
1. Make sure Zabbix Java gateway is installed and set up properly.
2. Link the template to the target host. The host should have JMX interface set up.
If the template is not available in your Zabbix installation, you may need to import the template's .xml file first - see Templates out-of-the-box section for instructions.
3. Adjust the values of mandatory macros as needed.
4. Configure the instance being monitored to allow sharing data with Zabbix - see instructions in the Additional steps/comments column.
| Template | Mandatory macros | Additional steps/comments |
|---|---|---|
| Apache Cassandra by JMX | {$CASSANDRA.USER}, {$CASSANDRA.PASSWORD} - Apache Cassandra login credentials (default username: zabbix, password: zabbix) | JMX access to Apache Cassandra should be enabled and configured per instructions in the official documentation. |
| Apache Kafka by JMX | {$KAFKA.USER}, {$KAFKA.PASSWORD} - Apache Kafka login credentials (default username: zabbix, password: zabbix) | JMX access to Apache Kafka should be enabled and configured per instructions in the official documentation. |
| Apache Tomcat by JMX | {$TOMCAT.USER}, {$TOMCAT.PASSWORD} - Apache Tomcat login credentials; leave blank if Tomcat installation does not require authentification (default: not set). | JMX access to Apache Tomcat should be enabled and configured per instructions in the official documentation (choose the correct version). |