Is there a way that will record the traffic every hour for everyday and save it in the database in vnstat ?

mmalik15

New Member
Credits
13
I am running vnstat on a teltonika (rut950) lte router for 6 days. I want to monitor the hourly traffic. When I export the database with vnstat --exportdb > vnstat_db I only get hourly records from last 24 hours, not for all 6 days. Is there a way that records all the hours for everyday and save it to the database?
 


khedger

Member
Credits
759
I don't know anything about vnstat, but is it not possible to setup a command or script to run the export everynight at 23:59:59 and build a cumulative database?
Also, looking at the man page there appears to be a -d or --days option....

keith
 


Members online


Latest posts

Top