pthulasiram / jmxetric

Automatically exported from code.google.com/p/jmxetric
MIT License
0 stars 0 forks source link

Null WARNING #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Modify jmxetric.xml to publish a Voldemort MBean like given below
2. command used : to publish this to Ganglia:
java 
-Djava.util.logging.config.file=installables/jmxetric-0.0.4/etc/logging.properti
es 
-javaagent:installables/jmxetric-0.0.4/jmxetric-0.0.4.jar=host=localhost,port=86
49,wireformat31x=true,config=installables/jmxetric-0.0.4/etc/jmxetric.xml,proces
s=voldemort.server.VoldemortServer  voldemort.server.VoldemortServer
3.

What is the expected output? What do you see instead?
expected output is to publish the metric in Ganglia, I don't see this metric in 
Ganglia. I do see the Memory metrics that are pasrt of sample xml though. The 
WARNING on command line is:
Feb 28, 2011 2:18:22 PM jmxetric.MBeanSampler$MBeanAttribute publish
WARNING: Exception when getting voldemort.cluster:type=Cluster 
numberOfNodes.null

What version of the product are you using? On what operating system?
0.4

Please provide any additional information below.
Trying to expose Voldemort's MBeans to Ganglia. The first one itself is 
failing. All the examples provided in jmetrix.xml(sample) are for MXBean and 
not MBean. Is there any difference in publishing there? 
To the sample config xml file I added the following:
  </mbean>
      <mbean name="voldemort.cluster:type=Cluster" pname="Cluster">
                <attribute name="numberOfNodes" type="int16" />
  </mbean>

Original issue reported on code.google.com by avanisha...@gmail.com on 28 Feb 2011 at 10:29

GoogleCodeExporter commented 8 years ago
any updates on this ? Here is my command :
argv[6]: -Djava.util.logging.config.file=etc/logging.properties
argv[7]: 
-javaagent:/jmxetric-.0.4.jar=host=phxtnsdev01,port=8649,wireformat31x=true,conf
ig=etc/jmxetric.xml,process=voldemort.server.VoldemortServer

Original comment by avanisha...@gmail.com on 22 Jun 2011 at 8:24