[collectd-changes] collectd, the system statistics collection daemon: Changes to 'ad/msg2'

Florian Forster octo at verplant.org
Wed Sep 29 18:21:29 CEST 2010


New branch 'ad/msg2' available with the following commits:
commit 095343a8980eda2627455ed94f266e3d59dc527e
Author: Florian Forster <octo at noris.net>
Date:   Wed Sep 29 18:21:13 2010 +0200

    src/utils_threshold.c: Cleanups.

commit 93ab34867bd3cee089135446f57b438a0a1035c2
Author: Florian Forster <octo at noris.net>
Date:   Wed Sep 29 18:02:01 2010 +0200

    src/utils_{cache,threshold}.c: Don't replace %{data_source} and %{value} …
    
    … if the value is missing.

commit 13e1d170b1ce9d8289fb041a5c6382985a0e772c
Author: Florian Forster <octo at noris.net>
Date:   Wed Sep 29 17:59:48 2010 +0200

    src/utils_cache.c: Minor cleanups.

commit 3bde7865d5719abe7bd3c70f9b6492d202f6f4e0
Author: Florian Forster <octo at noris.net>
Date:   Wed Sep 29 17:47:19 2010 +0200

    src/utils_cache.c: Improve a couple of comments.

commit ba4b24567e4dc5a5e3182a187912aaa3e8d10b54
Author: Andres J. Diaz <ajdiaz at connectical.com>
Date:   Sun Jun 13 15:19:01 2010 +0200

    Add custom message for threshold and missings.
    
    Hi everybuddy
    
    Add two new options in thresholds, the Message which can define a custom
    message for thresholds and MissingMessage, which define a custom message for
    missing interesting values related with that threshold.
    
    This work is heavly based on previously custom message patch publishded by
    Taizo ITO on Mar-2010 [1]. The code was modify to add more patterns and keep
    compatibility with target_notification syntax. Also now we have
    a MissingMessage too.
    
    The pattern matching code was moved to a new function in utils_threshold.c
    (ut_build_message) which create the message string.
    
    New patterns:
    
    	%{ds:<name>} returns values for ds called "name", as target_notification
    	does.
    	%{value} return the offending value for the threshold.
    	%{data_source} return the datasource name for offending value
    	%{hysteresis} return the hysteresis parameter value
    	%{hits} return the hits parameter value
    
    [1] http://www.mail-archive.com/collectd@verplant.org/msg00569.html
    
    Thanks again to Taizo for the previously work :)
    
    Enjoy!




More information about the collectd-changes mailing list