From ea59c5de2e3061c8d61b29d29c2f6c693b5e52b9 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 13 May 2008 14:41:35 +0200 Subject: [PATCH] collectd-unixsock(5): Updated the FLUSH documentation. --- src/collectd-unixsock.pod | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/collectd-unixsock.pod b/src/collectd-unixsock.pod index 971cb36d..1e00baf3 100644 --- a/src/collectd-unixsock.pod +++ b/src/collectd-unixsock.pod @@ -183,19 +183,25 @@ Example: -> | PUTNOTIF type=temperature severity=warning time=1201094702 message=The roof is on fire! <- | 0 Success -=item B [BI] [BI [...]] +=item B [BI] [BI [...]] [BI [...]] Flushes all cached data older than I seconds. If no timeout has been -specified, it defaults to -1 which causes all data to be flushed. B -may be specified multiple times - each occurrence applies to plugins listed -afterwards. +specified, it defaults to -1 which causes all data to be flushed. -If specified, only specific plugins are flushed. Otherwise all plugins -providing a flush callback are flushed. +If the B option has been specified, only the I plugin will be +flushed. You can have multiple B options to flush multiple plugins in +one go. If the B option is not given all plugins providing a flush +callback will be flushed. + +If the B option is given only the specified values will be flushed. +This is meant to be used by graphing or displaying frontends which want to have +the lastest values for a specific graph. Again, you can specify the +B option multiple times to flush several values. If this option is +not specified at all, all values will be flushed. Example: - -> | FLUSH - <- | 0 Done + -> | FLUSH plugin=rrdtool identifier=localhost/df/df-root identifier=localhost/df/df-var + <- | 0 Done: 2 successful, 0 errors =back -- 2.11.0