I am an individual user and not very network-savvy (so please bear with me). I have installed Beszel (server monitoring) on all my LAN devices and use it to monitor my self-hosted setup. The agent runs on my MikroTik hAP ax^3 as a container on the VETH beszel. It provides me with CPU, memory, disk and temperature data. As for the network, it monitors the traffic of its own interface, which is better than nothing but far from what I would expect from it. I would like to monitor the WAN traffic (ether1). I suppose I could reach that goal by mirroring interface ether1 to beszel.
My first question is: is this the right action to achieve my goal ?
If it is, would someone be patient enough to explain me how to achieve this ? And are there security consequences of replicating the WAN traffic on another interface ?
Thank you
EDIT: I suppose the port mirroring (if it is the correct solution) would be achieved by
It seems that only physical interfaces car be set as targets for mirroring.
Second attempt.
Set the beszel veth on a 192.168.1.2 address with gateway 192.168.1.1 and NAT port 45876 to 192.168.1.2. It works as before (interface traffic is monitored). If I try and set the beszel veth on the main (bridge) bridge, I loose any monitoring.
I have tried setting up SNMP solutions, but they are huge, complex and heavy on (my limited) resources, and I just would like to monitor 1 index, that is WAN traffic (KB transmitted, KB received). Since I use Beszel on my different devices and it runs on RouterOS as a container, I thought there might be a way to use it for that index, involving mirroring or not. But I could not figure out how.
I have set up the beszel-snmp container. It can “see” the hub but the hub cannot “see” it. I have set the hub to look for it at port 6655. Do you think you can troubleshoot me?
EDIT: I hadn’t understood that I had to install the forked hub. Since it doesn’t seem to be maintained, I prefer sticking to the master branch.