Re: Can I use JMX reporter for getting the metrics into zabbix?

2015-11-12 Thread 马哲超
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 :

> 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]
>


Can I use JMX reporter for getting the metrics into zabbix?

2015-11-11 Thread Raju Bairishetti
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]