From 1a8d4c4ac69199590c487e996ae5565b77459b8e Mon Sep 17 00:00:00 2001 From: Robbin C Date: Fri, 30 Oct 2015 15:26:35 +0800 Subject: [PATCH] collectd: Enable SMART plugin --- pkgs/tools/system/collectd/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/collectd/default.nix b/pkgs/tools/system/collectd/default.nix index d1214d3c163e..ff64b54b9857 100644 --- a/pkgs/tools/system/collectd/default.nix +++ b/pkgs/tools/system/collectd/default.nix @@ -4,6 +4,7 @@ , curl ? null , iptables ? null , jdk ? null +, libatasmart ? null , libcredis ? null , libdbi ? null , libgcrypt ? null @@ -25,6 +26,7 @@ , rabbitmq-c ? null , riemann ? null , rrdtool ? null +, udev ? null , varnish ? null , yajl ? null }: @@ -38,10 +40,10 @@ stdenv.mkDerivation rec { }; buildInputs = [ - pkgconfig curl iptables libcredis libdbi libgcrypt libmemcached cyrus_sasl - libmodbus libnotify gdk_pixbuf liboping libpcap libsigrok libvirt + pkgconfig curl iptables libatasmart libcredis libdbi libgcrypt libmemcached + cyrus_sasl libmodbus libnotify gdk_pixbuf liboping libpcap libsigrok libvirt lm_sensors libxml2 lvm2 mysql.lib postgresql protobufc rabbitmq-c rrdtool - varnish yajl jdk libtool python + varnish yajl jdk libtool python udev ]; # for some reason libsigrok isn't auto-detected