Reset Traffic Totals Not Working
-
Good day...
I wanted to reset the data showing in the Status_Traffic_Totals package, but nothing does it. I have done the following...
Disabled Graphing
Reset Graphing Data
Uninstalled / Reinstalled The PackageSo is this a bug, or am I missing something?
Thanks,
Steven -
Hello,
Once you have uninstalled the package, you can check if the file vnstat.db is still present.
The file is in /var/db/vnstsat/
If yes, you delete it and reinstall the package.
Yann. -
Thanks for the idea, but all my history still shows... Looks like that deleted my hourly totals, but all my daily and monthly data is still there...
-
@YannTKO I just deleted everything in the vnstat folder and it all reset. There was a file in there for every interface. So far, it seems that didn't break anything else.
Thanks again, and stay safe out there...
-
@YannTKO Thanks for this hint, I have reinstalled the package after a year and I was unable to get rid of old data. Uninstalling, wiping the db vnstat folder and reinstalling the package did the trick. Thanks.
-
issue created: https://redmine.pfsense.org/issues/11069