Monitoring JMX items
Let's create a separate host for JMX monitoring. Navigate to Configuration | Hosts, and click on Create host. Enter Zabbix Java gateway in the Host name field, clear everything in the In groups listbox, and enter Java in the New group field. We will need JMX items on this host: remove the default agent interface and click on Add next to JMX interfaces. In our case, the gateway is running on the local host, so we can leave the IP address at the default, 127.0.0.1. But what about the port? We had the Java gateway listen on 10052, but then there was also that 12345 port in the startup.sh script. If a confusion arises, we should think about which functionality is available on each of these ports. On port 10052, we had the gateway ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access