Code

contrib/GenericJMX.conf: Fix ‘property patterns’ in the sample config.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 17 Aug 2009 20:51:16 +0000 (22:51 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 17 Aug 2009 20:51:16 +0000 (22:51 +0200)
See also: <http://java.sun.com/j2se/1.5.0/docs/api/javax/management/ObjectName.html>

contrib/GenericJMX.conf

index b88d1a6b4828d732c6c4060b06875bb56312a4f6..61a44b0299179ae30f5e00c1d95bdfd9715d5965 100644 (file)
@@ -61,7 +61,7 @@
       # Plugin instance:
       InstancePrefix "gc-"
       InstanceFrom "name"
-      ObjectName "java.lang:type=GarbageCollector,name=*"
+      ObjectName "java.lang:type=GarbageCollector,*"
 
       <Value>
         Type "invocations"
 
     # Memory usage by memory pool.
     <MBean "memory_pool">
-      ObjectName "java.lang:type=MemoryPool,name=*"
+      ObjectName "java.lang:type=MemoryPool,*"
       InstancePrefix "memory_pool-"
       InstanceFrom "name"