diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-12-11 13:27:37 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-12-11 13:27:37 +0000 |
commit | 5a54cc575a7c5f5ec1a671051faec51e15b3b215 (patch) | |
tree | 7b36d96303b134623a869d8d3f79eabfb6403f94 /applications/luci-statistics/root | |
parent | 2138efa4bdbf2751a918878c886cdba3dde7f5a0 (diff) |
Add NUT UPS support to luci-statistics
Diffstat (limited to 'applications/luci-statistics/root')
-rw-r--r-- | applications/luci-statistics/root/etc/config/luci_statistics | 4 | ||||
-rwxr-xr-x | applications/luci-statistics/root/usr/bin/stat-genconfig | 6 |
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"}, { }, |