contrib/GenericJMX.conf: Fix some typos and improve type instances.
[collectd.git] / contrib / GenericJMX.conf
index 45c7cf9..394dd30 100644 (file)
 
       <Value>
         Type "io_octets"
-        #InstancePrefix ""
+        InstancePrefix "global"
         #InstanceFrom ""
         Table false
         Attribute "bytesReceived"
 
       <Value>
         Type "total_requests"
-        #InstancePrefix ""
+        InstancePrefix "global"
         #InstanceFrom ""
         Table false
         Attribute "requestCount"
 
       <Value>
         Type "total_time_in_ms"
-        InstancePrefix "processing"
+        InstancePrefix "global-processing"
         #InstanceFrom ""
         Table false
         Attribute "processingTime"
     <MBean "catalina/detailed_request_processor">
       ObjectName "Catalina:type=RequestProcessor,*"
       InstancePrefix "request_processor-"
-      InstanceFrom "name"
+      InstanceFrom "worker"
 
       <Value>
         Type "io_octets"
         #InstancePrefix ""
-        InstanceFrom "worker"
+        InstanceFrom "name"
         Table false
         Attribute "bytesReceived"
         Attribute "bytesSent"
       <Value>
         Type "total_requests"
         #InstancePrefix ""
-        InstanceFrom "worker"
+        InstanceFrom "name"
         Table false
         Attribute "requestCount"
       </Value>
       <Value>
         Type "total_time_in_ms"
         InstancePrefix "processing-"
-        InstanceFrom "worker"
+        InstanceFrom "name"
         Table false
         Attribute "processingTime"
       </Value>