X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=contrib%2FGenericJMX.conf;h=f4dd8f0ead954d5281be573d641f6ca20a1cb322;hb=2794e703be245165757b0bec50a6ba09ae5417f0;hp=61a44b0299179ae30f5e00c1d95bdfd9715d5965;hpb=c35203c82560eba66bb901aa22c5170fb8c389fb;p=collectd.git
diff --git a/contrib/GenericJMX.conf b/contrib/GenericJMX.conf
index 61a44b02..f4dd8f0e 100644
--- a/contrib/GenericJMX.conf
+++ b/contrib/GenericJMX.conf
@@ -36,9 +36,10 @@
Type "gauge"
+ InstancePrefix "loaded_classes"
+ #InstanceFrom ""
Table false
Attribute "LoadedClassCount"
- InstancePrefix "loaded_classes"
@@ -50,43 +51,43 @@
Type "total_time_in_ms"
+ InstancePrefix "compilation_time"
+ #InstanceFrom ""
Table false
Attribute "TotalCompilationTime"
- InstancePrefix "compilation_time"
# Garbage collector information
- # Plugin instance:
+ ObjectName "java.lang:type=GarbageCollector,*"
InstancePrefix "gc-"
InstanceFrom "name"
- ObjectName "java.lang:type=GarbageCollector,*"
Type "invocations"
+ #InstancePrefix ""
+ #InstanceFrom ""
Table false
Attribute "CollectionCount"
- # Type instance:
- #InstancePrefix ""
Type "total_time_in_ms"
+ InstancePrefix "collection_time"
+ #InstanceFrom ""
Table false
Attribute "CollectionTime"
- # Type instance:
- InstancePrefix "collection_time"
# # Not that useful, therefore commented out.
#
# Type "threads"
+# #InstancePrefix ""
+# #InstanceFrom ""
# Table false
# # Demonstration how to access composite types
# Attribute "LastGcInfo.GcThreadCount"
-# # Type instance:
-# #InstancePrefix ""
#
@@ -99,19 +100,20 @@
# Creates four values: committed, init, max, used
Type "memory"
+ #InstancePrefix ""
+ #InstanceFrom ""
Table true
Attribute "HeapMemoryUsage"
- # Type instance:
InstancePrefix "heap-"
# Creates four values: committed, init, max, used
Type "memory"
+ #InstancePrefix ""
+ #InstanceFrom ""
Table true
Attribute "NonHeapMemoryUsage"
- # Type instance:
- InstancePrefix "nonheap-"
@@ -123,9 +125,98 @@
Type "memory"
+ #InstancePrefix ""
+ #InstanceFrom ""
Table true
Attribute "Usage"
+
+
+
+ ### MBeans by Catalina / Tomcat ###
+ # The global request processor (summary for each request processor)
+
+ ObjectName "Catalina:type=GlobalRequestProcessor,*"
+ InstancePrefix "request_processor-"
+ InstanceFrom "name"
+
+
+ Type "io_octets"
+ InstancePrefix "global"
+ #InstanceFrom ""
+ Table false
+ Attribute "bytesReceived"
+ Attribute "bytesSent"
+
+
+
+ Type "total_requests"
+ InstancePrefix "global"
+ #InstanceFrom ""
+ Table false
+ Attribute "requestCount"
+
+
+
+ Type "total_time_in_ms"
+ InstancePrefix "global-processing"
+ #InstanceFrom ""
+ Table false
+ Attribute "processingTime"
+
+
+
+ # Details for each request processor
+
+ ObjectName "Catalina:type=RequestProcessor,*"
+ InstancePrefix "request_processor-"
+ InstanceFrom "worker"
+
+
+ Type "io_octets"
#InstancePrefix ""
+ InstanceFrom "name"
+ Table false
+ Attribute "bytesReceived"
+ Attribute "bytesSent"
+
+
+
+ Type "total_requests"
+ #InstancePrefix ""
+ InstanceFrom "name"
+ Table false
+ Attribute "requestCount"
+
+
+
+ Type "total_time_in_ms"
+ InstancePrefix "processing-"
+ InstanceFrom "name"
+ Table false
+ Attribute "processingTime"
+
+
+
+ # Thread pool
+
+ ObjectName "Catalina:type=ThreadPool,*"
+ InstancePrefix "request_processor-"
+ InstanceFrom "name"
+
+
+ Type "threads"
+ InstancePrefix "total"
+ #InstanceFrom ""
+ Table false
+ Attribute "currentThreadCount"
+
+
+
+ Type "threads"
+ InstancePrefix "running"
+ #InstanceFrom ""
+ Table false
+ Attribute "currentThreadsBusy"
@@ -133,8 +224,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"