Question: Network monitoring with vnStat
I am using vnStat to monitor network bandwidth on a Debian host that has several Docker containers. Because of the containers, there are several interfaces in addition to eth0.
My question is, should I just monitor eth0 instead of looking at all the bridge and virtual interfaces to get the actual usage because at the end of the day, everything goes through eth0? Or am I looking at this wrong?
Sample output:
<span style="color:#323232;"> rx / tx / total / estimated
</span><span style="color:#323232;"> br-1ee235bc0b60:
</span><span style="color:#323232;"> 2024-03 13.56 MiB / 97.42 MiB / 110.98 MiB / 391.02 GiB
</span><span style="color:#323232;"> today 13.56 MiB / 97.42 MiB / 110.98 MiB / 112.54 MiB
</span><span style="color:#323232;">
</span><span style="color:#323232;"> br-2ce98d77a35a:
</span><span style="color:#323232;"> 2024-03 0 B / 0 B / 0 B / --
</span><span style="color:#323232;"> today 0 B / 0 B / 0 B / --
</span><span style="color:#323232;">
</span><span style="color:#323232;"> docker0:
</span><span style="color:#323232;"> 2024-03 0 B / 0 B / 0 B / --
</span><span style="color:#323232;"> today 0 B / 0 B / 0 B / --
</span><span style="color:#323232;">
</span><span style="color:#323232;"> eth0:
</span><span style="color:#323232;"> 2024-03 98.03 MiB / 15.04 MiB / 113.07 MiB / 398.37 GiB
</span><span style="color:#323232;"> today 98.03 MiB / 15.04 MiB / 113.07 MiB / 114.66 MiB
</span>