Re: Re: How to push metrics to graphite - jmxtrans does not work

2014-12-02 Thread David Montgomery
> > > Just edit "kafka-server-start.sh", and add "export > JMX_PORT=",it > > > will work. > > > > > > > > > > > > > > > Yuanjia > > > > > > From: David Montgomery > > > D

Re: Re: How to push metrics to graphite - jmxtrans does not work

2014-12-02 Thread Jason Rosenberg
anJia Li wrote: > > > Hi David, > > Just edit "kafka-server-start.sh", and add "export JMX_PORT=",it > > will work. > > > > > > > > > > Yuanjia > > > > From: David Montgomery > > Date: 2014-12-03 04:47

Re: Re: How to push metrics to graphite - jmxtrans does not work

2014-12-02 Thread Otis Gospodnetic
ntgomery > Date: 2014-12-03 04:47 > To:users > Subject: Re: How to push metrics to graphite - jmxtrans does not work > Hi, > > I am seeing this in the logs and wondering what "jmx_port":-1 means? > > INFO conflict in /brokers/ids/29136 data: { "host":&qu

Re: Re: How to push metrics to graphite - jmxtrans does not work

2014-12-02 Thread YuanJia Li
Hi David, Just edit "kafka-server-start.sh", and add "export JMX_PORT=",it will work. Yuanjia From: David Montgomery Date: 2014-12-03 04:47 To:users Subject: Re: How to push metrics to graphite - jmxtrans does not work Hi, I am seeing this in the logs and wond

Re: How to push metrics to graphite - jmxtrans does not work

2014-12-02 Thread David Montgomery
Hi, I am seeing this in the logs and wondering what "jmx_port":-1 means? INFO conflict in /brokers/ids/29136 data: { "host":"104.111.111.111.", "jmx_port":-1, "port":9092, "timestamp":"1417552817875", "version":1 } stored data: { "host":"104.111.111", "jmx_port":-1, "port":9092, "timestamp":"1417

Re: How to push metrics to graphite - jmxtrans does not work

2014-12-02 Thread Andrew Otto
Maybe also set: -Dcom.sun.management.jmxremote.port= ? > On Dec 2, 2014, at 02:59, David Montgomery wrote: > > Hi, > > I am having a very difficult time trying to report kafka 8 metrics to > Graphite. Nothing is listening on and and no data in graphite. If > this method of graphi

Re: Re: How to push metrics to graphite - jmxtrans does not work

2014-12-02 Thread YuanJia Li
Jmxtrans should connect to the jmxremote port. Try to run "ps -aux |grep kafka", and find the process contain -Dcom.sun.management.jmxremote.port or not. If not, try to edit "kafka-server-start.sh", add "export JMX_PORT=".

Re: How to push metrics to graphite - jmxtrans does not work

2014-12-02 Thread David Montgomery
I am using kafka 8. I will try your suggestion. But if I run lsof -i : should I not see a proccess running on that port? I am not seeing anything. On Tue, Dec 2, 2014 at 5:37 PM, yuanjia8947 wrote: > hi David, > which version do you use kafka? > when I use kafka 0.8.0, I write jmxtrans "