summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/root
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-statistics/root')
-rw-r--r--applications/luci-statistics/root/etc/config/luci_statistics4
-rwxr-xr-xapplications/luci-statistics/root/usr/bin/stat-genconfig6
2 files changed, 10 insertions, 0 deletions
diff --git a/applications/luci-statistics/root/etc/config/luci_statistics b/applications/luci-statistics/root/etc/config/luci_statistics
index a1e6a6b86b..5267a02626 100644
--- a/applications/luci-statistics/root/etc/config/luci_statistics
+++ b/applications/luci-statistics/root/etc/config/luci_statistics
@@ -131,3 +131,7 @@ config 'statistics' 'collectd_olsrd'
config 'statistics' 'collectd_iwinfo'
option 'enable' '1'
+
+config 'statistics' 'collectd_nut'
+ option 'enable' '0'
+ option 'UPS' 'myupsname'
diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig
index 4cf39460ef..0a9fa1ab33 100755
--- a/applications/luci-statistics/root/usr/bin/stat-genconfig
+++ b/applications/luci-statistics/root/usr/bin/stat-genconfig
@@ -357,6 +357,12 @@ plugins = {
network = config_network,
+ nut = {
+ { "UPS" },
+ { },
+ { }
+ },
+
olsrd = {
{ "Host", "Port", "CollectLinks","CollectRoutes","CollectTopology"},
{ },