From: Florian Forster Date: Sun, 5 Nov 2006 17:27:13 +0000 (+0100) Subject: sensors plugin: Improved the documentation in the sample configfile and the `collectd... X-Git-Tag: collectd-3.11.0~59 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=994f35f120c06728701ecdc3b0691c804cb324b7;p=collectd.git sensors plugin: Improved the documentation in the sample configfile and the `collectd.conf(5)' manpage. --- diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 0d63dffe..f74a1185 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -83,27 +83,20 @@ # Process name # +## There are two different naming schemes for the sensors plugin, to preserver +## backwards compatibility. The `extended naming' is prefered, but not the +## default for this reason. See `collectd.conf(5)' for more information. # -## Collect only required sensors. -## -## Default sensors and .rrd files names -## compatible with old .rrd files (temp and fan). -## # ExtendedSensorNaming false # Sensor it8712-temp1 # Sensor it8712-fan3 # Sensor it8712-in8 -## -## Extended sensors and .rrd files names break compatibility -## with previous naming and .rrd files, -## see collectd.conf(5) for detailed information. -## +## -- OR -- # ExtendedSensorNaming true # Sensor it8712-isa-0290/temperature-temp1 # Sensor it8712-isa-0290/fanspeed-fan3 # Sensor it8712-isa-0290/voltage-in8 -## -## Reverse sensors sellection? +# # IgnoreSelected false # diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 86fcf296..aae7356b 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -232,30 +232,30 @@ Sets the Time-To-Live of generated ICMP packets. =item B I|I -If set to I this option switches on the extended sensors -and RRD files naming. +If set to I this option switches on the extended sensors and RRD-files +naming. This option exists to preserve backwards compatibility. It is +recommended that you set this option to I. The default is I to +maintain compatibility only. -Sensors get names like I -(e.g. I) and RRD files are therefore -stored in a standalone directory inside the B directory and get -names like I -(e.g. I). +Sensors get names like I (e.g. +I) and RRD files are therefore stored in a +standalone directory inside the B directory and get names like +I (e.g. +I). The B option breaks the compatibility with previous sensors and RRD files naming and the place where RRDs are stored. If you turn it on, the plugin will create new RRD files in a standalone directory inside -the B directory and without previous history. You can rename -previous RRD files to the new ones to continue collecting data into the same -RRDs. - -If not set or set to I, the extended naming is not active. Sensors -get names like I (e.g. I) and RRD files -are stored in the main B directory and get names like -I (e.g. I). -You simply continue using the plugin the old way and additionally also -getting data for newly added sensors in this mode. - -Default setting is I. +the B directory and without previous history. You can rename ``old'' +RRD-files to preserve already collected statistics, because the file layout +hasn't changed. If you have two chips of the same type, you need to use +B in order to collect information from both chips. + +If not set or set to I, the extended naming is not active. Sensors get +names like I (e.g. I) and RRD files are stored in the +main B directory and get names like I (e.g. +I). You simply continue using the plugin the old way +and additionally also getting data for newly added sensors in this mode. =item B I or B I