[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'
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(-)
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
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 ;)
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,
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.
ForceUseProcfs true # default is false (prefer new sysfs interface)
Device "THRM" # default: no selection (include all devices found)
IgnoreSelected true # default is false
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