df plugin also collects inode count now.
[collectd.git] / contrib / GenericJMX.conf
index 45c7cf9..f4dd8f0 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>
     # Connection blocks #
     #####################
     <Connection>
-      Host "localhost"
       ServiceURL "service:jmx:rmi:///jndi/rmi://localhost:17264/jmxrmi"
+      User "monitorRole"
+      Password "queeZie1"
+      Host "localhost"
       Collect "classes"
       Collect "compilation"
       Collect "garbage_collector"