Code

Add stub for config handling wrt. data providers.
[collection4.git] / share / collection.conf
index 462600ceee2167670644208611d4e93a244090de..3634446ae29cbee1a6b40863d6a643ce4bdb9e9d 100644 (file)
@@ -1,3 +1,7 @@
+<DataProvider "rrdtool">
+  DataDir "/var/lib/collectd/rrd"
+</DataProvider>
+
 <Graph>
   Host "/any/"
   Plugin "cpu"
   </DEF>
 </Graph>
 
+<Graph>
+  Host "/any/"
+  Plugin "mysql"
+  PluginInstance ""
+  Type "mysql_commands"
+  TypeInstance "/all/"
+
+  Title "MySQL commands"
+  VerticalLabel "Invocations"
+
+  <DEF>
+    DSName "value"
+    #Legend "Paging  "
+    #Color "ffb000"
+  </DEF>
+</Graph>
+
 <Graph>
   Host "/any/"
   Plugin "processes"