contrib/collection3: Added the ability to `flush' data sets.
authorFlorian Forster <octo@noris.net>
Tue, 19 Aug 2008 14:58:43 +0000 (16:58 +0200)
committerFlorian Forster <octo@noris.net>
Tue, 19 Aug 2008 14:58:43 +0000 (16:58 +0200)
commit2bbd3e134282628fb609abeee34f0884c1759e6a
tree53c305e1c779b923672e6ee7bce140ca62459ada
parentda111db2cdcee585415f1508dc412833c9f74ccc
contrib/collection3: Added the ability to `flush' data sets.

Both, bin/index.cgi and bin/graph.cgi can now send a FLUSH command to
the daemon via the Collectd::Unixsock module. For this to work you will
have to add the path to the UNIX socket of the `unixsock' plugin to the
configuration file `collection.conf'.

The configuration looks like this:
  UnixSockAddr "/var/run/collectd-unixsock"
contrib/collection3/bin/graph.cgi
contrib/collection3/bin/index.cgi
contrib/collection3/etc/collection.conf
contrib/collection3/lib/Collectd/Graph/Common.pm