Show which NIC is being monitored, and provide the possibility to choose which NICs to monitor #94
Replies: 5 comments 5 replies
-
The agent logs the interfaces it uses when it starts up, so look there if you're curious. There's a very basic check to exclude some interfaces, but it's not perfect, so I'm planning to add an env var to whitelist interfaces at some point. |
Beta Was this translation helpful? Give feedback.
-
After migrating from my existing Ubuntu to a new Debian server, the configuration for LACP is a bit different when working with VLANS. My server has 2 NICs, enp1s0 and enp2s0. Together they form a bond0 interface, but this interface is actually sub-interfaced as bond0.30. This is the only interface that has an IP address (besides lo0 of course0. The beszel-agent log detects the first physical, and the bond0 interface:
But the bandwidth graph remains at 0 at all times, because traffic is actually going via bond0.30. |
Beta Was this translation helpful? Give feedback.
-
And after about one minute:
Yes the agent is running on network_mode: host |
Beta Was this translation helpful? Give feedback.
-
Let me know if you have any trouble with it 👍 |
Beta Was this translation helpful? Give feedback.
-
Looking good! I only whitelisted my bond0 interface, so the graph is even more correct now :) Before: around 1,5Mb/s. After: around 0,5Mb/s. |
Beta Was this translation helpful? Give feedback.
-
For example, my server is connected with two network interface adapters, eno0 and eno1. Both of them are configured and connected via LACP, creating a virtual bond0 interface. Starting a VPN creates yet another virtual interface.
Right now it's not exactly clear which of the NICs is being monitored.
Beta Was this translation helpful? Give feedback.
All reactions