[collectd] [PATCH] collectd.conf(5), collectd.conf: Added the thermal plugin.

Sebastian Harl sh at tokkee.org
Mon Jun 23 22:53:03 CEST 2008


Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 src/collectd.conf.in  |    7 +++++++
 src/collectd.conf.pod |   26 ++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index 1b5696b..e76f997 100644
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
@@ -63,6 +63,7 @@ FQDNLookup   true
 @BUILD_PLUGIN_TAPE_TRUE at LoadPlugin tape
 @BUILD_PLUGIN_TCPCONNS_TRUE at LoadPlugin tcpconns
 @BUILD_PLUGIN_TEAMSPEAK2_TRUE at LoadPlugin teamspeak2
+ at BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
 @BUILD_PLUGIN_UNIXSOCK_TRUE at LoadPlugin unixsock
 @BUILD_PLUGIN_USERS_TRUE at LoadPlugin users
 @BUILD_PLUGIN_UUID_TRUE at LoadPlugin uuid
@@ -353,6 +354,12 @@ FQDNLookup   true
 #	Server "8767"
 #</Plugin>
 
+#<Plugin thermal>
+#	ForceUseProcfs false
+#	Device "THRM"
+#	IgnoreSelected false
+#</Plugin>
+
 #<Plugin unixsock>
 #	SocketFile "@prefix@/var/run/@PACKAGE_NAME at -unixsock"
 #	SocketGroup "collectd"
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index df5f242..107b3af 100644
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
@@ -1402,6 +1402,32 @@ port in numeric form.
 
 =back
 
+=head2 Plugin C<thermal>
+
+=over 4
+
+=item B<ForceUseProcfs> I<true>|I<false>
+
+By default, the C<thermal> plugin tries to read the statistics from the Linux
+C<sysfs> interface. If that is not available, the plugin falls back to the
+C<procfs> interface. By setting this option to I<true>, you can force the
+plugin to use the latter. This option defaults to I<false>.
+
+=item B<Device> I<Device>
+
+Selects the name of the thermal device that you want to collect or ignore,
+depending on the value of the B<IgnoreSelected> option. This option may be
+used multiple times to specify a list of devices.
+
+=item B<IgnoreSelected> I<true>|I<false>
+
+Invert the selection: If set to true, all devices B<except> the ones that
+match the device names specified by the B<Device> option are collected. By
+default only selected devices are collected if a selection is made. If no
+selection is configured at all, B<all> devices are selected.
+
+=back
+
 =head2 Plugin C<unixsock>
 
 =over 4
-- 
1.5.6.rc2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080623/4197afec/attachment.pgp 


More information about the collectd mailing list