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

Florian Forster octo at verplant.org
Thu Jun 12 07:28:08 CEST 2008


 configure.in    |    4 +
 src/Makefile.am |    8 ++
 src/thermal.c   |  305 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 317 insertions(+), 0 deletions(-)

New commits:
commit 2004f542b364535189083476f1395107e40c5f44
Author: Michał Mirosław <mirq-linux at rere.qmqm.pl>
Date:   Wed Jun 11 23:38:14 2008 +0200

    thermal plugin: Linux ACPI thermal zone plugin
    
    Hello Florian,
    
    On Wed, Jun 11, 2008 at 02:19:14PM +0200, Florian Forster wrote:
    > On Mon, Jun 09, 2008 at 08:33:23PM +0200, Michał Mirosław wrote:
    > > Here's temperature monitoring plugin using Linux ACPI thermal zone
    > > data from /sys/class/thermal/ or /proc/acpi/thermal_zone/.
    > thank you very much for your patch :)
    > I have a few (minor) requests for changes though ;)
    [cut]
    
    I updated the patch basing on your suggestions. You probably can use
    the 'walk_directory()' function in other plugins. And it would be
    useful to have some standard functions to use in config callback
    like boolean entry parser or common ignorelist entry names/parser.
    I could send a patch for some cleanups if nobody is working on that,
    yet.
    
    Best Regards,
    Michał Mirosław
    
    ACPI thermal zone plugin for collectd 4.4.1
    
    Here's temperature monitoring plugin using Linux ACPI thermal zone
    data from /sys/class/thermal/ or /proc/acpi/thermal_zone/. Since
    this is the same source of data, only first directory found is used.
    
    Plugin configuration:
    
    <Plugin thermal>
    	ForceUseProcfs true	# default is false (prefer new sysfs interface)
            Device "THRM"		# default: no selection (include all devices found)
    	IgnoreSelected true	# default is false
    </Plugin>
    
    Signed-off-by: Michał Mirosław <mirq-linux at rere.qmqm.pl>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>




More information about the collectd-changes mailing list