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 b88d1a6..61a44b0 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"