-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Plugin TCPConns
Florian Forster edited this page Nov 21, 2023
·
1 revision
Name: | TCPConns plugin |
---|---|
Type: | read |
Callbacks: | config, init, read |
Status: | supported |
FirstVersion: | 4.2 |
Copyright: | 2007–2008 Florian octo Forster, 2008 Michael Stapelberg |
License: | GPLv2, BSD License |
Manpage: | collectd.conf(5) |
See also: | List of Plugins |
The TCPConns plugin counts the number of TCP connections to or from a specified port. Typically the connections where you specify the local port are incoming connections while the connections where you specify the remote port are outgoing connections.
<Plugin "tcpconns">
ListeningPorts false
LocalPort "25"
RemotePort "25"
</Plugin>
<Plugin "tcpconns">
ListeningPorts false
LocalPort "25"
LocalPort "22"
</Plugin>
<Plugin "tcpconns">
ListeningPorts true
</Plugin>
<Plugin "tcpconns">
AllPortsSummary true
</Plugin>
- Linux
-
/proc
-file system
-
- Mac OS X (possibly also other *BSDs)
sysctlbyname(3)