author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 14 Jun 2016 05:44:35 +0000 (07:44 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 14 Jun 2016 05:45:14 +0000 (07:45 +0200) |
1 | 2 | |||
---|---|---|---|---|
src/collectd-email.pod | patch | | diff1 | | diff2 | | blob | history |
src/collectd-exec.pod | patch | | diff1 | | diff2 | | blob | history |
src/collectd-perl.pod | patch | | diff1 | | diff2 | | blob | history |
src/collectd-python.pod | patch | | diff1 | | diff2 | | blob | history |
src/collectd.conf.pod | patch | | diff1 | | diff2 | | blob | history |
src/collectd.pod | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/collectd-email.pod
Simple merge
diff --cc src/collectd-exec.pod
Simple merge
diff --cc src/collectd-perl.pod
index 7308648fbe6346484f1273688d535339bf32e7d6,02563066de232a0c013859b482b8328a1a5f4301..0102e9216d39e1bd685fe49de5b92f707da50d16
+++ b/src/collectd-perl.pod
=over 4
- =item
+ =item *
Please feel free to send in new plugins to collectd's mailing list at
-E<lt>collectdE<nbsp>atE<nbsp>verplant.orgE<gt> for review and, possibly,
+E<lt>collectdE<nbsp>atE<nbsp>collectd.orgE<gt> for review and, possibly,
inclusion in the main distribution. In the latter case, we will take care of
keeping the plugin up to date and adapting it to new versions of collectd.
diff --cc src/collectd-python.pod
index 0da891f1e47b5aa3dc14eabb7f97fc6b0d7dfc45,8564ae77e8c0210d9e47ac373743b54ee8c8ffff..773a6cd4b7919b1d950794c63b49dc401e43a4c1
+++ b/src/collectd-python.pod
or a callback function. The identifier will be constructed in the same way as
for the register functions.
- =item B<flush>(I<plugin>[, I<timeout>][, I<identifier>]) -> None
+=item B<get_dataset>(I<name>) -> I<definition>
+
+Returns the definition of a dataset specified by I<name>. I<definition> is a list
+of tuples, each representing one data source. Each tuple has 4 values:
+
+=over 4
+
+=item name
+
+A string, the name of the data source.
+
+=item type
+
+A string that is equal to either of the variables B<DS_TYPE_COUNTER>,
+B<DS_TYPE_GAUGE>, B<DS_TYPE_DERIVE> or B<DS_TYPE_ABSOLUTE>.
+
+=item min
+
+A float or None, the minimum value.
+
+=item max
+
+A float or None, the maximum value.
+
+=back
+
+ =item B<flush>(I<plugin[, timeout][, identifier]) -> None
Flush one or all plugins. I<timeout> and the specified I<identifiers> are
passed on to the registered flush-callbacks. If omitted, the timeout defaults
=over 4
- =item
+ =item *
Please feel free to send in new plugins to collectd's mailing list at
-E<lt>collectdE<nbsp>atE<nbsp>verplant.orgE<gt> for review and, possibly,
+E<lt>collectdE<nbsp>atE<nbsp>collectd.orgE<gt> for review and, possibly,
inclusion in the main distribution. In the latter case, we will take care of
keeping the plugin up to date and adapting it to new versions of collectd.
diff --cc src/collectd.conf.pod
index c8c4813d897eed68316a4c113a9f31b2d84a129b,f85c7e799291354756f04ce53c022cfd386fb147..e5a5c754327b84c507bf7531ed31eebf6c67a9e3
+++ b/src/collectd.conf.pod
=back
- =item
+=head2 Plugin C<conntrack>
+
+This plugin collects IP conntrack statistics.
+
+=over 4
+
+=item B<OldFiles>
+
+Assume the B<conntrack_count> and B<conntrack_max> files to be found in
+F</proc/sys/net/ipv4/netfilter> instead of F</proc/sys/net/netfilter/>.
+
+=back
+
+=head2 Plugin C<cpu>
+
+The I<CPU plugin> collects CPU usage metrics. By default, CPU usage is reported
+as Jiffies, using the C<cpu> type. Two aggregations are available:
+
+=over 4
+
- =item
++=item *
+
+Sum, per-state, over all CPUs installed in the system; and
+
++=item *
+
+Sum, per-CPU, over all non-idle states of a CPU, creating an "active" state.
+
+=back
+
+The two aggregations can be combined, leading to I<collectd> only emitting a
+single "active" metric for the entire system. As soon as one of these
+aggregations (or both) is enabled, the I<cpu plugin> will report a percentage,
+rather than Jiffies. In addition, you can request individual, per-state,
+per-CPU metrics to be reported as percentage.
+
+The following configuration options are available:
+
+=over 4
+
+=item B<ReportByState> B<true>|B<false>
+
+When set to B<true>, the default, reports per-state metrics, e.g. "system",
+"user" and "idle".
+When set to B<false>, aggregates (sums) all I<non-idle> states into one
+"active" metric.
+
+=item B<ReportByCpu> B<true>|B<false>
+
+When set to B<true>, the default, reports per-CPU (per-core) metrics.
+When set to B<false>, instead of reporting metrics for individual CPUs, only a
+global sum of CPU states is emitted.
+
+=item B<ValuesPercentage> B<false>|B<true>
+
+This option is only considered when both, B<ReportByCpu> and B<ReportByState>
+are set to B<true>. In this case, by default, metrics will be reported as
+Jiffies. By setting this option to B<true>, you can request percentage values
+in the un-aggregated (per-CPU, per-state) mode as well.
+
+=back
+
=head2 Plugin C<cpufreq>
This plugin doesn't have any options. It reads
diff --cc src/collectd.pod
Simple merge