summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e5c84e)
raw | patch | inline | side by side (parent: 4e5c84e)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 29 Aug 2014 15:07:18 +0000 (17:07 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 8 Sep 2014 09:41:52 +0000 (11:41 +0200) |
src/collectd.conf.in | patch | blob | history | |
src/collectd.conf.pod | patch | blob | history |
diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index 0875d50eaf2341a1d55be76d9cd47a0f894a60e1..7c9860f0378c6caf587aeb50490c72f40abc5dba 100644 (file)
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
#AutoLoadPlugin false
#----------------------------------------------------------------------------#
-# When enabled, some internal statistics are recorded as values #
+# When enabled, internal statistics are collected, using "collectd" as the #
+# plugin name. #
# Disabled by default. #
#----------------------------------------------------------------------------#
#CollectInternalStats false
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 2f75c14835891b9adb9385b9a84a2a1a7d9a1bbd..cabbb526cb863162f0e40797a23d5bf29676d21f 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
@@ -146,6 +146,18 @@ B<E<lt>PluginE<nbsp>...E<gt>> block acts as if it was immediately preceded by a
B<LoadPlugin> statement. B<LoadPlugin> statements are still required for
plugins that don't provide any configuration, e.g. the I<Load plugin>.
+=item B<CollectInternalStats> B<false>|B<true>
+
+When set to B<true>, various statistics about the I<collectd> daemon will be
+collected, with "collectd" as the I<plugin name>. Defaults to B<false>.
+
+The "write_queue" I<plugin instance> reports the number of elements currently
+queued and the number of elements dropped off the queue by the
+B<WriteQueueLimitLow>/B<WriteQueueLimitHigh> mechanism.
+
+The "cache" I<plugin instance> reports the number of elements in the value list
+cache (the cache you can interact with using L<collectd-unixsock(5)>).
+
=item B<Include> I<Path> [I<pattern>]
If I<Path> points to a file, includes that file. If I<Path> points to a
the I<Threshold> configuration to dispatch notifications about missing values,
see L<collectd-threshold(5)> for details.
-=item B<CollectInternalStats> I<true|false>
-
-Some internal statistics can be recorded to monitor Collectd itself.
-Default value : false.
-
=item B<ReadThreads> I<Num>
Number of threads to start for reading plugins. The default value is B<5>, but
unset, the latter will default to half of B<WriteQueueLimitHigh>.
If you do not want to randomly drop values when the queue size is between
-I<LowNum> and I<HighNum>, set If B<WriteQueueLimitHigh> and
-B<WriteQueueLimitLow> to same value.
+I<LowNum> and I<HighNum>, set B<WriteQueueLimitHigh> and B<WriteQueueLimitLow>
+to the same value.
+
+Enabling the B<CollectInternalStats> option is of great help to figure out the
+values to set B<WriteQueueLimitHigh> and B<WriteQueueLimitLow> to.
=item B<Hostname> I<Name>