Skip to content

Commit 04b7cd5

Browse files
committed
Configurable 'disable by default interfaces matching' option in netdata.conf
1 parent 159fe03 commit 04b7cd5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

defaults/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,3 +238,9 @@ netdata_errors_flood_protection_period: 1200
238238

239239
# Defines when to trigger flood proctection
240240
netdata_errors_to_trigger_flood_protection: 200
241+
242+
# Defines network interfaces to be ignored
243+
netdata_disable_by_default_interfaces_matching:
244+
- "lo"
245+
- "fireqos*"
246+
- "*-ifb"

templates/netdata.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
# fifo for all interfaces = auto
377377
# compressed packets for all interfaces = auto
378378
# frames, collisions, carrier counters for all interfaces = auto
379-
# disable by default interfaces matching = lo fireqos* *-ifb
379+
disable by default interfaces matching = {{ netdata_disable_by_default_interfaces_matching|join(' ') }}
380380
# filename to monitor = /proc/net/dev
381381

382382
[plugin:proc:/proc/net/dev:enp0s8]

0 commit comments

Comments
 (0)