Skip to content

Instantly share code, notes, and snippets.

@itaifrenkel
Created May 25, 2012 15:38
Show Gist options
  • Save itaifrenkel/2788838 to your computer and use it in GitHub Desktop.
Save itaifrenkel/2788838 to your computer and use it in GitHub Desktop.
Tomcat JMX plugin
plugin {
name "jmx"
className "org.cloudifysource.usm.jmx.JmxMonitor"
config([
"Total Requests Count": [
"Catalina:type=GlobalRequestProcessor,name=\"http-bio-${httpPort}\"",
"requestCount"
],
port: "${jmxPort}"
])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment