summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fcb3cbf)
raw | patch | inline | side by side (parent: fcb3cbf)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 5 Jul 2010 18:09:04 +0000 (20:09 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 5 Jul 2010 18:09:04 +0000 (20:09 +0200) |
src/collectd.conf.pod | patch | blob | history | |
src/network.c | patch | blob | history |
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index d7cad071d5867b0891c7eb06e874373120fcfadc..01f0f824374b5199953e330f07a90d2317345ac5 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
necessary it's not a huge problem since the plugin has a duplicate detection,
so the values will not loop.
-=item B<CacheFlush> I<Seconds>
-
-For each host/plugin/type combination the C<network plugin> caches the time of
-the last value being sent or received. Every I<Seconds> seconds the plugin
-searches and removes all entries that are older than I<Seconds> seconds, thus
-freeing the unused memory again. Since this process is somewhat expensive and
-normally doesn't do much, this value should not be too small. The default is
-1800 seconds, but setting this to 86400 seconds (one day) will not do much harm
-either.
-
=item B<ReportStats> B<true>|B<false>
The network plugin cannot only receive and send statistics, it can also create
diff --git a/src/network.c b/src/network.c
index 457637be8aa16b9203d4a473cbc6f3f0891faa4e..73e6d92d2cf197cd55175b6fc8ee9a0c24b55915 100644 (file)
--- a/src/network.c
+++ b/src/network.c
network_config_set_boolean (child, &network_config_forward);
else if (strcasecmp ("ReportStats", child->key) == 0)
network_config_set_boolean (child, &network_config_stats);
- else if (strcasecmp ("CacheFlush", child->key) == 0)
- /* no op for backwards compatibility only */;
else
{
WARNING ("network plugin: Option `%s' is not allowed here.",