I don't know which specific Jetty metrics you are using however you can 
download a command line JMX tool from

http://crawler.archive.org/cmdline-jmxclient/

Then use something like this

$JAVA_BIN -jar $JMX_CMDLINE - host:jmx_port  "java.lang:type=Threading" 
DaemonThreadCount

or

$JAVA_BIN -jar $JMX_CMDLINE - host:jmx_port "java.lang:type=Memory" 
HeapMemoryUsage

Parse the output and inject with gmetric.

Vladimir

On Tue, 19 Jan 2010, Francisc Simon wrote:

> does somebody know how to show Jetty statistics in ganglia or of other 
> services using the JMX(MBeans) service ??
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to