diff options
Diffstat (limited to 'applications/luci-statistics/files')
-rw-r--r-- | applications/luci-statistics/files/etc/config/luci_statistics | 9 | ||||
-rwxr-xr-x | applications/luci-statistics/files/usr/bin/stat-genconfig | 12 |
2 files changed, 21 insertions, 0 deletions
diff --git a/applications/luci-statistics/files/etc/config/luci_statistics b/applications/luci-statistics/files/etc/config/luci_statistics index 19e39c720e..777f237b70 100644 --- a/applications/luci-statistics/files/etc/config/luci_statistics +++ b/applications/luci-statistics/files/etc/config/luci_statistics @@ -97,3 +97,12 @@ config 'collectd_network_listen' config 'collectd_network_server' option 'host' '0.0.0.0' +config 'statistics' 'collectd_processes' + option 'enable' '1' + option 'Processs' 'olsrd tincd bmxd' + +config 'statistics' 'collectd_tcpconns' + option 'enable' '1' + option 'ListeningPorts' '0' + option 'LocalPorts' '22 80 443' + diff --git a/applications/luci-statistics/files/usr/bin/stat-genconfig b/applications/luci-statistics/files/usr/bin/stat-genconfig index f5a3529ae8..eb0688764b 100755 --- a/applications/luci-statistics/files/usr/bin/stat-genconfig +++ b/applications/luci-statistics/files/usr/bin/stat-genconfig @@ -241,6 +241,18 @@ plugins = { network = config_network, + processes = { + { }, + { }, + { "Processs" } + }, + + tcpconns = { + { }, + { "ListeningPorts" }, + { "LocalPorts", "RemotePorts" } + }, + } |