summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/root
diff options
context:
space:
mode:
authorsoma <freifunk@somakoma.de>2014-10-10 10:52:41 +0200
committersoma <freifunk@somakoma.de>2014-10-10 10:52:41 +0200
commitccdc6535a9e1eefa109bc491a204e32281d13063 (patch)
tree368c96c3b641deec54289ee4e76fc930e37d596e /applications/luci-statistics/root
parentda022f91576d066e063e7988b0f2a92794705465 (diff)
add support for splash leases plugin
Diffstat (limited to 'applications/luci-statistics/root')
-rw-r--r--applications/luci-statistics/root/etc/config/luci_statistics3
-rwxr-xr-xapplications/luci-statistics/root/usr/bin/stat-genconfig6
2 files changed, 9 insertions, 0 deletions
diff --git a/applications/luci-statistics/root/etc/config/luci_statistics b/applications/luci-statistics/root/etc/config/luci_statistics
index 1bbe76ce21..e39db3513a 100644
--- a/applications/luci-statistics/root/etc/config/luci_statistics
+++ b/applications/luci-statistics/root/etc/config/luci_statistics
@@ -98,6 +98,9 @@ config 'statistics' 'collectd_processes'
option 'enable' '1'
option 'Processes' 'uhttpd dnsmasq dropbear'
+config statistics 'collectd_splash_leases'
+ option enable '1'
+
config 'statistics' 'collectd_tcpconns'
option 'enable' '1'
option 'ListeningPorts' '0'
diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig
index 46d23a67a7..86773b4e58 100755
--- a/applications/luci-statistics/root/usr/bin/stat-genconfig
+++ b/applications/luci-statistics/root/usr/bin/stat-genconfig
@@ -387,6 +387,12 @@ plugins = {
{ "RRATimespans" }
},
+ splash_leases = {
+ { },
+ { },
+ { }
+ },
+
tcpconns = {
{ },
{ "ListeningPorts" },