diff options
Diffstat (limited to 'applications/luci-statistics')
3 files changed, 11 insertions, 1 deletions
diff --git a/applications/luci-statistics/files/etc/config/luci_statistics b/applications/luci-statistics/files/etc/config/luci_statistics index 777f237b7..64beddb91 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 9de8e1788..2b2e19dca 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" }, + { }, + { } + }, + } diff --git a/applications/luci-statistics/src/model/menu/70luci-statistics.lua b/applications/luci-statistics/src/model/menu/70luci-statistics.lua index 99429af53..bc36d7122 100644 --- a/applications/luci-statistics/src/model/menu/70luci-statistics.lua +++ b/applications/luci-statistics/src/model/menu/70luci-statistics.lua @@ -27,5 +27,5 @@ act( "processes", "Prozesse" ) --act( "tail", "Dateiverfolgung" ) --act( "teamspeak2", "TeamSpeak 2" ) act( "tcpconns", "TCP Verbindungen" ) ---act( "unixsock", "UNIX Sockets" ) +act( "unixsock", "UNIX Socket" ) --act( "vmem", "Vmem" ) |