From: Marc Fournier Date: Tue, 24 Mar 2015 06:00:35 +0000 (+0100) Subject: Merge branch 'collectd-5.3' into collectd-5.4 X-Git-Tag: collectd-5.5.0~12^2~11 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=491b8f0185c63c662bb3f395630a6d8b9913b49e Merge branch 'collectd-5.3' into collectd-5.4 Conflicts: contrib/redhat/collectd.spec src/collectd.conf.pod --- 491b8f0185c63c662bb3f395630a6d8b9913b49e diff --cc src/collectd.conf.pod index 3c599ebd,f5130307..0c346ca7 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@@ -76,33 -70,16 +76,32 @@@ directory for the daemon =item B I -Loads the plugin I. There must be at least one such line or B -will be mostly useless. +Loads the plugin I. This is required to load plugins, unless the +B option is enabled (see below). Without any loaded plugins, +I will be mostly useless. -Starting with collectd 4.9, this may also be a block in which further options -affecting the behavior of B may be specified. The following -options are allowed inside a B block: +Only the first B statement or block for a given plugin name has any +effect. This is useful when you want to split up the configuration into smaller +files and want each file to be "self contained", i.e. it contains a B +block I then appropriate B statement. The downside is that if +you have multiple conflicting B blocks, e.g. when they specify +different intervals, only one of them (the first one encountered) will take +effect and all others will be silently ignored. - - Interval 10 - +B may either be a simple configuration I or a I +with additional options, affecting the behavior of B. A simple +statement looks like this: + + LoadPlugin "cpu" + +Options inside a B block can override default settings and +influence the way plugins are loaded, e.g.: + + - Globals true + Interval 60 + + +The following options are valid inside B blocks: =over 4