Code

contrib/collection3: Add the "DataDir" config option.
[collectd.git] / contrib / collection3 / etc / collection.conf
index 7064ef2f9081070baec7710d4946b76f774f78b3..b7e76b2b7eef3cd1f2b3900a9352424156253963 100644 (file)
@@ -1,5 +1,22 @@
+#DataDir "/var/lib/collectd/rrd"
 GraphWidth 400
 #UnixSockAddr "/var/run/collectd-unixsock"
+<Type apache_bytes>
+  DataSources count
+  DSName "count Bytes/s"
+  RRDTitle "Apache Traffic"
+  RRDVerticalLabel "Bytes/s"
+  RRDFormat "%5.1lf%s"
+  Color count 0000ff
+</Type>
+<Type apache_requests>
+  DataSources count
+  DSName "count Requests/s"
+  RRDTitle "Apache Traffic"
+  RRDVerticalLabel "Requests/s"
+  RRDFormat "%5.2lf"
+  Color count 00d000
+</Type>
 <Type apache_scoreboard>
   Module GenericStacked
   DataSources count