Skip to content

Commit 322b63b

Browse files
authored
Merge pull request #134 from magenbrot/master
Add AllPortsSummary option to collectd tcpconns
2 parents f07c2b3 + fac681d commit 322b63b

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,11 @@ Enables and configures the syslog plugin.
180180

181181
Enables and configures the tail plugin.
182182

183+
``collectd.tcpconns``
184+
-------------------
185+
186+
Enables and configures the tcpconns plugin.
187+
183188
``collectd.types``
184189
-------------------
185190

collectd/files/tcpconns.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ LoadPlugin tcpconns
1010

1111
<Plugin "tcpconns">
1212
ListeningPorts {{ collectd_settings.plugins.tcpconns.listening_ports | lower }}
13+
AllPortsSummary {{ collectd_settings.plugins.tcpconns.all_ports_summary | lower }}
1314
{%- for local_port in collectd_settings.plugins.tcpconns.local_ports %}
1415
LocalPort "{{ local_port }}"
1516
{%- endfor %}

collectd/map.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@
193193
},
194194
'tcpconns': {
195195
'listening_ports': 'true',
196+
'all_ports_summary': 'false',
196197
'local_ports': [],
197198
'remote_ports': []
198199
},

pillar.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ collectd:
226226
ReportByCpu: false
227227
tcpconns:
228228
listening_ports: 'true'
229+
all_ports_summary: 'false'
229230
local_ports: []
230231
remote_ports: []
231232
openvpn:

0 commit comments

Comments
 (0)