Comment on Fix vnstat error “eth0: Not enough data available yet.” on Debian GNU / Linux by Andy.
ok,, I ran into a problem being that the vnstat -l would work fine
but everything else would show not enough data yet,
For Centos edit this two files
vi /etc/init.d/vnstat
(near top / note your system usr folder if it is “bin” or “sbin”)
VNSTATD_BIN=/usr/bin/vnstatd
then
vi /etc/cron.d/vnstat
*/5 * * * * vnstat /usr/bin/vnstat.cron
(just like the first time check on your system if it is “bin” or “sbin”)
editing these two files will make your vnstat generate data right away