diff options
Diffstat (limited to 'applications/luci-statistics/files')
-rw-r--r-- | applications/luci-statistics/files/etc/config/luci_statistics | 4 | ||||
-rwxr-xr-x | applications/luci-statistics/files/usr/bin/stat-genconfig | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/applications/luci-statistics/files/etc/config/luci_statistics b/applications/luci-statistics/files/etc/config/luci_statistics index 777f237b70..64beddb91e 100644 --- a/applications/luci-statistics/files/etc/config/luci_statistics +++ b/applications/luci-statistics/files/etc/config/luci_statistics @@ -106,3 +106,7 @@ config 'statistics' 'collectd_tcpconns' option 'ListeningPorts' '0' option 'LocalPorts' '22 80 443' +config 'statistics' 'collectd_unixsock' + option 'enable' '1' + option 'SocketFile' '/var/run/collectd-query.sock' + diff --git a/applications/luci-statistics/files/usr/bin/stat-genconfig b/applications/luci-statistics/files/usr/bin/stat-genconfig index 9de8e1788f..2b2e19dcad 100755 --- a/applications/luci-statistics/files/usr/bin/stat-genconfig +++ b/applications/luci-statistics/files/usr/bin/stat-genconfig @@ -271,6 +271,12 @@ plugins = { { "LocalPorts", "RemotePorts" } }, + unixsock = { + { "SocketFile", "SocketUser", "SocketPerms" }, + { }, + { } + }, + } |