diff options
author | Nick Hainke <vincent@systemli.org> | 2020-12-09 21:17:47 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-12-22 19:11:50 +0100 |
commit | 4943bc5cff47a482c3010033e04c6d489a4b733c (patch) | |
tree | ca7fd40d7f5139c584551a038acf71522a99de25 /tools | |
parent | 9361964a3a330882ddb1ed60eec127821f350014 (diff) | |
download | upstream-4943bc5cff47a482c3010033e04c6d489a4b733c.tar.gz upstream-4943bc5cff47a482c3010033e04c6d489a4b733c.tar.bz2 upstream-4943bc5cff47a482c3010033e04c6d489a4b733c.zip |
kernel: only strip proc for small flash devices
Currently, you are not able to get statistics about IPv4 and IPv6
usage. This information can be collected via the snmp and snmp6.
However, in the current state this interface is disabled as you can
read in the "902-debloat_proc.patch":
"Strip non-essential /proc functionality to reduce code size"
Tools like netstat use the snmp/6 interface to collect interface
statistics. Some prometheus exporters also mention this:
- prometheus-collectors/netstat.lua
- prometheus-collectors/snmp6 (still a PR)
- collectd/snmp6 (still a PR)
PRs:
- https://github.com/collectd/collectd/pull/3789
- https://github.com/openwrt/packages/pull/14158
Instead of enabling it as default for all devices we condition it
default y if SMALL_FLASH
A test shows it needs around 16 kiB.
Signed-off-by: Nick Hainke <vincent@systemli.org>
[fixed whitespace issue]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions