Hello,
I'm not sure how much are you maintaining this project.
vnstat from version 2.0 doesn't support command vnstat --dumpdb as it is currently required for your frontend to fill the data from vnstat.
Here is the ticket and suggestion from vnstat maintainer: vergoh/vnstat#141
Seems that the best option would be using command:
vnstat --json
which exports data to json format and then to parse it properly.
What is your opinion?
I know, you may answer - "well, try to fix it yourself" . Maybe, not sure/not much time at the moment.
Thanks.
All the best,
Frank
Hello,
I'm not sure how much are you maintaining this project.
vnstat from version 2.0 doesn't support command
vnstat --dumpdbas it is currently required for your frontend to fill the data from vnstat.Here is the ticket and suggestion from
vnstatmaintainer: vergoh/vnstat#141Seems that the best option would be using command:
vnstat --jsonwhich exports data to json format and then to parse it properly.
What is your opinion?
I know, you may answer - "well, try to fix it yourself" . Maybe, not sure/not much time at the moment.
Thanks.
All the best,
Frank