vnstat-php
vnstat-php copied to clipboard
PHP frontend for vnStat
Hallo DASPRiD, as you can see in the example image, the labels near the vertical axes are the following: 10, 19, 29, 38, 48, 57, 67, 76 MBytes and so...
Running vnStat 2.6, I am able to see data through the command line, and --json is returning what appears to be valid data. However graphs for eth0 however summary, hours,...
Fatal error: Uncaught Error: Call to undefined function Vnstat\json_decode() in /var/www/html/Vnstat/Database.php:78 Stack trace: #0 /var/www/html/index.php(20): Vnstat\Database->__construct('enp38s0') #1 {main} thrown in /var/www/html/Vnstat/Database.php on line 78

Would be super to have these two functionlities, as VnStat supports an live View and the fiveminutes data.
- Fix so that the hourly data is correctly displayed (old code expected id = hour but that was not true which made the result show up randomly. - Added...
Would be pretty nice to have that, perhaps with a drop down similar to the interface name drop down?