I'm running Openwrt 21.02.1 on an Archer C7 V5. Everything okay so far.
I've installed zram-swap to ease the small amount of RAM (128 MB). In order to watch the usage of the swap device I installed collectd-mod-swap.
But nothing happened. Under Statistics/Setup there's no entry for the swap plugin nor under Statistics/Graphs a graph.
As next step I created the file /etc/collectd/conf.d/swap.conf with the following content:
LoadPlugin swap <Plugin swap> ReportByDevice true </Plugin>
Now the swap plugin is loaded,
Dec 5 14:42:39 daemon.err collectd: plugin_load: plugin "swap" successfully loaded.
but furthermore I have no entry under Statistics/Setup nor a graph under Statistics/Graphs.
I verified, that collectd is collecting data for the swap device,
-rw-r--r-- 1 root root 70604 05.12.2021 14:54:30 /tmp/rrdata/H2O-PIANO/swap-dev_zram0/swap-free.rrd -rw-r--r-- 1 root root 70604 05.12.2021 14:54:30 /tmp/rrdata/H2O-PIANO/swap-dev_zram0/swap-used.rrd
but there is no graphical representation.
I suspect, that I'm missing something, but I don't know what. Can anybody give me a helping hand?