[OpenWrt-Devel] [PATCH] collectd: enable nut plugin

David Woodhouse dwmw2 at infradead.org
Thu Sep 17 06:48:59 EDT 2015


Signed-off-by: David Woodhouse <David.Woodhouse at 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 --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,))
-- 
2.4.3

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5691 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150917/3550e046/attachment.bin>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list