Zabbix Monitor Windows Kafka

Source: Internet
Author: User
Zabbix Monitor Windows Kafka

The main use of Zabbix monitoring Kafka is the Zabbix Java gateway.

Install Zabbix Gateway. Using Ubuntu, you can install the Java gateway directly using commands.

Apt-get Install Zabbix-java-gateway

Modify the Zabbix_server configuration file, tell the Zabbix server Java gateway on which port, and set the number of Poller.

javagateway= Install IP
javagatewayport=10052 #监听端口
startjavapollers=5

Open Java Gateway, restart Zabbix server

Service Zabbix-java-gateway start
service zabbix-server restart

Set Kafka, turn on JMX.

Find the Kafka-server-start.bat file under Bin\windows, in

IF ["%kafka_heap_opts%"] EQU ["] (
set kafka_heap_opts=-xmx1g-xms1g

)

The next plus set jmx_port=9999 becomes

IF ["%kafka_heap_opts%"] EQU ["] (
set kafka_heap_opts=-xmx1g-xms1g
set jmx_port=9999  
)

Configuring the Host

The JMX port must be the same as Jmx_port.
Link Kafka template.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.