Search code examples
jvmjmxganglia

How to see jvm metrics report in ganglia web


I need to see jvm metrics on ganglia report, I've set up jmxetric on a node and see jvm metrics when using simple 'telnet localhost 8649'.

I have ganglia-web with gmond/gmetad running on another machine and it shows standard reports such as cpu/memory, but not new jvm metrics.

Should I configure ganglia-web manually to make it show jvm group as well?

I'm using ganglia 3.3.7.


Solution

  • There should be no need to configure ganglia-web to show new metrics, they just show up given their metadata is also known to the listening gmond and gmetad has thus received and written them to rrd databases.

    Are you using unicast mode? You may be sending the jmxetric metrics only to the gmond running on the jmxetric host. Gmond won't forward the metrics to the ganglia-web/gmetad/gmond host unless you add them to a collection group in gmond.conf at the jmxetric host.

    Also in unicast mode, make sure gmond.conf has send_metadata_interval set to something other than 0 (default). This prevents metrics from disappearing if you restart gmond on the gmetad node.

    Another way is to send the jmx metrics directly from jmxetric to the gmond running on the gmetad node.