summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/root
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2010-11-18 18:08:23 +0000
committerManuel Munz <freifunk@somakoma.de>2010-11-18 18:08:23 +0000
commit9c8d860e69ee8781d0f00db805cf1038763782f4 (patch)
treec4bdd8f61ad98ee22590c214c80919dee8bf7e82 /applications/luci-statistics/root
parent895c65738100e29ce28ec9e65d060ce8e7cb3952 (diff)
applications/luci-statistics: Add ping interval option, closes #136
Diffstat (limited to 'applications/luci-statistics/root')
-rw-r--r--applications/luci-statistics/root/etc/config/luci_statistics1
-rwxr-xr-xapplications/luci-statistics/root/usr/bin/stat-genconfig2
2 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-statistics/root/etc/config/luci_statistics b/applications/luci-statistics/root/etc/config/luci_statistics
index fe3a1cba9..ea0ae6d89 100644
--- a/applications/luci-statistics/root/etc/config/luci_statistics
+++ b/applications/luci-statistics/root/etc/config/luci_statistics
@@ -15,6 +15,7 @@ config 'statistics' 'collectd'
config 'statistics' 'collectd_ping'
option 'enable' '0'
option 'TTL' '127'
+ option 'Interval' '30'
option 'Hosts' '127.0.0.1'
config 'statistics' 'collectd_csv'
diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig
index 8bd6262ef..4c396ff05 100755
--- a/applications/luci-statistics/root/usr/bin/stat-genconfig
+++ b/applications/luci-statistics/root/usr/bin/stat-genconfig
@@ -330,7 +330,7 @@ plugins = {
network = config_network,
ping = {
- { "TTL" },
+ { "TTL", "Interval" },
{ },
{ "Hosts" }
},