B
B
Bonio2017-05-30 21:46:59
linux
Bonio, 2017-05-30 21:46:59

VnStat error in traffic calculation?

VnStat on the openwrt router today gave out some incredible statistics with millions of terabytes (the last line in the screenshot). Before that it worked fine. How can this be fixed? How to reset statistics for a specific day? I do not want to drop the entire base because of this.bc3068ad48f844da8a778b67116a3d91.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
Ulrich, 2017-05-31
@Bonio

VnStat is a rather buggy product. I caught such a glitch when synchronizing time on the server. When I understood what was happening, I began to stop the vnstat service, synchronize time, start vnstat
Check if time synchronization is enabled on the router
To edit the database, you can first export it using --exportdb (--xml or --json), change and then import back with --importdb

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question