Code

Merged branch 'experimental' into debmon-squeeze
[pkg-collectd.git] / debian / collectd.conf
index 1dde5b6afd9dfc96cf7e673f553b79fe0577bf38..a367cdd3c04ce23ea94dc668c17cfb9466ddd894 100644 (file)
@@ -59,7 +59,6 @@ LoadPlugin syslog
 ##############################################################################
 
 #LoadPlugin aggregation
-#LoadPlugin amqp
 #LoadPlugin apache
 #LoadPlugin apcups
 #LoadPlugin ascent
@@ -99,6 +98,7 @@ LoadPlugin load
 #LoadPlugin memcachec
 #LoadPlugin memcached
 LoadPlugin memory
+#LoadPlugin modbus
 #LoadPlugin multimeter
 #LoadPlugin mysql
 #LoadPlugin netlink
@@ -176,20 +176,6 @@ LoadPlugin users
 #      </Aggregation>
 #</Plugin>
 
-#<Plugin amqp>
-#      <Publish "name">
-#              Host "localhost"
-#              Port "5672"
-#              VHost "/"
-#              User "guest"
-#              Password "guest"
-#              Exchange "amq.fanout"
-#              RoutingKey "collectd"
-#              Persistent false
-#              StoreRates false
-#      </Publish>
-#</Plugin>
-
 #<Plugin apache>
 #      <Instance "foo">
 #              URL "http://localhost/server-status?auto"
@@ -342,16 +328,29 @@ LoadPlugin users
 #      </Database>
 #</Plugin>
 
-#<Plugin df>
+<Plugin df>
 #      Device "/dev/sda1"
 #      Device "192.168.0.2:/mnt/nfs"
 #      MountPoint "/home"
 #      FSType "ext3"
-#      IgnoreSelected false
+
+       # ignore rootfs; else, the root file-system would appear twice, causing
+       # one of the updates to fail and spam the log
+       FSType rootfs
+       # ignore the usual virtual / temporary file-systems
+       FSType sysfs
+       FSType proc
+       FSType devtmpfs
+       FSType devpts
+       FSType tmpfs
+       FSType fusectl
+       FSType cgroup
+       IgnoreSelected true
+
 #      ReportByDevice false
 #      ReportReserved false
 #      ReportInodes false
-#</Plugin>
+</Plugin>
 
 #<Plugin disk>
 #      Disk "hda"
@@ -508,6 +507,26 @@ LoadPlugin users
 #      </Instance>
 #</Plugin>
 
+#<Plugin modbus>
+#      <Data "data_name">
+#              RegisterBase 1234
+#              RegisterType float
+#              Type gauge
+#              Instance "..."
+#      </Data>
+#
+#      <Host "name">
+#              Address "addr"
+#              Port "1234"
+#              Interval 60
+#
+#              <Slave 1>
+#                      Instance "foobar" # optional
+#                      Collect "data_name"
+#              </Slave>
+#      </Host>
+#</Plugin>
+
 #<Plugin mysql>
 #      <Database db_name>
 #              Host "database.serv.er"
@@ -682,6 +701,12 @@ LoadPlugin users
 #              </Result>
 #      </Query>
 #
+#      <Writer sqlstore>
+#              # See /usr/share/doc/collectd-core/examples/postgresql/collectd_insert.sql for details
+#              Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
+#              StoreRates true
+#      </Writer>
+#
 #      <Database foo>
 #              Host "hostname"
 #              Port 5432
@@ -701,6 +726,13 @@ LoadPlugin users
 #              Query backend # predefined
 #              Query rt36_tickets
 #      </Database>
+#
+#      <Database qux>
+#              Service "collectd_store"
+#              Writer sqlstore
+#              # see collectd.conf(5) for details
+#              CommitInterval 30
+#      </Database>
 #</Plugin>
 
 #<Plugin powerdns>