* ffluci/statistics: add cbi model for unixsock plugin

This commit is contained in:
Jo-Philipp Wich 2008-05-21 04:34:13 +00:00
parent f90684f321
commit 97ff6fa3e9
3 changed files with 11 additions and 1 deletions

View file

@ -106,3 +106,7 @@ config 'statistics' 'collectd_tcpconns'
option 'ListeningPorts' '0' option 'ListeningPorts' '0'
option 'LocalPorts' '22 80 443' option 'LocalPorts' '22 80 443'
config 'statistics' 'collectd_unixsock'
option 'enable' '1'
option 'SocketFile' '/var/run/collectd-query.sock'

View file

@ -271,6 +271,12 @@ plugins = {
{ "LocalPorts", "RemotePorts" } { "LocalPorts", "RemotePorts" }
}, },
unixsock = {
{ "SocketFile", "SocketUser", "SocketPerms" },
{ },
{ }
},
} }

View file

@ -27,5 +27,5 @@ act( "processes", "Prozesse" )
--act( "tail", "Dateiverfolgung" ) --act( "tail", "Dateiverfolgung" )
--act( "teamspeak2", "TeamSpeak 2" ) --act( "teamspeak2", "TeamSpeak 2" )
act( "tcpconns", "TCP Verbindungen" ) act( "tcpconns", "TCP Verbindungen" )
--act( "unixsock", "UNIX Sockets" ) act( "unixsock", "UNIX Socket" )
--act( "vmem", "Vmem" ) --act( "vmem", "Vmem" )