How can I remove old graphs in luci-app-statistics


I’ve installed OpenWrt on a Raspberry Pi 4b and set up graphing however after making some config changes I’m seeing old graphs that I don’t want to see anymore as I have disabled them via the web-front end. I’ve also attempted to disable them via the config which broke graphing and I had to revert to the old one.

For example, I’ve unchecked the wireless plug-in via the web-console, but the graphs still appear.

And just then I ran chmod -R 777 /mnt/graphs (which is where I’ve configured luci-app-statistics to store/access the graphs) and now the graphs simply don’t load at all.

I just fixed this after disabling "Report by CPU" in Processor. I had the new combined processor usage graph, but the old graphs for each CPU core were still showing up.

To get rid of the old graphs, I deleted /tmp/rrd/hostname/cpu-0 and /tmp/rrd/hostname/cpu-1

Rebooting the router would also have fixed this since these files are stored in RAM.

1 Like