bjd/vnstat-php-frontend — pull request #10 by sgissinger (2012-05-27 17:27:31+00:00)
Title: Live Monitoring added

I added vnstat live monitoring into sidebar to this frontend.
On page reload, you only need to reclic on Start to relaunch polling, data are kept between page changes.

Datas and pid of vnstat are kept in temp files and vnstat -l is launch using timeout of 1h to avoid too much large temp files. It take about 1mo for 1 hour of data collection.

Multi interface is also supported but I didn't test interfaces with space inside their names only eth0, eth1, lo, etc for now.
And I also added some locale but not for every key I use.