I'm a fairly new user to OpenWRT and now LEDE. I got a Linksys WRT1200AC router and installed LEDE on it, which is mostly running great. However, one of the things I'm missing from my Asus Router before is network/traffic statistics.
So I installed luci-app-statistics. Which is almost what I want feature-wise and seems to work fine for some time after installation (a few hours). I'm writing the traffic data to an sdcard that is mounted at boot time.
After some time though, none of my graphs contain data. Sometimes only my tun0 (OpenVPN interface) graph shows some data (so its not like nothing works). But not eth1, nor cpu, nor thermal, etc. All are empty. A reboot does not change this.
Uninstalling the package and its dependencies fixes it for a few hours.
I'm wondering if it has to do with my OpenVPN interface in some way, maybe everything stops working when the the tun0 interface goes down because of a disconnect?
I also tried luci-app-nlbwmon. Very limited feature set, but it would meet my needs. Also configured to save data files on an sdcard mounted at boot. Works great - until I need to reboot. Then it will not re-read old data and start counting from zero (even though the data file is still present on the sdcard).
I also tried nvstat. This is not really all that suited to my needs, but it mostly works. However, when I rebooted today, a new date appeared in my graphs: "09/10/23". No idea where that comes from or how to get rid of it. Since it's "more recent" than the current date, it shows up in most graphs - and I don't know how to remove it.
If anyone has a clue as to what I am doing wrong, I'm open for ideas or hints. As far as I can tell, my data storage is working fine, files are there and timestamps are regularly updated. LEDE version is 17.01.4.
edit: now that I wrote this down, I'm starting to think that maybe that ominous date of "09/10/23" is playing a role with all my problems here? Maybe that's why luci-app-statistics refuses to show data at some point, because that date gets inserted into the statistics somewhere? Where could I start looking for this?