contrib/GenericJMX.conf: Fix ‘property patterns’ in the sample config.
[collectd.git] / 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"