X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=contrib%2FGenericJMX.conf;h=1d3fe564f73423f7afb77d5f6c8b6b955c874b52;hb=4ee5bff6ae7203e18e56cce9542891287f7f8b2b;hp=45c7cf9fb791c912dd0426da0049d681d6782b88;hpb=08884a5cd1038e151a1ae34733aaee48ff06a09b;p=collectd.git
diff --git a/contrib/GenericJMX.conf b/contrib/GenericJMX.conf
index 45c7cf9f..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
@@ -141,7 +148,7 @@
Type "io_octets"
- #InstancePrefix ""
+ InstancePrefix "global"
#InstanceFrom ""
Table false
Attribute "bytesReceived"
@@ -150,7 +157,7 @@
Type "total_requests"
- #InstancePrefix ""
+ InstancePrefix "global"
#InstanceFrom ""
Table false
Attribute "requestCount"
@@ -158,7 +165,7 @@
Type "total_time_in_ms"
- InstancePrefix "processing"
+ InstancePrefix "global-processing"
#InstanceFrom ""
Table false
Attribute "processingTime"
@@ -169,12 +176,12 @@
ObjectName "Catalina:type=RequestProcessor,*"
InstancePrefix "request_processor-"
- InstanceFrom "name"
+ InstanceFrom "worker"
Type "io_octets"
#InstancePrefix ""
- InstanceFrom "worker"
+ InstanceFrom "name"
Table false
Attribute "bytesReceived"
Attribute "bytesSent"
@@ -183,7 +190,7 @@
Type "total_requests"
#InstancePrefix ""
- InstanceFrom "worker"
+ InstanceFrom "name"
Table false
Attribute "requestCount"
@@ -191,7 +198,7 @@
Type "total_time_in_ms"
InstancePrefix "processing-"
- InstanceFrom "worker"
+ InstanceFrom "name"
Table false
Attribute "processingTime"
@@ -224,8 +231,10 @@
# Connection blocks #
#####################
- Host "localhost"
ServiceURL "service:jmx:rmi:///jndi/rmi://localhost:17264/jmxrmi"
+ User "monitorRole"
+ Password "queeZie1"
+ Host "localhost"
Collect "classes"
Collect "compilation"
Collect "garbage_collector"