kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 马哲超 <mazhechaomaill...@gmail.com>
Subject Re: Can I use JMX reporter for getting the metrics into zabbix?
Date Fri, 13 Nov 2015 02:48:11 GMT
Yes.

1) Start kafka with JMX_PORT, like this:
JMX_PORT=9997 bin/kafka-server-start.sh config/server-1.properties &

2) Create a new item in zabbix by setting type *JMX agent*, and key like*
jmx["kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec,topic=sshd_in","OneMinuteRate"]*

2015-11-12 10:51 GMT+08:00 Raju Bairishetti <raju@apache.org>:

> Hello All,
>     We have multiple metrics reporters for publishing/viewing the kafka
> metrics. I want to dump all kafka metrics in *zabbix.*
>
>    I am thinking the following approaches to get the metrics in to zabbix.
> 1)  Use JMX reporter in kafka to get the metrics and accessing these
> metrics from zabbix. I found that there is a way to access JMX metrics
> though zabbix.
>
> 2) Write a new Zabbix reporter like Grpahite & ganglia for kafka.
>
> I am thinking to proceed to with 1st approach.
>
> Could you please share your thoughts on above approaches?
>
> [image: http://www.inmobi.com/press-releases/files/2013/02/MIT.png]
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message