]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
collectd: add option for sensors plugin
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 5 Nov 2013 15:48:09 +0000 (16:48 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 5 Nov 2013 21:24:14 +0000 (22:24 +0100)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/collectd/Config.in
package/collectd/collectd.mk

index 2059198d10eee021e5605e1a274065d5dc49568d..81231622480344eea69487d8aa55cb1385d10123 100644 (file)
@@ -277,6 +277,12 @@ config BR2_PACKAGE_COLLECTD_PROTOCOLS
        help
          Collects information about the network protocols.
 
+config BR2_PACKAGE_COLLECTD_SENSORS
+       bool "sensors"
+       select BR2_PACKAGE_LM_SENSORS
+       help
+         Collects data from lm-sensors.
+
 config BR2_PACKAGE_COLLECTD_SERIAL
        bool "serial"
        help
index 55a388ca535953d9cac16dbbde9a70ab25eadf6a..e7dc093555d461baf6471b0f51f31cdd48bfd496 100644 (file)
@@ -18,7 +18,7 @@ COLLECTD_PLUGINS_DISABLE = amqp apple_sensors aquaero ascent dbi email \
                memcachec modbus multimeter netapp netlink nginx \
                notify_desktop notify_email numa nut onewire oracle perl pf \
                pinba postgresql powerdns python redis routeros rrdcached \
-               sensors sigrok tape target_v5upgrade teamspeak2 ted \
+               sigrok tape target_v5upgrade teamspeak2 ted \
                tokyotyrant uuid varnish vserver write_mongodb write_redis \
                xmms zfs_arc
 
@@ -74,6 +74,7 @@ COLLECTD_CONF_OPT += --with-nan-emulation --with-fp-layout=nothing \
        $(if $(BR2_PACKAGE_COLLECTD_RIEMANN),--enable-write_riemann,--disable-write_riemann) \
        $(if $(BR2_PACKAGE_COLLECTD_RRDTOOL),--enable-rrdtool,--disable-rrdtool) \
        $(if $(BR2_PACKAGE_COLLECTD_SCALE),--enable-target_scale,--disable-target_scale) \
+       $(if $(BR2_PACKAGE_COLLECTD_SENSORS),--enable-sensors,--disable-sensors) \
        $(if $(BR2_PACKAGE_COLLECTD_SERIAL),--enable-serial,--disable-serial) \
        $(if $(BR2_PACKAGE_COLLECTD_STATSD),--enable-statsd,--disable-statsd) \
        $(if $(BR2_PACKAGE_COLLECTD_SET),--enable-target_set,--disable-target_set) \
@@ -108,6 +109,7 @@ COLLECTD_DEPENDENCIES = host-pkgconf \
        $(if $(BR2_PACKAGE_COLLECTD_PING),liboping) \
        $(if $(BR2_PACKAGE_COLLECTD_RIEMANN),protobuf-c) \
        $(if $(BR2_PACKAGE_COLLECTD_RRDTOOL),rrdtool) \
+       $(if $(BR2_PACKAGE_COLLECTD_SENSORS),lm-sensors) \
        $(if $(BR2_PACKAGE_COLLECTD_SNMP),netsnmp) \
        $(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),libcurl)