You can do that with the Telegraf plug-in sending the data to Grafana and then building your own graphs.
What's wrong with using an external solution where you can get the results in the format you want? You can do that with the Telegraf plug-in sending the data to Grafana and then building your own graphs, I do.
require 'config.php'; require 'localize.php'; require 'vnstat.php';
require_once("/usr/local/www/guiconfig.inc"); require 'config.php'; require 'localize.php'; require 'vnstat.php';
Have a look at the first few lines of index.php in your vnstat folder.....Code: [Select] require_once("/usr/local/www/guiconfig.inc");....
require_once("/usr/local/www/guiconfig.inc");