diff mbox

[OpenWrt-Devel] collectd: enable nut plugin

Message ID 1442486939.131189.130.camel@infradead.org
State Rejected
Headers show

Commit Message

David Woodhouse Sept. 17, 2015, 10:48 a.m. UTC
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
---
For trunk; a separate patch has a minor change to make it apply to CC.

 utils/collectd/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile
index 03f3001..04b1e6d 100644
--- a/utils/collectd/Makefile
+++ b/utils/collectd/Makefile
@@ -60,7 +60,6 @@  COLLECTD_PLUGINS_DISABLED:= \
 	notify_desktop \
 	notify_email \
 	numa \
-	nut \
 	openldap \
 	openvz \
 	oracle \
@@ -126,6 +125,7 @@  COLLECTD_PLUGINS_SELECTED:= \
 	network \
 	nginx \
 	ntpd \
+	nut \
 	olsrd \
 	onewire \
 	openvpn \
@@ -318,7 +318,7 @@  $(eval $(call BuildPlugin,netlink,netlink input,netlink,+PACKAGE_collectd-mod-ne
 $(eval $(call BuildPlugin,network,network input/output,network))
 $(eval $(call BuildPlugin,nginx,nginx status input,nginx,+PACKAGE_collectd-mod-nginx:libcurl))
 $(eval $(call BuildPlugin,ntpd,NTP daemon status input,ntpd,))
-#$(eval $(call BuildPlugin,nut,UPS monitoring input,nut,+PACKAGE_collectd-mod-nut:nut))
+$(eval $(call BuildPlugin,nut,UPS monitoring input,nut,+PACKAGE_collectd-mod-nut:nut))
 $(eval $(call BuildPlugin,olsrd,OLSRd status input,olsrd,))
 $(eval $(call BuildPlugin,onewire,onewire sensor input,onewire,+PACKAGE_collectd-mod-onewire:libow-capi @BROKEN))
 $(eval $(call BuildPlugin,openvpn,OpenVPN traffic/compression input,openvpn,))