vnstat-dashboard
vnstat-dashboard copied to clipboard
A responsive web UI to view network traffic statistics provided by vnStat (with support for version 2.x)
errors
Fatal error: Uncaught Exception: JSON is invalid in /var/www/html/includes/vnstat.php:60 Stack trace: #0 /var/www/html/includes/vnstat.php(44): vnStat->processVnstatData('') #1 /var/www/html/index.php(27): vnStat->__construct('/usr/bin/vnstat') #2 {main} thrown in /var/www/html/includes/vnstat.php on line 60
Since vntstat Version 2.0 (https://humdi.net/vnstat/CHANGES) the command in line 87 `--dumpdb` of file `vnstat.php` will not longer work: `$vnstatDS = popen("$path --dumpdb -i $interface", "r");`
In the codes it says `require __DIR__ . '/vendor/autoload.php';` but it doesn't exist
More an FYI, my version of vnstat does not dump the interface name as an id , rather it is name. my version is vnStat 2.6
If the traffic is over 1000 GB a day it would write that out as "1,000.00" which isn't valid javascript and would break the frontend graph. Make sure to not...
Sorry, I realise this could be quite a big ask but figured it was worth asking just in case. Would it be possible to have a version of this without...
Hi, I'm trying running vnstat-dashboard locally on my Ubuntu 10.20 machine. Unfortunately I have an issue: ``` ela@akacja:/var/www/vnstat$ composer install Composer could not find a composer.json file in /var/www/vnstat To...
hi, Using your Docker. Vnstat compiled from sources: vnStat 2.4 by Teemu Toivola Here's my config file: // Disable error reporting to screen /*ini_set('display_errors', 0); error_reporting(E_ALL);*/ // Set the default...
Current PHP version: 7.2.16-1+0~20190307202206.17+jessie~1.gbpa7be82 Debian GNU/Linux 8.11 (jessie) when i enter the gui i get: Notice: Undefined index: id in /var/www/vnstat/includes/vnstat.php on line 81 Notice: Undefined index: id in /var/www/vnstat/includes/vnstat.php...
On some versions of the OS (for example, Debian), the array is sorted in the reverse order