From: Florian Forster Date: Wed, 9 Jun 2010 08:38:11 +0000 (+0200) Subject: contrib/GenericJMX.conf: Use the "jmx_memory" type. X-Git-Tag: collectd-4.9.3~13 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=502535807083ee487f2e1b3dad15051b4db7c754;p=collectd.git contrib/GenericJMX.conf: Use the "jmx_memory" type. --- diff --git a/contrib/GenericJMX.conf b/contrib/GenericJMX.conf index f4dd8f0e..1d3fe564 100644 --- a/contrib/GenericJMX.conf +++ b/contrib/GenericJMX.conf @@ -91,6 +91,12 @@ # + ###################################### + # Define the "jmx_memory" type as: # + # jmx_memory value:GAUGE:0:U # + # See types.db(5) for details. # + ###################################### + # Generic heap/nonheap memory usage. ObjectName "java.lang:type=Memory" @@ -99,7 +105,7 @@ # Creates four values: committed, init, max, used - Type "memory" + Type "jmx_memory" #InstancePrefix "" #InstanceFrom "" Table true @@ -109,11 +115,12 @@ # Creates four values: committed, init, max, used - Type "memory" + Type "jmx_memory" #InstancePrefix "" #InstanceFrom "" Table true Attribute "NonHeapMemoryUsage" + InstancePrefix "nonheap-" @@ -124,7 +131,7 @@ InstanceFrom "name" - Type "memory" + Type "jmx_memory" #InstancePrefix "" #InstanceFrom "" Table true