From: Pierre Lebleu Date: Tue, 9 Jul 2019 13:56:26 +0000 (+0200) Subject: UBI plugin: add documentation X-Git-Tag: collectd-5.11.0~34^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85b87890acfe6fd7fb925736b0ed76e010020169;p=thirdparty%2Fcollectd.git UBI plugin: add documentation Update the README, the collectd.conf.in and collectd.conf.pod --- diff --git a/README b/README index f28d49922..15c1de3b0 100644 --- a/README +++ b/README @@ -428,6 +428,10 @@ Features Reads CPU frequency and C-state residency on modern Intel turbo-capable processors. + - ubi + Reads the count of bad physical eraseblocks and the current + maximum erase counter value on UBI volumes. + - uptime System uptime statistics. diff --git a/src/collectd.conf.in b/src/collectd.conf.in index f09f373d3..c3a27d84d 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -1602,6 +1602,11 @@ # RunningAveragePowerLimit "7" # +# +# Device "ubi0" +# IgnoreSelected false +# + # # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock" # SocketGroup "collectd" diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index ed49195e4..91dd6cc5d 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -8973,6 +8973,38 @@ L =back +=head2 Plugin C + +The I collects some statistics about the UBI (Unsorted Block Image). +Values collected are the number of bad physical eraseblocks on the underlying MTD +(Memory Technology Device) and the maximum erase counter value concerning one volume. + +See following links for details: + +L +L +L + +=over 4 + +=item B I + +Select the device I of the UBI volume. Whether it is collected or ignored +depends on the B setting, see below. + +See F for details. + +=item B B|B + +Sets whether selected devices, i.Ee. the ones matches by any of the B +statements, are ignored or if all other devices are ignored. If no B option +is configured, all devices are collected. If at least one B is given and no +B or set to B, B matching disks will be collected. If +Bis set to B, all devices are collected B the ones +matched. + +=back + =head2 Plugin C =over 4