Hey guys,
I've been given a task to monitor Kafka via Zabbix:
Unfortunately, in the Zabbix Server log I am seeing errors like the following:
And then:
I then check the frontend and the host has "JMX" in red with the error "ZBX_TCP_READ() timed out".
I'm kind of at a loss as to why this is not working, and don't know how to continue checking further. Any help would be appreciated!
I've been given a task to monitor Kafka via Zabbix:
- I installed Zabbix Java Gateway as per the instructions, on the same server as the Zabbix Server.
- Enabled JMX via port 12345 on one of my Kafka hosts by adding the following lines to its config:
Code:# JMX settings if [ -z "$KAFKA_JMX_OPTS" ]; then KAFKA_JMX_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false " fi
- Restarted Kafka
- Allowed port 12345 from Zabbix Server to a Kafka host in the FW
- Checked Telnet from Zabbix Server to Kafka host - connection established
- Added JMX interface to the host in Zabbix frontend
- Linked template to host (template from here: https://github.com/helli0n/kafka-monitoring)
Unfortunately, in the Zabbix Server log I am seeing errors like the following:
Code:
JMX agent item "jmx["kafka.network:type=SocketServer,name=NetworkProcessorAvgIdlePercent","Value"]" on host "kafkahost" failed: another network error, wait for 15 seconds
Code:
temporarily disabling JMX agent checks on host "Sandbox-Kafka-hrc1": host unavailable
I'm kind of at a loss as to why this is not working, and don't know how to continue checking further. Any help would be appreciated!
Comment