Hi Scott,

A quick look at the JmxTool code suggests that it probably isn't able to find the attribute for that MBean, although that MBean does seem to have 1 attribute named Value (I used jconsole to check that). The output you are seeing is merely the date (without any format) being printed out each time it tries to dump the value of that attribute. I'm no Scala expert so my quick look at the code in JmxTool doesn't really tell me what exactly is wrong and where.

-Jaikiran
On Sunday 18 January 2015 06:49 AM, Scott Chapman wrote:
So, related question.

If I query for a specific object name, I always seem to get UNIX time:
./bin/kafka-run-class.sh kafka.tools.JmxTool --object-name
'"kafka.server":name="UnderReplicatedPartitions",type="ReplicaManager"'
--jmx-url service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi

always returns:
1421543777895
1421543779895
1421543781895
1421543783896
1421543785896

What am I missing?

On Sat Jan 17 2015 at 8:11:38 PM Scott Chapman <sc...@woofplanet.com> wrote:

Thanks, that second one might be material. I find that if I run without
any arguments I get no output and it just keeps running. *sigh*

On Sat Jan 17 2015 at 7:58:52 PM Manikumar Reddy <ku...@nmsworks.co.in>
wrote:

JIRAs related to the issue are

https://issues.apache.org/jira/browse/KAFKA-1680
https://issues.apache.org/jira/browse/KAFKA-1679

On Sun, Jan 18, 2015 at 3:12 AM, Scott Chapman <sc...@woofplanet.com>
wrote:

While I appreciate all the suggestions on other JMX related tools, my
question is really about the JMXTool included in and documented in Kafka
and how to use it to dump all the JMX data. I can get it to dump some
mbeans, so i know my config is working. But what I can't seem to do
(which
is described in the documentation) is to dump all attributes of all
objects.

Please, anyone using it have any experience it that might be able to
help
me?

Thanks in advance!

On Sat Jan 17 2015 at 12:39:56 PM Albert Strasheim <full...@gmail.com>
wrote:

On Fri, Jan 16, 2015 at 5:52 PM, Joe Stein <joe.st...@stealth.ly>
wrote:
Here are some more tools for that
https://cwiki.apache.org/confluence/display/KAFKA/JMX+Reporters
depending
on what you have in place and what you are trying todo different
options
exist.

A lot of folks like JMX Trans.
We tried JMX Trans for a while, but didn't like it very much.

Jolokia looks promising. Trying that now.

http://www.jolokia.org/


Reply via email to