[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'

Florian Forster octo at verplant.org
Mon Jul 6 18:59:56 CEST 2009


 src/collectd.conf.pod |    7 ++++
 src/utils_threshold.c |   96 ++++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 87 insertions(+), 16 deletions(-)

New commits:
commit bacc5b925ea8c63eb57dc4b55f4b4abbe1b1d07c
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Jul 6 18:57:54 2009 +0200

    src/utils_threshold.c: Change the percentage code so it works with the DataSource option.
    
    The percentage code used to *always* check the first data source. With this
    patch, the code honors the `DataSource' option again, checking only the
    configured data sources if applicable.

commit 1f6c7a61f6984dc1734838508ed385e92cafc000
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Jul 6 18:24:20 2009 +0200

    collectd.conf(5): Document the new `Percentage' option.

commit 67ec8995fea6158e13946b4d4ae51ee715fd823a
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Jul 6 18:16:30 2009 +0200

    src/utils_threshold.c: Fix a typo.

commit 79dee3a21d6aaca1b06ea65673dff858538f2ba6
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Jul 6 18:15:47 2009 +0200

    src/utils_threshold.c: Add a percent sign to the minimum value, too.

commit f49370d16f2b7f1bb9bdf5c6ebc990827c657801
Author: Andrés J. Díaz <ajdiaz at connectical.com>
Date:   Mon Jul 6 17:53:03 2009 +0200

    src/utils_threshold.c: Percentage support in thresholds
    
    Hi all!
    
    I attach a patch to add percentage support in thresholds, like this example:
    
    <Threshold>
      <Type df>
       WarningMax 90
       Percentage true
     </Type>
    </Threshold>
    
    The percentage option works like collectd-nagios, that is, calculate the
    percentage of the value of the first DS over the total. For df plugin,
    for example,
    calculate the percentage of the "used" DS.
    
    Bugs and suggestions are welcome :)
    
    Enjoy!
    
    Regards,
      Andres




More information about the collectd-changes mailing list