Been waiting more than 4 years for a release with this.. Let's stop
waiting and switch to the now 4 year old HEAD of the main branch.
Many DSA switches will not produce useful statistics in the
/proc/net/dev file used by default. It contains interfaces counters
associated with the DSA slave ports, which counts traffic between the
external ports and the CPU port. The usual expectation from snmp
on a switch is that it returns the actual switched traffic per port.
This is often exported using driver specific or phy specific ethtool
counters.
This update brings the ability to pull the per port snmp counters from
configurable ethtool counters.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
The implementation of mini_snmpd is based on a number of fixed size arrays
for simplicity and efficiency. This limits the number of ports which can
be monitored. The default is as low as 8, which makes the package
unsuitable for many switches.
Make the size of these arrays a build time configuration add some package
variants for switches or other devices with more than 8 ports
Signed-off-by: Bjørn Mork <bjorn@mork.no>