Netdata: Large number of Network Interfaces

Created on 13 Apr 2016  路  3Comments  路  Source: netdata/netdata

We have a box that builds applications using docker. We end of creating and destroying close to 100 containers a day, or even more. The problem I am seeing is the veth device that gets created for the container, which lives no longer then 5 min on average, is still present on the UI. This causes an issue with the webpage when it tries to load over 100 interfaces.

Is there a way we could set an exclude list, such that netdata will not monitor devices that start with veth? Or is is possible to turn of Network Interfaces completely?

question

Most helpful comment

You have several options (set in /etc/netdata/netdata.conf):

  1. Turn off network interfaces completely by setting this:

[plugin:proc] /proc/net/dev = no

  1. Turn off all network interfaces except the ones you have enabled in the configuration:

[plugin:proc:/proc/net/dev] enable new interfaces detected at runtime = no

To enable a few interfaces, use this (for each interface, in this example eth0):

[plugin:proc:/proc/net/dev:eth0] enabled = yes

All 3 comments

You have several options (set in /etc/netdata/netdata.conf):

  1. Turn off network interfaces completely by setting this:

[plugin:proc] /proc/net/dev = no

  1. Turn off all network interfaces except the ones you have enabled in the configuration:

[plugin:proc:/proc/net/dev] enable new interfaces detected at runtime = no

To enable a few interfaces, use this (for each interface, in this example eth0):

[plugin:proc:/proc/net/dev:eth0] enabled = yes

@ktsaou , that worked perfectly! Thanks for the info! There are sooo many things in the conf file, going to take a while to get it all.

There are sooo many things in the conf file, going to take a while to get it all.

That was the idea. To have many options to tweak when you need to, but nothing to configure when the default are just right...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dankott picture dankott  路  3Comments

gino picture gino  路  3Comments

ktsaou picture ktsaou  路  3Comments

csadam picture csadam  路  3Comments

ibnesayeed picture ibnesayeed  路  3Comments