kafka监控工具kafka Eagle 安装: https://www.cnblogs.com/smartloli/p/9371904.html
https://www.cnblogs.com/smartloli/p/5829395.html
http://www.pianshen.com/article/963781871/
安装在node01: 192,168,72,141这台服务器上
-
上传安装包,解压
-
修改配置文件
-
配置环境变量
-
启动,控制台查看
cd /export/software/mkdir -p /export/servers/kafkaEagle tar -zxvf kafka-eagle-web-1.2.8-bin.tar.gz -C /export/servers/kafkaEagle 配置环境变量 vi ~/.bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs # PATH=$PATH:$HOME/bin # export PATH # 添加如下代码 export PATH=$PATH:$PATH:$KE_HOME/bin export KE_HOME=/export/servers/kafkaEagle/kafka-eagle-web-1.2.8 重新加载 source ~/.bash_profile 修改配置文件: vim /export/servers/kafkaEagle/kafka-eagle-web-1.2.8/conf/system-config.properties ###################################### # multi zookeeper&kafka cluster list ###################################### kafka.eagle.zk.cluster.alias=cluster1,cluster2 cluster1.zk.list=node01:2181,node02:2181,node03:2181 cluster2.zk.list=xdn10:2181,xdn11:2181,xdn12:2181 ###################################### # zk client thread limit ###################################### kafka.zk.limit.size=25 ###################################### # kafka eagle webui port ###################################### kafka.eagle.webui.port=8048 ###################################### # kafka offset storage ###################################### cluster1.kafka.eagle.offset.storage=kafka cluster2.kafka.eagle.offset.storage=zk ###################################### # enable kafka metrics ###################################### kafka.eagle.metrics.charts=false kafka.eagle.sql.fix.error=false ###################################### # kafka sql topic records max ###################################### kafka.eagle.sql.topic.records.max=5000 ###################################### # alarm email configure ###################################### kafka.eagle.mail.enable=false kafka.eagle.mail.sa=alert_sa kafka.eagle.mail.username=alert_sa@163.com kafka.eagle.mail.password=mqslimczkdqabbbh kafka.eagle.mail.server.host=smtp.163.com kafka.eagle.mail.server.port=25 ###################################### # alarm im configure ###################################### #kafka.eagle.im.dingding.enable=true #kafka.eagle.im.dingding.url=https://oapi.dingtalk.com/robot/send?access_token= #kafka.eagle.im.wechat.enable=true #kafka.eagle.im.wechat.url=https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token= #kafka.eagle.im.wechat.touser= #kafka.eagle.im.wechat.toparty= #kafka.eagle.im.wechat.totag= #kafka.eagle.im.wechat.agentid= ###################################### # delete kafka topic token ###################################### kafka.eagle.topic.token=keadmin ###################################### # kafka sasl authenticate ###################################### kafka.eagle.sasl.enable=false kafka.eagle.sasl.protocol=SASL_PLAINTEXT kafka.eagle.sasl.mechanism=PLAIN ###################################### # kafka jdbc driver address ###################################### # kafka.eagle.driver=org.sqlite.JDBC # kafka.eagle.url=jdbc:sqlite:/hadoop/kafka-eagle/db/ke.db # kafka.eagle.username=root # kafka.eagle.password=smartloli kafka.eagle.driver=com.mysql.jdbc.Driver kafka.eagle.url=jdbc:mysql://192.168.206.128:3306/ke?useUnicode=true&characterEncoding=UTF-8 kafka.eagle.username=root kafka.eagle.password=root 启动 /export/servers/kafkaEagle/kafka-eagle-web-1.2.8/bin/ke.sh start 常用后缀参数:start|stop|restart|status|stats 启动成功:默认用户名密码 Account:admin ,Password:123456
注意: 用户名和密码在配置文件中,还有就是数据库的配置信息
http://192.168.72.141:8048/ke