Kafka添加JMX监控端口
登录bigdata113主机,执行如下命令,
vi /opt/kafka_2.11-2.1.1/bin/kafka-server-start.sh
打开Kafka启动脚本kafka-server-start.sh,如图:
添加JMX监控端口(Zabbix登录页面中),如下:
export JMX_PORT="9999"
添加后如图:
启动服务
重启Kafka
执行如下命令,重启Kafka:
kafka-server-stop.sh
kafka-server-start.sh /opt/kafka_2.11-2.1.1/config/server.properties &
启动成功后,如图:
标签:JMX,中间件,kafka,start,Zabbix,server,Kafka From: https://www.cnblogs.com/A121/p/17207045.html