X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=contrib%2FGenericJMX.conf;h=1d3fe564f73423f7afb77d5f6c8b6b955c874b52;hb=82c9b0daf5ff90d01f4a4371f11727cd613e4b01;hp=f4dd8f0ead954d5281be573d641f6ca20a1cb322;hpb=e21d0408e4e4001b8c66bb1ea7d41b890100d0f5;p=collectd.git
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