How do u get your IPv6 stats? Usually, I would use /proc/net/snmp6
. Felix wrote a patch (target/linux/generic/hack-5.4/902-debloat_proc.patch
) that disables the snmp6 stats (I think it was written for snmp in general and fails to disable snmp6 completely). So I can just disable the CONFIG_PROC_STRIPPED
flag. Is there another way?
I wrote two exporters for the /proc/net/snmp6
interface. (the collectd stuff is not tested right now and just exports the ipv6 in/out traffic).
- https://github.com/openwrt/packages/pull/14158
- https://github.com/PolynomialDivision/collectd-fork/commit/370016bd40f38019733834977ad046316a7b5b72
This is just the overall sum throughput. I will add interface based statistics in a later stage.
I have no better, idea how to get this statistics?